Hi, everyone!
As I was building the kmer with plugin sidle when running the following command:
qiime sidle prepare-extracted-region \
> --i-sequences sidle-db-filt-j1.qza \
> --p-region "P1" \
> --p-fwd-primer TGGCGAACGGGTGAGTAA \
> --p-rev-primer CCGTGTCTCAGTCCCARTG \
> --p-trim-length 100 \
> --o-collapsed-kmers sidle-db-P1-100nt-kmers.qza \
> --o-kmer-map sidle-db-P1-100nt-map.qza
After 2h the process is Killed
. My computer is 16Gb RAM available, and the size of datasidle-db-filt-j1.qza
is about 7.6m, The status of memory usage really shocked me.
The following is the code related to the problem. Is there any parameter that can limit the usage of memory, such as reducing the number of threads, etc? I can accept a longer operation time. Any hint will be greatly appreciated.
> qiime tools import \
> --type 'FeatureData[Sequence]' \
> --input-path 99_otus.fasta \
> --output-path 99_otus.qza
> qiime tools import \
> --type 'FeatureData[Taxonomy]' \
> --input-format HeaderlessTSVTaxonomyFormat \
> --input-path 99_otu_taxonomy.txt \
> --output-path ref-taxonomy.qza
> qiime rescript cull-seqs \
> --p-num-degenerates 3 \
> --i-sequences 99_otus.qza \
> --o-clean-sequences 99_3_otus.qza
> qiime rescript dereplicate \
> --i-sequences 99_3_otus.qza \
> --i-taxa ref-taxonomy.qza \
> --p-mode 'uniq' \
> --o-dereplicated-sequences 99_3_otus-derep-uniq.qza \
> --o-dereplicated-taxa 99_otu_taxonomy-derep-uniq.qza
> qiime feature-classifier extract-reads \
> --i-sequences 99_3_otus-derep-uniq.qza \
> --p-f-primer TGGCGAACGGGTGAGTAA \
> --p-r-primer CCGTGTCTCAGTCCCARTG \
> --o-reads sidle-db-filt-j1.qza
> qiime sidle prepare-extracted-region \
> --i-sequences sidle-db-filt-j1.qza \
> --p-region "P1" \
> --p-fwd-primer TGGCGAACGGGTGAGTAA \
> --p-rev-primer CCGTGTCTCAGTCCCARTG \
> --p-trim-length 100 \
> --o-collapsed-kmers sidle-db-P1-100nt-kmers.qza \
> --o-kmer-map sidle-db-P1-100nt-map.qza
Thank you very much!