nf-core / nf-core/funcprofiler

CAT_FASTQ: symlink fastq files when no merging needed

Open
#70 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Nextflow
Stars
3
Forks
5
Avg merge
2d 23m
Merged PRs (30d)
1

Description

Description of feature

Related to #69, I had a look at the CAT_FASTQ output. Most of my files have just one set of fastqs per sample so the cat step unecessarily duplicates data.

Maybe this process can be updated to check if there are only 1 fastq in each of the input1 and input2 folders, and if so, just symlink the file to the output instead. Might need to symlink from the original fastq path rather than symlink the working dir fastq symlink.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the CAT_FASTQ process and related issue #69, then trace how the input1 and input2 folders and output paths are constructed. Confirm the behavior for one FASTQ per input folder and for multiple FASTQs; done means the single-file case produces symlinks without merging while the existing multi-file behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Domain
data-engineering
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.