Comments (8)
I agree that this will be a good thing to support. From the point of view of assemblerflow, the required modification is trivial. The fromFilePairs
channel could be defined as:
Channel.fromFilePairs(params.reads, size: params.singleEnd ? 1 : 2, type: 'file')
To allow for both single and paired-end data. However, the majority of the modifications would be on the template scripts themselves, which are mostly designed for paired end data. Moreover, we would need to create a requirement that templates using fastq data would need to support from single and paired-end files, whenever possible.
When that isn't a possibility, that should be explicit in the documentation of the component using the template (and perhaps including a check in pipelines using those components that prevent the input of single end data.
from flowcraft.
Also a statement like this can be used in each process template that requires to handle both paired end or single end inputs.
from flowcraft.
from flowcraft.
Yes, my point is precisely that we can leave that handler to the process itself or to the python script as you say.
from flowcraft.
I've been receiving request to support single FastQ files as input. @tiagofilipe12 example is no longer available but I like @ODiogoSilva solution of having both possibilities in each template. A simple solution is to duplicate the scripts and adjust accordingly.
from flowcraft.
Double the scripts, double the maintenance effort. It seems easier to have the FastQ channel accepting both paired and single reads and then add a condition in the templates depending on the number of fastq received.
from flowcraft.
I agree. I was just thinking about tools where you have to input each fastq file in a different parameter or that have completely different parameters depending if you're working with paired-end or single fastq files.
from flowcraft.
Does Flowcraft support interleaved paired-end FASTQ file, for example as output by samtools mergepe
? That's my preferred format, by far, for paired-end reads.
I opened issue #136 for this feature request.
from flowcraft.
Related Issues (20)
- true_coverage module in innuca recipe
- generated pipelines incompatible with nextflow's pipeline sharing HOT 4
- momps, mlst results overwrite when pipeline is resumed HOT 1
- Flowcraft report instructions
- mobsuite component
- ectyper component
- Change docs instructions from using 'templates' as submodule HOT 1
- Bash errors when running nextflow with latest version (19.07.0) HOT 2
- Integrity coverage fails HOT 15
- Python3 syntax errors HOT 3
- Unable to obtain final report for simple assembly pipeline HOT 1
- using my own Docker from Gitlab HOT 9
- Nextflow "set" input has been discontinued
- New additions in flowcraft/templates not included/updated after build and install
- add ConFindr
- Errors when using option -m broadcast HOT 1
- Errors with spades HOT 18
- Adding to Galaxy?
- bwa gatk not found
- Add more component
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flowcraft.