首先准备sample-metadata.tsv文件,样本的barcode 文件信息,这里以双端测序为例:
sample-id forward-barcodes reverse-barcodes
Lin027 GATCTGCA CTACGATG
Lin028 GATCTGCA GACATAGC
Lin029 GATCTGCA GATCTGCA
Lin032 GATCTGCA GCGTATGA
Lin033 GATCTGCA GTATGCGA
qiime tools import --type MultiplexedPairedEndBarcodeInSequence \ --input-path muxed-pe-barcode-in-seq \ --output-path multiplexed-seqs.qza
qiime cutadapt demux-paired --i-seqs multiplexed-seqs.qza \
--m-forward-barcodes-file sample-metadata.tsv \ --m-forward-barcodes-column forward-barcodes \
--m-reverse-barcodes-file sample-metadata.tsv \ --m-reverse-barcodes-column reverse-barcodes \
--o-per-sample-sequences per_sample_sequences.qza \ --o-untrimmed-sequences untrimmed_sequences.qza
qiime cutadapt trim-paired \
--i-demultiplexed-sequences per_sample_sequences.qza \
--p-cores 4 \
--p-no-indels \
--p-front-f ACTCCTACGGGAGGCAGCAG \
--p-front-r GGACTACHVGGGTWTCTAAT \
--o-trimmed-sequences primer-trimmed-demux.qza
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!