Skip to content

Commit

Permalink
Removed analysis mode which used inefficient k and w for isONclust
Browse files Browse the repository at this point in the history
  • Loading branch information
aljpetri committed Jan 4, 2024
1 parent 0abdce3 commit 2f40387
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions full_pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -e
#the pipeline can be run in different modes:
# full: the full pipeline is run (pychopper, isONclust,isONcorrect,isONform)
# pacbio: for PacBio data runs isONclust and isONform
# analysis: special mode for the analysis pipelines: only isONclust,isONcorrect and isONform are run
# ont: analysis of ont data: isONclust,isONcorrect and isONform are run
# only_isonform: only isONform is run
raw_reads=$1
outfolder=$2
Expand Down Expand Up @@ -44,16 +44,16 @@ echo "Running isONclust"
echo
if [ $mode != "only_isonform" ]
then
if [ $mode != "pacbio" ] && [ $mode != "analysis" ]
if [ $mode != "pacbio" ] && [ $mode != "'ont'" ]
then
/usr/bin/time -v isONclust --t $num_cores --ont --fastq $outfolder/full_length.fq \
--outfolder $outfolder/clustering
/usr/bin/time -v isONclust write_fastq --N $iso_abundance --clusters $outfolder/clustering/final_clusters.tsv \
--fastq $outfolder/full_length.fq --outfolder $outfolder/clustering/fastq_files
elif [ $mode == "analysis" ]
elif [ $mode == "ont" ]
then
/usr/bin/time -v isONclust --t $num_cores --ont --fastq $raw_reads \
--outfolder $outfolder/clustering --k 8 --w 9
--outfolder $outfolder/clustering
/usr/bin/time -v isONclust write_fastq --N $iso_abundance --clusters $outfolder/clustering/final_clusters.tsv \
--fastq $raw_reads --outfolder $outfolder/clustering/fastq_files
else
Expand Down

0 comments on commit 2f40387

Please sign in to comment.