We are working on system with 16Gb RAM and 4 cores.
The files (demultiplexed fastq.gz of 27 samples - 2.9 Gb) were imported using following:
(qiime2-2018.11) npdf@npdf-Inspiron-3268:~$ qiime tools import --type 'SampleData[PairedEndSequencesWithQuality]' --input-path pe-all27-manifest --output-path paired-end-demux --input-format PairedEndFastqManifestPhred33
Imported pe-all27-manifest as PairedEndFastqManifestPhred33 to paired-end-demux
While running dada2, following error occurs:
qiime dada2 denoise-paired --i-demultiplexed-seqs paired-end-demux.qza --p-trim-left-f 8 --p-trim-left-r 9 --p-trunc-len-f 275 --p-trunc-len-r 224 --o-table pedemuxtable.qza --o-representative-sequences pedemuxrepresentative-sequences.qza --o-denoising-stats pedemuxdenoising-stats.qza --verbose
Running external command line application(s). This may print messages to stdout and/or stderr.
The command(s) being run are below. These commands cannot be manually re-run as they will depend on temporary files that no longer exist.
Command: run_dada_paired.R /tmp/tmph7asg0jq/forward /tmp/tmph7asg0jq/reverse /tmp/tmph7asg0jq/output.tsv.biom /tmp/tmph7asg0jq/track.tsv /tmp/tmph7asg0jq/filt_f /tmp/tmph7asg0jq/filt_r 275 224 8 9 2.0 2 consensus 1.0 1 1000000
R version 3.4.1 (2017-06-30)
Loading required package: Rcpp
*** caught segfault ***
address 0x10006a8b8b, cause 'memory not mapped'
Traceback (most recent call last):
File "/home/npdf/anaconda2/envs/qiime2-2018.11/lib/python3.5/site-packages/q2_dada2/_denoise.py", line 231, in denoise_paired
run_commands([cmd])
File "/home/npdf/anaconda2/envs/qiime2-2018.11/lib/python3.5/site-packages/q2_dada2/_denoise.py", line 36, in run_commands
subprocess.run(cmd, check=True)
File "/home/npdf/anaconda2/envs/qiime2-2018.11/lib/python3.5/subprocess.py", line 398, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['run_dada_paired.R', '/tmp/tmph7asg0jq/forward', '/tmp/tmph7asg0jq/reverse', '/tmp/tmph7asg0jq/output.tsv.biom', '/tmp/tmph7asg0jq/track.tsv', '/tmp/tmph7asg0jq/filt_f', '/tmp/tmph7asg0jq/filt_r', '275', '224', '8', '9', '2.0', '2', 'consensus', '1.0', '1', '1000000']' returned non-zero exit status -11
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/npdf/anaconda2/envs/qiime2-2018.11/lib/python3.5/site-packages/q2cli/commands.py", line 274, in call
results = action(**arguments)
File "<decorator-gen-436>", line 2, in denoise_paired
File "/home/npdf/anaconda2/envs/qiime2-2018.11/lib/python3.5/site-packages/qiime2/sdk/action.py", line 231, in bound_callable
output_types, provenance)
File "/home/npdf/anaconda2/envs/qiime2-2018.11/lib/python3.5/site-packages/qiime2/sdk/action.py", line 362, in callable_executor
output_views = self._callable(**view_args)
File "/home/npdf/anaconda2/envs/qiime2-2018.11/lib/python3.5/site-packages/q2_dada2/_denoise.py", line 246, in denoise_paired
" and stderr to learn more." % e.returncode)
Exception: An error was encountered while running DADA2 in R (return code -11), please inspect stdout and stderr to learn more.
Plugin error from dada2:
An error was encountered while running DADA2 in R (return code -11), please inspect stdout and stderr to learn more.
See above for debug info.
ISSUE 2: While trying to run demux summarize on the same file
(qiime2-2018.11) npdf@npdf-Inspiron-3268:~$ qiime demux summarize --i-data paired-end-demux.qza --o-visualization paired-end-demux --verbose Traceback (most recent call last):
File "/home/npdf/anaconda2/envs/qiime2-2018.11/lib/python3.5/site-packages/q2cli/commands.py", line 274, in call
results = action(**arguments)
File "<decorator-gen-419>", line 2, in summarize
File "/home/npdf/anaconda2/envs/qiime2-2018.11/lib/python3.5/site-packages/qiime2/sdk/action.py", line 231, in bound_callable
output_types, provenance)
File "/home/npdf/anaconda2/envs/qiime2-2018.11/lib/python3.5/site-packages/qiime2/sdk/action.py", line 424, in callable_executor
ret_val = self._callable(output_dir=temp_dir, **view_args)
File "/home/npdf/anaconda2/envs/qiime2-2018.11/lib/python3.5/site-packages/q2_demux/_summarize/_visualizer.py", line 131, in summarize
for seq in _read_fastq_seqs(file):
File "/home/npdf/anaconda2/envs/qiime2-2018.11/lib/python3.5/site-packages/q2_demux/_demux.py", line 34, in _read_fastq_seqs
for seq_header, seq, qual_header, qual in itertools.zip_longest(*[fh] * 4):
File "/home/npdf/anaconda2/envs/qiime2-2018.11/lib/python3.5/gzip.py", line 287, in read1
return self._buffer.read1(size)
File "/home/npdf/anaconda2/envs/qiime2-2018.11/lib/python3.5/_compression.py", line 68, in readinto
data = self.read(len(byte_view))
File "/home/npdf/anaconda2/envs/qiime2-2018.11/lib/python3.5/gzip.py", line 452, in read
self._read_eof()
File "/home/npdf/anaconda2/envs/qiime2-2018.11/lib/python3.5/gzip.py", line 499, in _read_eof
hex(self._crc)))
OSError: CRC check failed 0x2a1edf4e != 0x214264ab
Plugin error from demux:
CRC check failed 0x2a1edf4e != 0x214264ab
See above for debug info.
Segmentation fault (core dumped)