Drop-seq: Dropulation execution errors

Hello,

I’m having trouble getting dropulation in Drop-seq v3.0.0 and v3.0.1 to work. For v3.0.0 I receive the errors when I try to run:

AssignCellsToSamples: 40: Syntax error: "(" unexpected

and for v3.0.1 I get the following error:

Illegal argument value: Positional arguments were provided ',barcodes.tsv}' but no positional argument is defined for this tool.

I’m not sure if this is an issue on my end or is an issue that anyone trying to use these functions will come across. I’m using java v21 and building in a singularity image - Ubuntu 20.04. Happy to provide more details to help resolve the issue.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 21 (7 by maintainers)

Most upvoted comments

I don’t mind either way honestly - I’m happy to move to using the OPTION=value. I just want it to be easy and clear for other users as well. I’ll update the docs on my end to reflect this so anyone using it through Demuxafy shouldn’t run into any issues. But maybe in the next release the docs could be updated to use the old-school nomenclature in the help sections of each command?

Hi @drneavin, I was wondering if that would solve the problem. We still use the old-school OPTION=value style that I won’t go into the history of. A bad decision I made ~15 years ago.

Anyway, I think there is another solution if you want to use the --OPTION style: If you put -- immediately after the AssignCellsToSamples and before any of the -OPTIONs, that will tell the shell getopt command not to get involved. I.e.

AssignCellsToSamples -- --CELL_BC_FILE $BARCODES \
            --INPUT_BAM $OUTDIR/../../v2.1.0/output/dropulation/possorted_genome_bam_dropulation_tag.bam \
            --OUTPUT $DROPULATION_OUTDIR/assignments.tsv.gz \
            --VCF $OUTDIR/../../v2.1.0/output/dropulation/invcf.gz \
            --SAMPLE_FILE $INDS \
            --CELL_BARCODE_TAG 'CB' \
            --MOLECULAR_BARCODE_TAG 'UB' \
            --VCF_OUTPUT $DROPULATION_OUTDIR/assignment.vcf \
            --MAX_ERROR_RATE 0.05 \
            --TMP_DIR $DROPULATION_OUTDIR 

Thanks @mschilli87! Glad we’re both dedicated to getting this to work!

And I think I’ve sorted it out 😄 . It seems that passing arguments as --VARIABLE <variable> doesn’t work with v3.0.1. The parameters have to be passed as VARIABLE=<variable> instead. It should be noted that v2.5.4 allowed for the --VARIABLE passing and that the help options indicate that’s how they should be passed still. We should either plan to revert it back to the previous ability or update the docs and the help menu. Probably the latter because it will match the other Drop-seq commands from my understanding

I’ll leave this open so we can discuss and decide on the possible options for the parameter passing

Yes, I noticed that as well (the comma and the brace). But I double checked all my variables and none of them have a comma or a brace in them. Let me know if there’s something else I can check? Would be great to get this working so I can include v3.0.1 in the next version of Demuxafy