The bioBakery help forum

Kneaddata memory error

I am getting the following error when running Kneaddata:

kneaddata -t 20 --input $FILE .1.fastq --input $FILE .2.fastq --reference-db ~/projects/Colorectal/Metagenomics --trimmomatic /mnt/scratch/home/local/robinm/miniconda2/share/trimmomatic --max-memory 200 --output $FILE

Traceback (most recent call last):
File “/home/local/robinm/miniconda2/bin/kneaddata”, line 10, in
sys.exit(main())
File “/home/local/robinm/miniconda2/lib/python2.7/site-packages/kneaddata/knead_data.py”, line 427, in main
args.input=utilities.check_and_reorder_reads(args.input, args.output_dir, temp_output_files)
File “/home/local/robinm/miniconda2/lib/python2.7/site-packages/kneaddata/utilities.py”, line 58, in check_and_reorder_reads
for lines, pair_id in zip(read_file_n_lines(input_files[1],4), ids):
MemoryError