Skip to content

Commit

Permalink
check if dict does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
nickhsmith authored and vyepez88 committed Mar 16, 2022
1 parent ca8d980 commit a29acaf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drop/modules/mae-pipeline/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ rule create_dict:
"""
for fasta in {input}
do
if [ -f "${{fasta%.*}}.dict" ]; then
else
if [ ! -f "${{fasta%.*}}.dict" ]; then
gatk CreateSequenceDictionary --REFERENCE $fasta
fi
done
Expand Down

0 comments on commit a29acaf

Please sign in to comment.