Skip to content

Commit

Permalink
add error message for unsupported gzipped fasta files (issue #61)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmks committed Jul 15, 2021
1 parent ecd7590 commit ed402fa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions DAS_Tool
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,13 @@ then
exit 1
fi

if [ "${contigs: -3}" == ".gz" ]
then
write_log $logfile true true true Gzip compressed fasta files not supported. Please extract: $contigs
write_log $logfile true true true Aborting.
exit 1
fi

# check if any scaffold2bin files are emtpy:
s2b_tmp=''
for i in $(echo ${scaffoldstobins} | tr "," " ")
Expand Down

0 comments on commit ed402fa

Please sign in to comment.