Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMP: make reverse primer (adapter) optional for denoise-ccs #168

Merged
merged 1 commit into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions q2_dada2/_denoise.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import os
import tempfile
from typing import Optional
import hashlib
import subprocess

Expand Down Expand Up @@ -409,9 +410,9 @@ def denoise_pyro(demultiplexed_seqs: SingleLanePerSampleSingleEndFastqDirFmt,


def denoise_ccs(demultiplexed_seqs: SingleLanePerSampleSingleEndFastqDirFmt,
front: str, adapter: str, max_mismatch: int = 2,
indels: bool = False, trunc_len: int = 0,
trim_left: int = 0, max_ee: float = 2.0,
front: str, adapter: Optional[str] = None,
max_mismatch: int = 2, indels: bool = False,
trunc_len: int = 0, trim_left: int = 0, max_ee: float = 2.0,
trunc_q: int = 2, min_len: int = 20, max_len: int = 0,
pooling_method: str = 'independent',
chimera_method: str = 'consensus',
Expand Down Expand Up @@ -446,7 +447,6 @@ def denoise_ccs(demultiplexed_seqs: SingleLanePerSampleSingleEndFastqDirFmt,
'--removed_primer_directory', nop_fp,
'--filtered_directory', filt_fp,
'--forward_primer', str(front),
'--reverse_primer', str(adapter),
'--max_mismatch', str(max_mismatch),
'--indels', str(indels),
'--truncation_length', str(trunc_len),
Expand All @@ -463,6 +463,10 @@ def denoise_ccs(demultiplexed_seqs: SingleLanePerSampleSingleEndFastqDirFmt,
'--learn_min_reads', str(n_reads_learn),
'--homopolymer_gap_penalty', 'NULL',
'--band_size', '32']

if adapter is not None:
cmd += ['--reverse_primer', str(adapter)]

try:
run_commands([cmd])
except subprocess.CalledProcessError as e:
Expand Down
9 changes: 8 additions & 1 deletion q2_dada2/assets/run_dada.R
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,14 @@ cat("DADA2:", as.character(packageVersion("dada2")), "/",
if(primer.removed.dir!='NULL'){ #for CCS read analysis
cat("1) Removing Primers\n")
nop <- file.path(primer.removed.dir, basename(unfilts))
prim <- suppressWarnings(removePrimers(unfilts, nop, primer, dada2:::rc(primerR),

# reverse complement reverse primer only if provided
if (primerR != 'NULL') {
primerR <- dada2::rc(primerR)
} else {
primerR <- NULL
}
prim <- suppressWarnings(removePrimers(unfilts, nop, primer, primerR,
max.mismatch = maxMismatch, allow.indels = indels,
orient = TRUE, verbose = TRUE))
cat(ifelse(file.exists(nop), ".", "x"), sep="")
Expand Down
21 changes: 10 additions & 11 deletions q2_dada2/tests/data/expected/ccs-default-stats.tsv
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
sample-id input primer-removed percentage of input primer-removed filtered percentage of input passed filter denoised non-chimeric percentage of input non-chimeric
#q2:types numeric numeric numeric numeric numeric numeric numeric numeric
R11_1_P2C2 200 158 79 137 68.5 89 89 44.5
R3_1_P2C2 200 152 76 119 59.5 90 90 45
R3_2_P2C2 200 160 80 124 62 89 89 44.5
R3_3_P2C2 200 164 82 127 63.5 99 99 49.5
R9_1_P2C2 200 152 76 118 59 96 96 48
R9_1B_P2C2 200 164 82 138 69 90 90 45
R9_2_P2C2 200 152 76 124 62 68 68 34
R9_3_P2C2 200 151 75.5 124 62 49 49 24.5
R9_4_P2C2 200 160 80 132 66 51 51 25.5
sample-id input primer-removed percentage of input primer-removed filtered percentage of input passed filter denoised non-chimeric percentage of input non-chimeric
R11_1_P2C2 200.0 176.0 88.0 145.0 72.5 41.0 41.0 20.5
R3_1_P2C2 200.0 173.0 86.5 134.0 67.0 69.0 64.0 32.0
R3_2_P2C2 200.0 176.0 88.0 130.0 65.0 48.0 48.0 24.0
R3_3_P2C2 200.0 180.0 90.0 136.0 68.0 65.0 65.0 32.5
R9_1_P2C2 200.0 168.0 84.0 127.0 63.5 33.0 33.0 16.5
R9_1B_P2C2 200.0 178.0 89.0 144.0 72.0 47.0 47.0 23.5
R9_2_P2C2 200.0 171.0 85.5 139.0 69.5 23.0 23.0 11.5
R9_3_P2C2 200.0 169.0 84.5 135.0 67.5 17.0 17.0 8.5
R9_4_P2C2 200.0 177.0 88.5 140.0 70.0 29.0 29.0 14.5
302 changes: 132 additions & 170 deletions q2_dada2/tests/data/expected/ccs-default.fasta

Large diffs are not rendered by default.

154 changes: 67 additions & 87 deletions q2_dada2/tests/data/expected/ccs-default.tsv
Original file line number Diff line number Diff line change
@@ -1,87 +1,67 @@
# Constructed from biom file
#OTU ID R11_1_P2C2 R3_1_P2C2 R3_2_P2C2 R3_3_P2C2 R9_1_P2C2 R9_1B_P2C2 R9_2_P2C2 R9_3_P2C2 R9_4_P2C2
b3cf52ed010a86d6b156abeec5546ac2 0.0 70.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
7cd303c061a8e92e5605444f23d878ad 0.0 0.0 35.0 7.0 0.0 0.0 0.0 0.0 0.0
e07a5958b141ef24e8bd71c945149d30 0.0 0.0 20.0 20.0 0.0 0.0 0.0 0.0 0.0
28a84f7ece5bc05b69d26f7152fe7f7d 0.0 0.0 0.0 0.0 0.0 0.0 17.0 8.0 0.0
1947cfed2cb134c8d255df38fb75dab7 0.0 0.0 0.0 0.0 0.0 0.0 14.0 0.0 9.0
e602f10e09e703ff710431cd5334d6eb 0.0 0.0 0.0 22.0 0.0 0.0 0.0 0.0 0.0
64215611ae9b4ee2a430b83eb5b3d75e 21.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
0ded22b6a663d9dd4b9c0d3c6a0ab900 18.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
94ea3d3066b2ee91a2273370eb064a4c 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 18.0
eed52901e2d1fc2b7301e43413375d56 0.0 0.0 0.0 0.0 0.0 16.0 0.0 0.0 0.0
9a74ed9cb720ed9abcf6f3662cea78d7 0.0 9.0 0.0 6.0 0.0 0.0 0.0 0.0 0.0
7fd66609c3c3e21a8ba382af98af80d1 0.0 0.0 0.0 0.0 14.0 0.0 0.0 0.0 0.0
8f5412f292f842d72c71aa514a45d731 0.0 0.0 0.0 0.0 0.0 9.0 0.0 5.0 0.0
055ec3af049dfa9d32bed3233607e801 0.0 0.0 5.0 7.0 0.0 0.0 0.0 0.0 0.0
9c5aba46c8f3c942a1640edd61fe124d 0.0 0.0 5.0 6.0 0.0 0.0 0.0 0.0 0.0
0afe4423f4fe2dab30f9c90be5aad1b5 0.0 0.0 11.0 0.0 0.0 0.0 0.0 0.0 0.0
65926516c01dee876c090e6b78dd5f1b 0.0 0.0 0.0 11.0 0.0 0.0 0.0 0.0 0.0
e2a9afdc20cc6db4a2b99420035e62f6 0.0 0.0 0.0 0.0 11.0 0.0 0.0 0.0 0.0
d5476b3b913c0162b43f622e12723080 0.0 0.0 0.0 0.0 0.0 11.0 0.0 0.0 0.0
f50652cb7c58e51e99faca63b4a97e09 0.0 0.0 0.0 0.0 4.0 0.0 6.0 0.0 0.0
5699abb6eb1e30b9a64d09739346c513 0.0 0.0 0.0 0.0 0.0 10.0 0.0 0.0 0.0
17cfe5c18a3fc73a58bfcdb753c51ccf 0.0 0.0 0.0 0.0 0.0 9.0 0.0 0.0 0.0
8bcdd7676b0173bb8e6f283048a357c2 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 9.0
bdc0ce48ef3de6103293dbdc844313fa 0.0 0.0 0.0 0.0 8.0 0.0 0.0 0.0 0.0
0df12a3611828899508cde6f7daef990 0.0 0.0 0.0 0.0 0.0 8.0 0.0 0.0 0.0
dbc45682f822380e895dc72f0ed89da5 7.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
34289d94a810bb83df21e344baffefde 7.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
f58c017b686de8ac277a9f994b81ee45 7.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
895962738a2803a8ca1229792b3b7210 0.0 0.0 0.0 0.0 7.0 0.0 0.0 0.0 0.0
d08f9cb8f68efd4aaa970d60bfd6d15b 0.0 0.0 0.0 0.0 7.0 0.0 0.0 0.0 0.0
803951c48157492646fcf5045eb5c10e 0.0 0.0 0.0 0.0 7.0 0.0 0.0 0.0 0.0
7275c86c1df71c75afc36d486a97960a 0.0 0.0 0.0 0.0 0.0 0.0 7.0 0.0 0.0
7167030d3fb2e1822c6d68d0c831a0c1 0.0 0.0 0.0 0.0 0.0 0.0 0.0 7.0 0.0
f8f6bc9a88894ab99f66c4dc86521b6f 6.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
0277dd98a8c623d2ca4a1bf1d1452247 0.0 6.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
f81dccad045512a8a696aab0035a523b 0.0 0.0 6.0 0.0 0.0 0.0 0.0 0.0 0.0
f3b39e6faef25012dd4b05bc97f1c3c4 0.0 0.0 0.0 6.0 0.0 0.0 0.0 0.0 0.0
bb53f5179123904c4ca86cf9a2bb096c 0.0 0.0 0.0 0.0 6.0 0.0 0.0 0.0 0.0
13f98cbc4e01bd6367244411069c9173 0.0 0.0 0.0 0.0 6.0 0.0 0.0 0.0 0.0
52295bc5c46e0f9883a6c87a1fa228e5 0.0 0.0 0.0 0.0 6.0 0.0 0.0 0.0 0.0
fd6d53aca3eaf7be3b63f81e01a44dd8 0.0 0.0 0.0 0.0 6.0 0.0 0.0 0.0 0.0
daed98617a77dbc35a3cec398fc03462 0.0 0.0 0.0 0.0 0.0 6.0 0.0 0.0 0.0
39eab8eaa9fa57f5989f766e4c072f01 0.0 0.0 0.0 0.0 0.0 2.0 2.0 2.0 0.0
2b8c32c8972d773a0192b6ad8ecd2793 0.0 0.0 0.0 0.0 0.0 0.0 6.0 0.0 0.0
63334840dd557908d040f216a966abfe 0.0 0.0 0.0 0.0 0.0 0.0 0.0 6.0 0.0
4dd77431f0bae028820db972ea16437d 5.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
02375d5b437b2ec3a1d073e82861cb7c 0.0 5.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
496f0ac0ad9c929ce414d570d6d03932 0.0 0.0 0.0 5.0 0.0 0.0 0.0 0.0 0.0
714aef4dbf0d7d51586f94484e64ca67 0.0 0.0 0.0 0.0 0.0 5.0 0.0 0.0 0.0
d1eb44139817b937cdb75853568c91e7 0.0 0.0 0.0 0.0 0.0 0.0 5.0 0.0 0.0
c86b0f35d57edd6d3a3d6df9f621d131 0.0 0.0 0.0 0.0 0.0 0.0 5.0 0.0 0.0
e7dd6bbc150bb88f8570a223bcea5534 0.0 0.0 0.0 0.0 0.0 0.0 0.0 5.0 0.0
c4bcc43bc9522485aabb19ad1dc30683 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 5.0
8b3552d183726352c9c545445b2c61d6 4.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
d3a81bc9c843867b7bdf3b0001930b4a 4.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
19c02df5f3149678b8e310c078ce0e7f 0.0 0.0 4.0 0.0 0.0 0.0 0.0 0.0 0.0
4d5e159f7db655bdc10015eba624d3a2 0.0 0.0 0.0 4.0 0.0 0.0 0.0 0.0 0.0
6e8e0927b46085fff26c4a75e54da6ac 0.0 0.0 0.0 0.0 4.0 0.0 0.0 0.0 0.0
27f4737005812074fed03940ec301feb 0.0 0.0 0.0 0.0 0.0 4.0 0.0 0.0 0.0
e631c7ee4cfd9c4b62864f859bf4e4e2 0.0 0.0 0.0 0.0 0.0 4.0 0.0 0.0 0.0
0bf32565ec43a29b35fb2aee075c5d2e 0.0 0.0 0.0 0.0 0.0 0.0 0.0 4.0 0.0
bf7b1982f2109a06136851d14811da4d 3.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
3d7429a3ebe70cc79bb6e3882db8c655 3.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
6196f48c07bbfa92f6206b6662caed99 0.0 0.0 3.0 0.0 0.0 0.0 0.0 0.0 0.0
9d4d9f572308178c7870e689df698b19 0.0 0.0 0.0 3.0 0.0 0.0 0.0 0.0 0.0
6d24e7c3d137095b0388b313a47075cd 0.0 0.0 0.0 0.0 3.0 0.0 0.0 0.0 0.0
8c59bcae854d0b7a3b7aeb4f90040200 0.0 0.0 0.0 0.0 3.0 0.0 0.0 0.0 0.0
28e086c6995fb8c6dd607ca3bebd9230 0.0 0.0 0.0 0.0 0.0 3.0 0.0 0.0 0.0
aaed0f066d4ce21746ca0d65f33f8a35 0.0 0.0 0.0 0.0 0.0 3.0 0.0 0.0 0.0
0fabc6ddccf4072fd45d8045bb361239 0.0 0.0 0.0 0.0 0.0 0.0 3.0 0.0 0.0
8acea519dfd1612806b43485c306ef80 0.0 0.0 0.0 0.0 0.0 0.0 3.0 0.0 0.0
748ef9b1d04970c646cf7ca136795669 0.0 0.0 0.0 0.0 0.0 0.0 0.0 3.0 0.0
335ed3a17b7c5bb7d8f771507021a032 0.0 0.0 0.0 0.0 0.0 0.0 0.0 3.0 0.0
220be9bbaaddee51395e1e7de583145a 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 3.0
47329208add500653e99748669d25d97 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 3.0
c3f85832ca323d760fd7ff3308cb0c8c 2.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
7b45b136f6f06e63a6f9cfb80bedf12c 2.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
3d582f593263b71906c4abfb9be1bf0b 0.0 0.0 0.0 2.0 0.0 0.0 0.0 0.0 0.0
5dc93ca0c62392c3f05c6629d1fb420e 0.0 0.0 0.0 0.0 2.0 0.0 0.0 0.0 0.0
741e0eb1a0a6dea2302ca32d3161ade0 0.0 0.0 0.0 0.0 2.0 0.0 0.0 0.0 0.0
6dacade7ecb0429b8413b05ba2e89051 0.0 0.0 0.0 0.0 0.0 0.0 0.0 2.0 0.0
27c71591d484dbe8c9d53f9de6806160 0.0 0.0 0.0 0.0 0.0 0.0 0.0 2.0 0.0
5abf6bc0f7619b04a00b9b1e243e21ac 0.0 0.0 0.0 0.0 0.0 0.0 0.0 2.0 0.0
0244c0b5d307fae25d6f7808ea1ac84f 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 2.0
0b6aaadfc950edbbe7c9e684ada19608 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 2.0
R11_1_P2C2 R3_1_P2C2 R3_2_P2C2 R3_3_P2C2 R9_1_P2C2 R9_1B_P2C2 R9_2_P2C2 R9_3_P2C2 R9_4_P2C2
c19e47cb4a4f04396eb22f6ade39e0e9 0.0 12.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
1141b92588b41115582ea2a9fe3d812f 0.0 24.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
da85e0d26838a674b46986c58fe238bf 0.0 4.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
4c57ed9b59914147a0e83121ffb73f7b 0.0 18.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
0b0e0f1491a0eddc82117a341f76266b 0.0 0.0 0.0 4.0 0.0 0.0 0.0 0.0 0.0
e1f8e7afa92bf1fe11d6f43f3c0530f1 0.0 0.0 0.0 4.0 0.0 0.0 0.0 0.0 0.0
4695eb5a770a4653778ff561bf48d5cd 0.0 0.0 0.0 0.0 0.0 3.0 0.0 0.0 0.0
202f46416d55364a1eded46376941bad 0.0 0.0 0.0 0.0 0.0 6.0 0.0 0.0 0.0
ebe197a3b54f0355ec8e6a0c8774d432 0.0 0.0 2.0 4.0 0.0 0.0 0.0 0.0 0.0
c9c916ebfd8e14d87e37711e2048ca1c 0.0 0.0 0.0 7.0 0.0 0.0 0.0 0.0 0.0
536913b3aea947fc326421256b6002f0 0.0 0.0 0.0 16.0 0.0 0.0 0.0 0.0 0.0
87fed87096e00dded2748108eb26db6b 0.0 4.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
80385d9a56dd8f25cd9102597df7d7a6 0.0 0.0 0.0 5.0 0.0 0.0 0.0 0.0 0.0
120e7b52499617eb925fa12ef88b6228 0.0 0.0 0.0 0.0 2.0 0.0 0.0 0.0 0.0
6440d3d78fcfc49511e2741b47da81af 0.0 0.0 0.0 0.0 0.0 0.0 0.0 2.0 0.0
991c50adc3e6a0fedfc7930b1b1aedc1 0.0 0.0 0.0 0.0 8.0 0.0 0.0 0.0 0.0
8e17efd728f14aa53d719f3d0a79cc3f 0.0 0.0 0.0 0.0 5.0 0.0 0.0 0.0 0.0
b8962ec9654094eb185f58ea529cfdd3 0.0 0.0 0.0 0.0 4.0 0.0 0.0 0.0 0.0
4be7bdc473825cf9557f2d737ddad31c 0.0 0.0 0.0 0.0 4.0 0.0 0.0 0.0 0.0
7e3b80ed0703f3c40e112b91043d86c3 0.0 0.0 0.0 13.0 0.0 0.0 0.0 0.0 0.0
3bf772199d53f28ddf272cc097d89037 0.0 0.0 9.0 0.0 0.0 0.0 0.0 0.0 0.0
25ddda959de5e4a082d15202f9a85042 0.0 0.0 0.0 0.0 0.0 10.0 0.0 0.0 0.0
36f5bf403c54863762c9e21c6a83ba88 0.0 0.0 0.0 0.0 0.0 0.0 0.0 3.0 0.0
380cc390a0aa6cb63d58cdfd65f5ce5c 0.0 0.0 0.0 0.0 0.0 0.0 0.0 5.0 0.0
d3932f979051d2ea3165b9047e7fb899 0.0 0.0 0.0 0.0 0.0 0.0 2.0 0.0 0.0
ba4567f9ddc5dc0deb5d97cb82c60523 0.0 0.0 0.0 0.0 0.0 0.0 4.0 0.0 0.0
c07861bcdffbbde0994debf260cfe2f4 0.0 0.0 0.0 0.0 0.0 0.0 5.0 5.0 0.0
ce7fdc1044ceb79ebdce4e41c3f5b0d9 0.0 0.0 0.0 0.0 0.0 0.0 3.0 0.0 0.0
fede7ea3af26dd3bdef68ba1ddfeba38 0.0 0.0 0.0 2.0 0.0 0.0 0.0 0.0 0.0
7d820566da1658ffdd9145cd0f6e34d8 0.0 0.0 3.0 0.0 0.0 0.0 0.0 0.0 0.0
05ee50127fa3ac68e6a6b899835f9764 0.0 0.0 0.0 0.0 2.0 0.0 0.0 0.0 0.0
6be1329afa72e601911127d780b1ad19 0.0 0.0 0.0 0.0 2.0 0.0 0.0 0.0 0.0
4392696451c1fca8468d38e4c6500d70 0.0 0.0 0.0 0.0 3.0 0.0 0.0 0.0 0.0
d449a36dd500cb290b722fbffe929a80 0.0 0.0 0.0 0.0 3.0 0.0 0.0 0.0 0.0
31011d0132b8d86c124cb9d59530991b 0.0 0.0 3.0 0.0 0.0 0.0 0.0 0.0 0.0
2fe3de01c7dbf1c1a025dd67db5643ac 0.0 0.0 0.0 2.0 0.0 0.0 0.0 0.0 0.0
f92f64b609a511c6a7801ff9819ef320 0.0 0.0 2.0 0.0 0.0 0.0 0.0 0.0 0.0
43adbc37666495399fc6a23a899be3f1 0.0 2.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
96631ce9032d2d39e370c394c8fe97b0 0.0 0.0 11.0 3.0 0.0 0.0 0.0 0.0 0.0
2c19675ccd7191fac01da3b3879f9971 0.0 0.0 5.0 0.0 0.0 0.0 0.0 0.0 0.0
02daea313e5f82389bb6c51aec98b542 0.0 0.0 7.0 0.0 0.0 0.0 0.0 0.0 0.0
9361eb755b5011691e8ffb895a5200f9 0.0 0.0 0.0 3.0 0.0 0.0 0.0 0.0 0.0
905c6cbc09c29cfc58fed9c96de271df 0.0 0.0 0.0 2.0 0.0 0.0 0.0 0.0 0.0
5711efb796f39f652ec27f7c2bf1407a 0.0 0.0 3.0 0.0 0.0 0.0 0.0 0.0 0.0
6ac99d275dda4b5dfdf268196c76da34 0.0 0.0 3.0 0.0 0.0 0.0 0.0 0.0 0.0
824b4940befd7e30c204b35005d30587 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 5.0
448c25ffc8c351587b6c074609b32d7a 0.0 0.0 0.0 0.0 0.0 3.0 0.0 0.0 0.0
fcfb66badc962ce3572799f5c30d0471 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 12.0
21dee8cd03a575e10f1cced377e8d81f 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 3.0
bccdb2d89a4c43c9153c21a8ce8e67b5 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 3.0
a941311fdd87ae1ce300513505f06c04 0.0 0.0 0.0 0.0 0.0 0.0 7.0 0.0 0.0
f3f0b542b49617d6b33ef32e557d579d 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 6.0
0cb2b87ebf129b9f2f03c2d02745e712 0.0 0.0 0.0 0.0 0.0 13.0 0.0 0.0 0.0
e7875dced86a0dc454aeaf1c3f0e338a 3.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
d96d02515f3b3c8d732adae26348fea1 0.0 0.0 0.0 0.0 0.0 2.0 0.0 0.0 0.0
dadd7342bb41e2211e1e0f0482c97d8c 0.0 0.0 0.0 0.0 0.0 0.0 2.0 0.0 0.0
4fb750193f77cc802cd12bd2d755d34b 6.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
3f96beb35c34019d6ba6be3afa995ec5 9.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
39d6403c00d97caca1515c93cbab9b14 0.0 0.0 0.0 0.0 0.0 0.0 0.0 2.0 0.0
b3c76d626021d8fe9ef85ba79e91493c 0.0 0.0 0.0 0.0 0.0 6.0 0.0 0.0 0.0
190720eec1c619ee87948d5e2b0c87a8 0.0 0.0 0.0 0.0 0.0 4.0 0.0 0.0 0.0
0977ffe109a7af0d2211916e403afbc2 4.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
13d404d5f78b3e4e5b07b30724e880fd 5.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
ac843449032fb15f2e36d61ea0e3c4f9 2.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
a1feb45433841be18f0264ef7599b648 7.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
83897d3c123983f50c00952790a30225 5.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
11 changes: 11 additions & 0 deletions q2_dada2/tests/data/expected/ccs-reverse-primer-stats.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
sample-id input primer-removed percentage of input primer-removed filtered percentage of input passed filter denoised non-chimeric percentage of input non-chimeric
#q2:types numeric numeric numeric numeric numeric numeric numeric numeric
R11_1_P2C2 200 158 79 137 68.5 89 89 44.5
R3_1_P2C2 200 152 76 119 59.5 90 90 45
R3_2_P2C2 200 160 80 124 62 89 89 44.5
R3_3_P2C2 200 164 82 127 63.5 99 99 49.5
R9_1_P2C2 200 152 76 118 59 96 96 48
R9_1B_P2C2 200 164 82 138 69 90 90 45
R9_2_P2C2 200 152 76 124 62 68 68 34
R9_3_P2C2 200 151 75.5 124 62 49 49 24.5
R9_4_P2C2 200 160 80 132 66 51 51 25.5
Loading
Loading