Relative Content

Tag Archive for nextflow

How to download files using REST API and process them with Nextflow

I need to use REST API to download files in JSON. Then, I will run another process to update these files, for example, modify these files and submit these files to another database, etc. However, my code returns nothing. I learned from the first script and I am aware that Nextflow syntax looks like Groovy.

Nextflow methylseq on multiple fastq files per sample: how to concatenate files

I am totally new to Nextflow.
I have some methylation files that I processed but ended up with a very low coverage.
I have 72 samples, and the facility gave us 72 fastaq files for run 1 read 1, 72 for run 1 read 2, 72 for run 2 read 1 and 72 for run 2 read 2. so basically I have 4 files per sample. They said “Sequenced across 6 lanes of 2 separate NovaSeq S4 2×150-bp runs (2 lanes in Run 1and 4 lanes in 2). Reads are concatenated across lanes by sample ID within each flow cell. You will need to concatenate reads by sample ID across the 2 flow cells to achieve the full depth for each sample”. Now, reading the Nextflow documentation i understood I could list all files in a single samplesheet.csv and Nextflow would recognize files from the same sample and concatenate them, so I ended up with a csv like this: