/usr/share/doc/ssake/examples/MiSeqEbolaAssemblyPIPELINE.sh is in ssake-examples 3.8.4-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | #!/bin/sh
d=`date`
echo -----------------------------------------------------------------------------------
echo Running SSAKE assembly pipeline on bacterial sequence data. It will need ca.4GB RAM
echo -----------------------------------------------------------------------------------
echo Downloading MiSeq data for Ebola on $d ...
echo -----------------------------------------------------------------------------------
rm -rf SRR2019530_*.fastq
wget ftp://ftp.bcgsc.ca/supplementary/SSAKE/SRR2019530_*.fastq
echo -----------------------------------------------------------------------------------
echo done. Trimming low quality bases, be patient...
echo -----------------------------------------------------------------------------------
echo SRR2019530_1.fastq > ebola.fof
echo SRR2019530_2.fastq >> ebola.fof
../tools/TQSfastq.pl -f ebola.fof -q 20 -n 70 -e 33
cat SRR2019530_1.fastqc70q20e33.fa |perl -ne 'if(/^(\>\@\S+)/){print "$1b\n";}else{print;}' >SRR2019530_1.fastqc70q20e33.trimFIX.fa
cat SRR2019530_2.fastqc70q20e33.fa |perl -ne 'if(/^(\>\@\S+)/){print "$1a\n";}else{print;}' >SRR2019530_2.fastqc70q20e33.trimFIX.fa
echo -----------------------------------------------------------------------------------
echo done. Formatting fasta input for SSAKE...
echo -----------------------------------------------------------------------------------
../tools/makePairedOutput2UNEQUALfiles.pl SRR2019530_1.fastqc70q20e33.trimFIX.fa SRR2019530_2.fastqc70q20e33.trimFIX.fa 600
echo -----------------------------------------------------------------------------------
echo done. Initiating SSAKE assembly ETA 10-20min depending on system...
echo -----------------------------------------------------------------------------------
time ../SSAKE -f paired.fa -p 1 -g unpaired.fa -m 20 -w 5 -b ebola
echo -----------------------------------------------------------------------------------
echo done. Converting scaffold .csv into fasta file...
echo -----------------------------------------------------------------------------------
../tools/makeFastaFileFromScaffolds.pl ebola.scaffolds
echo -----------------------------------------------------------------------------------
echo done. Computing stats from ebola.contigs
echo -----------------------------------------------------------------------------------
../tools/getStats.pl ebola.contigs 500 > ebola.contigs.stats
echo -----------------------------------------------------------------------------------
echo done. Computing stats from ebola.scaffolds.fa
echo -----------------------------------------------------------------------------------
../tools/getStats.pl ebola.scaffolds.fa 500 > ebola.scaffolds.stats
echo assembly pipeline complete. Results are under ebola.
|