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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble running with " --input '*_R{1,2}.fastq.gz' " #756

Closed
LiamPorter6 opened this issue Jan 29, 2025 · 2 comments
Closed

Trouble running with " --input '*_R{1,2}.fastq.gz' " #756

LiamPorter6 opened this issue Jan 29, 2025 · 2 comments
Labels
wontfix This will not be worked on

Comments

@LiamPorter6
Copy link

If I have a directory of multiple paired-end (R1/R2) .fastq.gz files how would I format the code? --input '*_R{1,2}.fastq.gz' returns errors.
Even when I do one sample : --input 'sample1_R{1,2}.fastq.gz' , I get an error: ERROR ~ Input length = 1
It seems like it only reads the firs fastq.gz in the directory
When I do: --input samplesheet.csv , it runs correctly but using **fastq.gz or R1.fastq.gz,R2.fastq.gz would be faster that creating a csv file in the correct format.
Could you make an example command all fastq.gz paired-end files in current directory as the input:
nextflow run nf-core/mag -profile <docker/singularity/podman/shifter/charliecloud/conda/institute> --input '
_R{1,2}.fastq.gz' --outdir

@jfy133 jfy133 added the wontfix This will not be worked on label Jan 30, 2025
@jfy133
Copy link
Member

jfy133 commented Jan 30, 2025

Hello @LiamPorter6

Supplying reads directly via --input is no longer supported since version 3.3.0.

Code wise, handling both methods was difficult to maintain, and with recent additions such as assembly input, and upcoming long-read only support we need more metadata about each assembly than can be supported by command line flags.

You will have to use samplesheets for now - however you could probably make a little script to auto-generate a samplesheet for you from a pattern as used to be supported.

@jfy133 jfy133 closed this as completed Jan 30, 2025
@jfy133 jfy133 reopened this Jan 30, 2025
@jfy133 jfy133 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 30, 2025
@LiamPorter6
Copy link
Author

thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants