Skip to content

Commit

Permalink
fix bug in miniasm rule
Browse files Browse the repository at this point in the history
  • Loading branch information
pmenzel committed Jan 25, 2024
1 parent bac81b2 commit 8b731e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ Unicycler does a hybrid assembly, i.e., both ONT and Illumina reads must be pres
### Canu

**`canu`**
The Canu assembler requires to know the genome size (in Megabases) beforehand, use Snakemake option: `--config genome_size=5.2` (e.g. for 5.2 Mb)
The Canu assembler requires to know the genome size (in Megabases) beforehand, use Snakemake option: `--config genome_size=5.2` (e.g. for 5.2 Mb)
NB: Canu can take a long time to complete the assembly, up to several hours!

### racon
Following keywords can be used to polish an assembly using ONT reads:
Expand Down
2 changes: 1 addition & 1 deletion Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ rule miniasm:
shell:
"""
minimap2 -x ava-ont -t {threads} {input} {input} > {output.paf} 2>{log}
miniasm -f {input} {output.paf} > {output..gfa} 2>>{log}
miniasm -f {input} {output.paf} > {output.gfa} 2>>{log}
perl -lsane 'print ">$F[1]\n$F[2]" if $F[0] =~ /S/;' {output.gfa} > {output.fa} 2>>{log}
ln -sr {output.fa} {output.link}
"""
Expand Down

0 comments on commit 8b731e3

Please sign in to comment.