From 1b1283131f3c684bfff2c1b165565957ac01b4be Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Fri, 10 Apr 2020 16:11:29 -0400 Subject: Fix swapped fasta/fastq Replace example sequence with COV19 reference instead of HIV. Arvados-DCO-1.1-Signed-off-by: Peter Amstutz --- bh20sequploader/qc_fasta.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bh20sequploader') 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") -- cgit v1.2.3