Hi,
I am running the code in a compute node- for the environment my school offers for HPC I first created a conda environment
$ mamba create --prefix /project/smithada_877/mothur
and installed mothur using conda install.
$ conda install -c bioconda mothur
I requested a compute node to run mothur without sending a job to the HPC, for which I requested a compute node following:
$ salloc --time=1:00:00 --cpus-per-task=12 --mem=16G
then I activated the environment where conda was installed
$ mamba activate /project/smithada_877/mothur
within that environment I run the following code::
$ mothur stability.batch
this is the logfile info:
Linux version
Using ReadLine
Using Boost
Running 64Bit Version
mothur v.1.40.4
Last updated: 10/04/2023
by
Patrick D. Schloss
Department of Microbiology & Immunology
University of Michigan
http://www.mothur.org
When using, please cite:
Schloss, P.D., et al., Introducing mothur: Open-source, platform-independent, community-supported software for describing and comparing microbial communities. Appl Environ Microbiol, 2009. 75(23):7537-41.
Distributed under the GNU General Public License
Type 'help()' for information on the commands that are available
For questions and analysis support, please visit our forum at https://www.mothur.org/forum
Type 'quit()' to exit program
Batch Mode
mothur > pcr.seqs(fasta=silva.bacteria.fasta, start=11894, end=25319, keepdots=F)
Using 16 processors.
935
935
935
934
935
935
935
934
935
934
935
935
935
935
935
934
[NOTE]: no sequences were bad, removing silva.bacteria.bad.accnos
It took 4 secs to screen 14956 sequences.
Output File Names:
silva.bacteria.pcr.fasta
mothur > rename.file(input=silva.bacteria.pcr.fasta, new=silva.v4.fasta)
Current files saved by mothur:
fasta=silva.bacteria.pcr.fasta
processors=16
mothur > set.logfile(name=test_conda)
mothur > set.logfile(name=test_conda)
mothur > make.file(inputdir=/project/smithada_877/bianca/testmothurbatch/testconda, type=gz, prefix=stability)
Setting input directory to: /project/smithada_877/bianca/testmothurbatch/testconda/
Output File Names:
/project/smithada_877/bianca/testmothurbatch/testconda/stability.files
mothur > make.contigs(file=stability.files)
Using 16 processors.
Segmentation fault
Here are the contents of my stability.batch file:
pcr.seqs(fasta=silva.bacteria.fasta, start=11894, end=25319, keepdots=F)
rename.file(input=silva.bacteria.pcr.fasta, new=silva.v4.fasta)
#This is the Standard Operating Procedure for analysis in the Schloss Lab
set.logfile(name=test_conda)
make.file(inputdir=/project/smithada_877/bianca/testmothurbatch/testconda, type=gz, prefix=stability)
make.contigs(file=stability.files)
screen.seqs(fasta=current, group=current, maxambig=0, maxlength=275)
unique.seqs()
count.seqs(name=current, group=current)
align.seqs(fasta=current, reference=/project/smithada_877/bianca/testmothurbatch/testconda/silva.v4.fasta)
screen.seqs(fasta=current, count=current, start=1968, end=11550, maxhomop=8)
filter.seqs(fasta=current, vertical=T, trump=.)
unique.seqs(fasta=current, count=current)
pre.cluster(fasta=current, count=current, diffs=2)
chimera.vsearch(fasta=current, count=current, dereplicate=t)
remove.seqs(fasta=current, accnos=current)
classify.seqs(fasta=current, count=current, reference=/project/smithada_877/bianca/testmothurbatch/testconda/trainset9_032012.pds.fasta, taxonomy=/project/smithada_877/bianca/testmothurbatch/testconda/trainset9_032012.pds.tax, cutoff=80)
remove.lineage(fasta=current, count=current, taxonomy=current, taxon=Chloroplast-Mitochondria-unknown-Archaea-Eukaryota)
cluster.split(fasta=current, count=current, taxonomy=current, splitmethod=classify, taxlevel=4, cutoff=0.15)
make.shared(list=current, count=current, label=0.03)
classify.otu(list=current, count=current, taxonomy=current, label=0.03)
phylotype(taxonomy=current)
make.shared(list=current, count=current, label=1)
classify.otu(list=current, count=current, taxonomy=current, label=1)
Thank you so much!
Please let me know if you need more info.
Thank you!