-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added hisat2 component #213
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #213 +/- ##
==========================================
+ Coverage 41.95% 42.03% +0.07%
==========================================
Files 72 72
Lines 6461 6469 +8
==========================================
+ Hits 2711 2719 +8
Misses 3750 3750
Continue to review full report at Codecov.
|
|
||
""" | ||
samtools view -Sb $sam > ${sample_id}.bam | ||
samtools sort -T ${sample_id}.bam.tmp ${sample_id}.bam -o ${sample_id}.sorted.bam |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can improve I/O here by piping some of these commands: https://github.com/assemblerflow/flowcraft/blob/master/flowcraft/generator/templates/mapping_patlas.nf#L40 (example).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additionally, in your class you have defined the output as bam, not as bam, bai. This makes this component theoretically compatible with modules that receive bam files (retrieve_mapped, for example) but in fact they're not being compatible. Why don't you pass the .bai file as a side channel?
This change is