Hi,
I was trying to process about 400 samples using batch command. At some point mothur crashes. The logfile at this point is large (~5 GB) and filled with millions of warnings (see below). Some temp files are also present when the program crashes out (sample output also given below). I run my script on a linux cluster using the script:
#$ -l mem_free=32G
qsub -q long.q mymothur.sh
The script ran ok with a smaller subset of samples, but keeps on crashing with the larger set. What am I doing wrong?
thanks!
- Batch command file:
======================
set.dir(input=/home/pca/mac/microbiome/fecal/raw_data/all_fastq,output=/home/pca/mac/microbiome/fecal/processed_data/r2)
make.contigs(file=r2.stability.files,processors=8)
summary.seqs(fasta=current)
screen.seqs(fasta=current, group=current, maxambig=0, maxlength=275)
unique.seqs()
count.seqs(name=current, group=current)
summary.seqs(count=current)
align.seqs(fasta=current, reference=/home/pca/mac/microbiome/fecal/silva.bacteria/silva.v4.fasta)
summary.seqs(fasta=current)
screen.seqs(fasta=current, count=current, start=1968, end=11550, maxhomop=8)
summary.seqs(fasta=current, count=current)
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=/home/pca/mac/microbiome/fecal/RDP_ref/trainset14_032015.pds/trainset14_032015.pds.fasta, taxonomy=/home/pca/mac/microbiome/fecal/RDP_ref/trainset14_032015.pds/trainset14_032015.pds.tax, cutoff=80)
remove.lineage(fasta=current, count=current, taxonomy=current, taxon=Chloroplast-Mitochondria-unknown-Archea-Eukaryota)
summary.tax(taxonomy=current, count=current)
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)
QIIME biom format
make.biom(shared=current, constaxonomy=current)
system(echo “Phylotypes”)
phylotype(taxonomy=current)
make.shared(list=current, count=current, label=1)
classify.otu(list=current, count=current, taxonomy=current, label=1)
system(echo “Phylogenetic”)
dist.seqs(fasta=current,output=lt,processors=1)
clearcut(phylip=current)
- last few lines of logfile:
======================
[WARNING]: group SWB-0197 contains illegal characters in the name. Group names should not include :, -, or / characters. The ‘:’ character is a special character used in trees. Using ‘:’ will result in your tree being unreadable by tree reading software. The ‘-’ character is a special character used by mothur to parse group names. Using the ‘-’ character will prevent you from selecting groups. The ‘/’ character will created unreadable filenames when mothur includes the group in an output filename.
[WARNING]: group SWB-0197 contains illegal characters in the name. Group names should not include :, -, or / characters. The ':' character is a special character used in trees. Using ':' will result in your tree being unreadable by tree reading software. The '-' character is a special character used by mothur to parse group names. Using the '-' character will prevent you from selecting groups. The '/' character will created unreadable filenames when mothur includes the group in an output filename.
[WARNING]: group SWB-0197 contains illegal characters in the name. Group names should not include :, -, or / characters. The ':' character is a special character used in trees. Using ':' will result in your tree being unreadable by tree reading software. The '-' character is a special character used by mothur to parse group names. Using the '-' character will prevent you from selecting groups. The '/' character will created unreadable filenames when mothur includes the group in an output filename.
- First two lines of temp file:
======================
M03576_154_000000000-B4JJT_1_2114_26883_16530 103 1 2 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 0 0 0 2 0 0 0 0 0 0 7 2 0 0 0 0 0 0 0 1 0 1 0 0 0 1 0 0 0 5 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 2 1 0 2 2 0 0 0 3 0 3 1 0 2 0 2 1 1 3 0 0 0 1 0 0 0 0 1 0 2 1 0 0 1 2 3 2 3 1 0 0 0 1 0 0 0 2 1 2 1 2 0 0 1 0 2 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 2 0 0 0 1 0 2 0 0 0 0 2 0 0 0 0 0 2 0 0 1 5 0 3 1 0 1 0 0 0
M03576_154_000000000-B4JJT_1_2114_25749_16965 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0