Skip to content

Commit

Permalink
add version info
Browse files Browse the repository at this point in the history
  • Loading branch information
rpetit3 committed Feb 7, 2023
1 parent c7e0522 commit dce4ce4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/bactopia-sketcher
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ if [[ $# == 0 ]]; then
exit
fi

if [[ "$1" == "version" ]] || [[ "$1" == "--version" ]]; then
echo "bactopia-sketcher ${VERSION}"
exit
fi

gzip -cd ${FASTQ} | mash sketch -o ${PREFIX}-k21 -k 21 -s 21 -r -I ${PREFIX} -
gzip -cd ${FASTQ} | mash sketch -o ${PREFIX}-k31 -k 31 -s 31 -r -I ${PREFIX} -
sourmash sketch dna -p k=21,k=31,k=51,abund,scaled=1000 --merge ${PREFIX} -o ${PREFIX}.sig ${FASTQ}

0 comments on commit dce4ce4

Please sign in to comment.