Created
October 6, 2021 12:24
-
-
Save thanhleviet/e5531bb90ccb02bdb7dcd71eb4afe613 to your computer and use it in GitHub Desktop.
Parse and print records in a csv with nextflow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env nextflow | |
nextflow.enable.dsl=2 | |
ch_pilon = Channel.fromPath(params.sample_sheet) | |
.splitCsv(header: true) | |
.map {row -> tuple(row.sample_id,[row.sr1,row.sr2],row.contigs)} | |
ch_pilon.view() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment