Diamond-Megan analysis: a practical case study
ls -lrth /media/D/util/DM/
singularity
singularity shell /media/D/util/DM/DM.sif
exit
ls -lrth /media/D/util/DM/Test/
mkdir Jclub
cd Jclub
cp /media/D/util/DM/Test/* .
ls -lrth
export SINGULARITY_BINDPATH="/media/D/"
singularity shell /media/D/util/DM/DM.sif
fastq-join BIO9-13J_S7_L001_R1_001.fastq.gz BIO9-13J_S7_L001_R2_001.fastq.gz -o join_Bio_%.fastq
ls -lrth
cat *.fastq > BIO_merged.fq
rm *fastq
ls -lrth
time diamond blastx -q BIO_merged.fq -d /media/D/bank/nr/nr.dmnd -o D_nr_BIO.daa -f 100 -p 25
#Or other Diamond subset database (e.g. virus)
time diamond blastx -q BIO_merged.fq -d /media/D/bank/Diamond/Vref-gb.dmnd -o BIO_RG.daa -f 100 -p 5
exit
ln -s /media/D/util/DM/DAA/* .
ls -lrth
MEGAN
/media/D/bank/nr/megan-map/megan-map-Feb2022.db
daa-meganizer -i FILE.daa -t 50 -mdb /media/D/bank/nr/megan-map/megan-map-Feb2022.db
Naser Poursalavati, 2022