Skip to content
Snippets Groups Projects
Verified Commit 7286daef authored by Laurent Modolo's avatar Laurent Modolo
Browse files

samtools: fix bug :21

parent d5cacb23
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ process index_fasta {
script:
"""
if gzip -t file.gz; then
if gzip -t ${fasta}; then
zcat ${fasta} > ${fasta.simpleName}.fasta
samtools faidx ${params.index_fasta} ${fasta.simpleName}.fasta
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment