nf-core / nf-core/modules

Input naming conventions

Open
#1,450 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Nextflow
Stars
429
Forks
1.1k
Avg merge
1d 6h
Merged PRs (30d)
153

Description

Follow up to https://github.com/nf-core/modules/pull/1437#discussion_r834774713

We currently use reads for unaligned reads(fastq), and then bam for the aligned reads, but this doesn't cover cram, and sam.

It also doesn't cover things like when a bam or a bed file are possible.

I personally think input is a little too vague to name the variable as well.

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 discussion on pull request #1437, then inspect the module inputs that use reads, bam, or input. Done means agreeing on a naming convention that covers fastq, bam, cram, sam, and cases with multiple possible file types, and applying it where relevant; the issue names no files or tests.

Written by the indexing model from the issue text.

Assessment

Domain
developer-experience, tooling
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.