Skip to content

Commit 22b183b

Browse files
authored
error on gzipped GFAs
1 parent 8bbdf10 commit 22b183b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/subcommand/autoindex_main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ void help_autoindex(char** argv) {
103103
<< " -r, --ref-fasta FILE FASTA file with the reference sequence (may repeat)" << endl
104104
<< " -v, --vcf FILE VCF file with sequence names matching -r (may repeat)" << endl
105105
<< " -i, --ins-fasta FILE FASTA file with sequences of INS variants from -v" << endl
106-
<< " -g, --gfa FILE GFA file to make a graph from" << endl
106+
<< " -g, --gfa FILE GFA file to make a graph from (uncompressed)" << endl
107107
<< " -G, --gbz FILE GBZ file to make indexes from" << endl
108108
<< " -x, --tx-gff FILE GTF/GFF file with transcript annotations (may repeat)" << endl
109109
<< " -H, --hap-tx-gff FILE GTF/GFF file with transcript annotations " << endl
@@ -247,6 +247,7 @@ int main_autoindex(int argc, char** argv) {
247247
break;
248248
case 'g':
249249
gfa_name = require_exists(logger, optarg);
250+
require_non_gzipped(logger, gfa_name);
250251
break;
251252
case 'G':
252253
gbz_name = require_exists(logger, optarg);

0 commit comments

Comments
 (0)