aboutsummaryrefslogtreecommitdiff
path: root/bh20sequploader
diff options
context:
space:
mode:
authorPeter Amstutz2020-04-10 16:11:29 -0400
committerPeter Amstutz2020-04-10 16:12:00 -0400
commit1b1283131f3c684bfff2c1b165565957ac01b4be (patch)
tree34afd601783b90fa62ae7f7ca369555bd8b8cbab /bh20sequploader
parent1f66b8270a7bf06f98e2a336385bc84b778ead66 (diff)
downloadbh20-seq-resource-1b1283131f3c684bfff2c1b165565957ac01b4be.tar.gz
bh20-seq-resource-1b1283131f3c684bfff2c1b165565957ac01b4be.tar.lz
bh20-seq-resource-1b1283131f3c684bfff2c1b165565957ac01b4be.zip
Fix swapped fasta/fastq
Replace example sequence with COV19 reference instead of HIV. Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Diffstat (limited to 'bh20sequploader')
-rw-r--r--bh20sequploader/qc_fasta.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bh20sequploader/qc_fasta.py b/bh20sequploader/qc_fasta.py
index e3d4fe7..e47d66b 100644
--- a/bh20sequploader/qc_fasta.py
+++ b/bh20sequploader/qc_fasta.py
@@ -21,8 +21,8 @@ def qc_fasta(sequence):
raise ValueError("FASTA file contains multiple entries")
break
sequence.seek(0)
- return "reads.fastq"
- elif seq_type == "text/fastq":
return "sequence.fasta"
+ elif seq_type == "text/fastq":
+ return "reads.fastq"
else:
raise ValueError("Sequence file does not look like FASTA or FASTQ")