1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-11-21 21:16:05 +00:00

add check for fastq with fasta

This commit is contained in:
maxibor 2022-02-18 13:27:10 +01:00
parent a6cfa0a1ba
commit 1b893cb039

View file

@ -181,6 +181,12 @@ def check_samplesheet(file_in, file_out):
sample and fasta and not fastq_1 and not fastq_2
): ## Single-end long reads
sample_info.extend(["1", fastq_1, fastq_2, fasta])
elif fasta and (fastq_1 or fastq_2):
print_error(
"FastQ and FastA files cannot be specified together in the same library!",
"Line",
line,
)
else:
print_error("Invalid combination of columns provided!", "Line", line)