aboutsummaryrefslogtreecommitdiff
path: root/bh20sequploader
diff options
context:
space:
mode:
authorAndreaGuarracino2020-08-28 11:20:22 +0200
committerAndreaGuarracino2020-08-28 11:20:22 +0200
commit8f1819dc9b7ace9727d396d6b89f79b3b41165f8 (patch)
tree1e5d425c0502209f59785ddb131f18452d96a29f /bh20sequploader
parent3165a31e321cbf4641f9afdcbea511ee66f673bb (diff)
downloadbh20-seq-resource-8f1819dc9b7ace9727d396d6b89f79b3b41165f8.tar.gz
bh20-seq-resource-8f1819dc9b7ace9727d396d6b89f79b3b41165f8.tar.lz
bh20-seq-resource-8f1819dc9b7ace9727d396d6b89f79b3b41165f8.zip
local QC is optional
Diffstat (limited to 'bh20sequploader')
-rw-r--r--bh20sequploader/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bh20sequploader/main.py b/bh20sequploader/main.py
index d2a6c5f..314a2ea 100644
--- a/bh20sequploader/main.py
+++ b/bh20sequploader/main.py
@@ -50,7 +50,7 @@ def qc_stuff(metadata, sequence_p1, sequence_p2, do_qc=True):
target[0] = ("reads_1."+target[0][0][6:], target[0][1])
target[1] = ("reads_2."+target[1][0][6:], target[0][1])
- if target[0][2] == 'text/fasta' and sample_id != target[0][1]:
+ if do_qc and target[0][2] == 'text/fasta' and sample_id != target[0][1]:
raise ValueError("The sample_id field in the metadata must be the same as the FASTA header")
except Exception as e: