The long runtime is unusually long, but not very surprising, because your primers contain many degenerate or ambiguous bases, and hence extract-reads needs to check for every possible combination across both primers. I am guessing that you must also have many sequences as well, so this is taking a long time to process. I suggest continuing to wait or try again with fewer ambiguous bases in your primer sequences if you can be more specific.
I have changed the title of this post to be more specific, as this is an issue with extract-reads... you have not reached the classifier training step yet (which will also take a while if you have many sequences, just as a warning).
Thank you very much for your reply.
I tied this command on both of Macbook and the Linux subsystem in Windows.
Just for this extract-reads step. Macbook has run it for 2 days but in WSL terminal only need half hour.
Maybe I should not use Macbook? not sure...
--i-sequences 2022.10.backbone.full-length.fna.qza
--p-f-primer CCTAYGGGRBGCASCAG
p-r-prim> --p-r-primer GGACTACNNGGGTATCTAAT
--p-trunc-len 250
--p-min-length 200
-max-len> --p-max-length 490
--o-reads ref-seqs.qza
Saved FeatureData[Sequence] to: ref-seqs.qza
(qiime2) yiggrite@MWMJ07RHBF:~/qiime2/muxed-se-barcode-in-seq/training-feature-classifiers$ qiime feature-classifier fit-classifier-naive-bayes
--i-reference-reads ref-seqs.qza
--i-reference-taxonomy 2022.10.backbone.tax.qza
--o-classifier classifier.qza
Killed
(qiime2) yiggrite@MWMJ07RHBF:~/qiime2/muxed-se-barcode-in-seq/training-feature-classifiers$ qiime feature-classifier fit-classifier-naive-bayes
--i-reference-reads ref-seqs.qza
--i-reference-taxonomy 2022.10.backbone.tax.qza
--o-classifier classifier.qza
Killed
(qiime2) yiggrite@MWMJ07RHBF:~/qiime2/muxed-se-barcode-in-seq/training-feature-classifiers$ free -mh
: command not found
(qiime2) yiggrite@MWMJ07RHBF:~/qiime2/muxed-se-barcode-in-seq/training-feature-classifiers$ free -mh
total used free shared buff/cache available
Mem: 7.7Gi 1.1Gi 6.5Gi 1.0Mi 140Mi 6.4Gi
Swap: 2.0Gi 972Mi 1.0Gi
(qiime2) yiggrite@MWMJ07RHBF:~/qiime2/muxed-se-barcode-in-seq/training-feature-classifiers$ vmstat -s
8069524 K total memory
1125624 K used memory
29428 K active memory
948220 K inactive memory
6791960 K free memory
7648 K buffer memory
144292 K swap cache
2097152 K total swap
995532 K used swap
1101620 K free swap
4138259 non-nice user cpu ticks
3902 nice user cpu ticks
348793 system cpu ticks
981189334 idle cpu ticks
149976 IO-wait cpu ticks
0 IRQ cpu ticks
12626 softirq cpu ticks
0 stolen cpu ticks
2084714 pages paged in
11151400 pages paged out
52595 pages swapped in
1066861 pages swapped out
5320163 interrupts
47183740 CPU context switches
1702679965 boot time
37849 forks
(qiime2) yiggrite@MWMJ07RHBF:~/qiime2/muxed-se-barcode-in-seq/training-feature-classifiers$
Running on different machines could give different results if you have different amounts of available RAM or other differences in the hardware. There should not be a specific issue with running this command on a mac.