Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Added flexibility for gz/plain reference fasta files
Browse files Browse the repository at this point in the history
  • Loading branch information
jenzopr committed Apr 26, 2018
1 parent 820f9a8 commit dea6443
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/reference.snake
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ rule reference_download:
'Downloading gencode transcriptome reference.'
shell:
"""
zcat {input} > {output}
zcat -f {input} > {output}
"""

if 'spikeIns' in config.get('reference', {}):
Expand All @@ -35,7 +35,7 @@ if 'spikeIns' in config.get('reference', {}):
'Adding spike-in sequences to gencode transcriptome reference'
shell:
"""
cat {input.ref} {input.spike} > {output}
zcat -f {input.ref} {input.spike} > {output}
"""

rule tx2gene_from_fasta:
Expand Down

0 comments on commit dea6443

Please sign in to comment.