mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-21 20:16:03 +00:00
add check for fastq with fasta
This commit is contained in:
parent
a6cfa0a1ba
commit
1b893cb039
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue