nanopolish: Tutorial on README seems wrong
I keep getting the error: variants: too many arguments when I follow the tutorial in the README.md about using parallel.
For example:
python {params.makerangescript} {input.fasta} | \
parallel --results {params.results} -P 1 \
nanopolish variants --consensus \
-o {params.vcfs}.{{1}}.vcf \
-w {{1}} \
-r {input.reads} \
-b {input.bam} \
-g {input.fasta} \
-t {threads} \
--min-candidate-frequency 0.1
follows the README.md, but the help prompt now says this about --consensus: --consensus=FILE run in consensus calling mode and write polished sequence to FILE.
It seems like the command line usage has changed a little bit, and I was wondering if you could clarify the correct usage of nanopolish with parallel? Thank you!
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (8 by maintainers)
Hi,
The command should be:
(note the
-oafter--consensus)For your other questions:
-P 8means to polish 8 segments of the genome at once (the total number of threads used will be 8 x $threads)0.2.Jared