mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-24 13:49:54 +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 ]
|
// Function to get list of [ meta, fasta ]
|
||||||
def create_fasta_channel(LinkedHashMap row) {
|
def create_fasta_channel(LinkedHashMap row) {
|
||||||
def meta = row.subMap(['sample', 'run_accession', 'instrument_platform'])
|
def meta = row.subMap(['sample', 'run_accession', 'instrument_platform'])
|
||||||
meta.single_end = true
|
meta.id = meta.sample
|
||||||
meta.is_fasta = true
|
meta.single_end = true
|
||||||
|
meta.is_fasta = true
|
||||||
|
|
||||||
if (!file(row.fasta).exists()) {
|
if (!file(row.fasta).exists()) {
|
||||||
exit 1, "ERROR: Please check input samplesheet -> FastA file does not exist!\n${row.fasta}"
|
exit 1, "ERROR: Please check input samplesheet -> FastA file does not exist!\n${row.fasta}"
|
||||||
|
|
Loading…
Reference in a new issue