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

BAM index (bai) should be provided #700

Closed
sabrina0701 opened this issue Aug 2, 2022 · 2 comments
Closed

BAM index (bai) should be provided #700

sabrina0701 opened this issue Aug 2, 2022 · 2 comments
Labels
Milestone

Comments

@sabrina0701
Copy link

Description of the bug

When I started with (u)BAM, I prepare a CSV contained patient, status, sample, lane, bam columns, I got an error: BAM index (bai) should be provided.

Why does this happen? The tutorial doesn't say Samplesheet Columns must contain bai. Must I provide Bam index bai when I start with (u)BAM?

Command used and terminal output

command: nextflow run nf-core/sarek \
--input /SAN/colcc/CPI_raw/Jansen_CRC/Jansen_CRC.csv \
-profile singularity \
--step mapping

output:
BAM index (bai) should be provided.
Argument of `file` function cannot be null

Relevant files

No response

System information

Nextflow: 22.04.5.5708
Hardware: HPC
Container: Singularity
nf-core/sarek v3.0

@sabrina0701 sabrina0701 added the bug Something isn't working label Aug 2, 2022
@FriederikeHanssen
Copy link
Contributor

Hi @sabrina0701 ! Yes at the moment the bai must be added. I'll update the docs.

@FriederikeHanssen FriederikeHanssen added docs and removed bug Something isn't working labels Aug 2, 2022
@FriederikeHanssen FriederikeHanssen added this to the 3.1 milestone Aug 2, 2022
@maxulysse maxulysse modified the milestones: 3.1, 3.2 Nov 23, 2022
@wlyucl
Copy link

wlyucl commented Sep 29, 2023

Hello,

I've encountered the same issue when starting from unmapped bam files using Sarek v3.1.2. Are the BAI files still required for this version?

_WARN: There's no process matching config selector: NFCORE_SAREK:SAREK:CRAM_QC_NO_MD:SAMTOOLS_STATS -- Did you mean: NFCORE_SAREK:SAREK:CRAM_QC_RECAL:SAMTOOLS_STATS?
BAM index (bai) should be provided.

Argument of file function cannot be null_

Thank you

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

No branches or pull requests

4 participants