Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide design file input #104

Closed
apeltzer opened this issue Feb 2, 2021 · 2 comments
Closed

Provide design file input #104

apeltzer opened this issue Feb 2, 2021 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@apeltzer
Copy link
Member

apeltzer commented Feb 2, 2021

Having some type of --input parameter and thus a sample sheet would be very nice 馃憤馃徎

@christopher-mohr christopher-mohr added the enhancement New feature or request label Feb 3, 2021
@christopher-mohr christopher-mohr added this to the 1.1.3 milestone Feb 3, 2021
@szymonwieloch
Copy link

Hi! I also had some issues because of missing input sheet file and maybe I can describe them to you, so that you can make up your mind about this feature.

  1. The current --input approach does not work in certain scenarios. I have a directory structure where the directories (not files) are symlinks. It turns out that the NextFlow file(<glob regex>) function does not handle those cases correctly. You need to specify all files manually.
  2. I also had a long list of directories with FASTQ files. I wanted to process only a subset of them. This was extremely difficult because the glob regex /some/path/*/*.fastq.gz matched all files and there is no easy way to select concrete directories.
  3. input_paths parameter did work for me and solved the problem. However it is not documented. At first I missed it and had to manually change my environment to make the pipeline run.

To sum up, it would be really nice to have an input TSV file with the following example format:

ID    R1    R2
EXAMPLE_ID    /example/path/data_R1.fastq.gz     /example/path/data_R2.fastq.gz

Of course this would have to be documented so that users know about such a feature. NextFlow handles TSV format easily with the splitCsv(header: true, sep:'\t') operator.

@apeltzer apeltzer modified the milestones: 1.1.3, 2.0 Mar 17, 2021
@christopher-mohr
Copy link
Collaborator

Solved by #140.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants