process getFirstMinimumCoverage {
input:
file coverageInfo from coverageFileChannel
output:
val firstMinPair into firstMinPairChannel
script:
"""
#!/usr/bin/env python
sampleName = "$coverageInfo".replace(".ctx.covg","")
fh = open("$coverageInfo", "r")
pairsList = []
for line in fh:
line = line.strip()
pairsList.append(line.split("\t"))
fh.close()
firstMinPair = pairsList[2]
for i in range(2,len(pairsList) - 2):
if int(pairsList[i][1]) < int(pairsList[i+1][1]):
firstMinPair = pairsList[i]
break
"""
}
Caused by:
Missing value declared as output parameter: firstMinPair
output:
stdout into firstMinPairChannel
--
You received this message because you are subscribed to the Google Groups "Nextflow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nextflow+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/nextflow.
For more options, visit https://groups.google.com/d/optout.