Skip to content

Commit bb42d87

Browse files
authored
Allow fastq.gz and fasta.gz inputs (#121)
1 parent 3cba946 commit bb42d87

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

bin/tigmint-make

+8
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@ reads=reads
2323
fastq_gz=$(shell test -f $(reads).fq.gz && echo "true")
2424
fastq=$(shell test -f $(reads).fq && echo "true")
2525
fastq_long=$(shell test -f $(reads).fastq && echo "true")
26+
fastq_long_gz=$(shell test -f $(reads).fastq.gz && echo "true")
2627

2728
fasta_gz=$(shell test -f $(reads).fa.gz && echo "true")
2829
fasta=$(shell test -f $(reads).fa && echo "true")
2930
fasta_long=$(shell test -f $(reads).fasta && echo "true")
31+
fasta_long_gz=$(shell test -f $(reads).fasta.gz && echo "true")
3032

3133
ifeq ($(fastq_gz), true)
3234
longreads=$(reads).fq.gz
@@ -37,6 +39,9 @@ endif
3739
ifeq ($(fastq_long), true)
3840
longreads=$(reads).fastq
3941
endif
42+
ifeq ($(fastq_long_gz), true)
43+
longreads=$(reads).fastq.gz
44+
endif
4045

4146
ifeq ($(fasta_gz), true)
4247
longreads=$(reads).fa.gz
@@ -47,6 +52,9 @@ endif
4752
ifeq ($(fasta_long), true)
4853
longreads=$(reads).fasta
4954
endif
55+
ifeq ($(fasta_long_gz), true)
56+
longreads=$(reads).fasta.gz
57+
endif
5058

5159
# Reference genome, ref.fa, for calculating assembly contiguity metrics
5260
ref=ref

0 commit comments

Comments
 (0)