HudsonAlpha / fmlrc2

Apache License 2.0
43 stars 5 forks source link

"error: Found argument '21' which wasn't expected, or isn't valid in this context" When attempting FMLRC2 in Eukaryote Mode #30

Closed jwalewski closed 1 year ago

jwalewski commented 1 year ago

Hello, while trying to run FMLRC2 in eukaryote mode inside of a shell script I keep getting an error relating to the fact that there are seemingly too many (3) values for k when 2 are expected:

Here's the command I'm running, which worked perfectly fine before specifying k:

fmlrc2 –min_frac 0 -t $NUMPROCS -C $CACHE_SIZE −k 21 59 80 -- $MSBWTPATH$RESEQREADNAME$RESEQREAD_COV_MIN"Xv"$actual_RES_version_num"_msbwtindex.npy" $PACBIOREADPATH$PACBIOREADNAME$PACBIOREAD_COV_MIN"Xv"$actual_PB_version_num".fq.gz" $OUTPUTREADPATH$RESEQREADNAME$RESEQREAD_COV_MIN"Xv"$actual_RES_version_num"_"$PACBIOREADNAME$PACBIOREAD_COV_MIN"Xv"$actual_PB_version_num".fa"

Any insight would be greatly appreciated!

holtjma commented 1 year ago

Assuming this is verbatim copied from your script, I think it is as simple as missing the double-dash and label for min_frac, e.g. --min_dynamic_count (or if you want abbreviated, -f).

jwalewski commented 1 year ago

That solved the issue, thanks!