nf-core / nf-core/phaseimpute

Add fasta existence check for prepare_genome

Open
#304 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Nextflow
Stars
35
Forks
23
Avg merge
16d 3h
Merged PRs (30d)
1

Description

Description of the bug

If no fasta provided then the error message is quite obscure:

ERROR ~ Argument of `file()` function cannot be null
Command used and terminal output

Relevant files

No response

System information

No response

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 by locating the prepare_genome entry point and tracing how the fasta input reaches file(). Check whether the pipeline has an existing validation path or test for missing inputs. Done means a missing fasta produces a clear, specific error instead of the null file() message.

Written by the indexing model from the issue text.

Assessment

Domain
bioinformatics
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.