Skip to content

Commit

Permalink
save only the scaffolds fasta file
Browse files Browse the repository at this point in the history
  • Loading branch information
abhi18av authored Jul 18, 2020
1 parent 3cfad4e commit d7a7461
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ process spades {
tuple genomeName, file(genomeReads) from ch_in_spades

output:
path """${genomeName}""" into ch_out_spades
path """${genomeName}_scaffolds.fasta""" into ch_out_spades


script:

"""
spades.py -k 21,33,55,77 --careful --only-assembler --pe1-1 ${genomeReads[0]} --pe1-2 ${genomeReads[1]} -o ${genomeName} -t 2
cp ${genomeName}/scaffolds.fasta ${genomeName}_scaffolds.fasta
"""
}

// TODO we only need to store the genomeName/scaffolds.fasta as genomeName_scaffolds.fasta

0 comments on commit d7a7461

Please sign in to comment.