mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-13 07:13:10 +00:00
fix: insert id
key again
This commit is contained in:
parent
246da8a7b0
commit
fa1c779536
1 changed files with 4 additions and 3 deletions
|
@ -65,9 +65,10 @@ def create_fastq_channel(LinkedHashMap row) {
|
|||
|
||||
// Function to get list of [ meta, fasta ]
|
||||
def create_fasta_channel(LinkedHashMap row) {
|
||||
def meta = row.subMap(['sample', 'run_accession', 'instrument_platform'])
|
||||
meta.single_end = true
|
||||
meta.is_fasta = true
|
||||
def meta = row.subMap(['sample', 'run_accession', 'instrument_platform'])
|
||||
meta.id = meta.sample
|
||||
meta.single_end = true
|
||||
meta.is_fasta = true
|
||||
|
||||
if (!file(row.fasta).exists()) {
|
||||
exit 1, "ERROR: Please check input samplesheet -> FastA file does not exist!\n${row.fasta}"
|
||||
|
|
Loading…
Reference in a new issue