Skip to content

Commit

Permalink
switch screen human to screen-human-contaminants by popular demand
Browse files Browse the repository at this point in the history
  • Loading branch information
skoren committed Sep 17, 2024
1 parent 4ac7c64 commit 2708d29
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/verkko.sh
Original file line number Diff line number Diff line change
Expand Up @@ -592,21 +592,17 @@ while [ $# -gt 0 ] ; do

elif [ "$opt" = "--consensus-bam" ] ; then withbam="True"; lay_mem_gb=`expr $lay_mem_gb \* 2`;
elif [ "$opt" = "--discard-short" ] ; then short_contig_length=$arg; shift
elif [ "$opt" = "--screen" ] ; then
if [ "x$arg" = "xhuman" ] ; then
elif [ "$opt" = "--screen-human-contaminants" ]; then
screen="$screen ebv human-ebv-AJ507799.2.fasta.gz"
screen="$screen mito human-mito-NC_012920.1.fasta.gz"
screen="$screen rdna human-rdna-KY962518.1.fasta.gz"
shift
else
elif [ "$opt" = "--screen" ] ; then
if [ "x$arg" = 'x' ] || [ "x$arh" = 'x' ]; then
errors="${errors}Invalid screen option: '$arg', '$arh'. Provide both contaminant name and contaminant file.\n"
fi
screen="$screen $arg $arh"
shift # Both arg and arh are processed.
shift
fi

#
# run-time options
#
Expand Down

0 comments on commit 2708d29

Please sign in to comment.