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

Error when using bam files without 'chr' #30

Closed
PaulaOteroS opened this issue May 13, 2024 · 2 comments
Closed

Error when using bam files without 'chr' #30

PaulaOteroS opened this issue May 13, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@PaulaOteroS
Copy link

Description of the bug

Hi, I'm a new user and I've tried the pipeline using bam files from a tumor-normal pair with the notation for chromosomes not including the 'chr' particle. After running it, I got results from Virusbreakend, flagstats and bamtools metrics, but all the other tasks failed. I am wondering if this could be due to the bams notation (I saw intermediate files use 'chr') and if there is a way to solve it apart from changing the bam files. Thanks!

Command used and terminal output

nextflow run nf-core/oncoanalyser \
  -r 0.4.5 \
  -c ${CONFIG} \
  --input ${INPUT} \
  --mode wgts \
  --genome GRCh38_hmf  \
  --ref_data_virusbreakenddb_path ${VIRUS_PATH} \
  --ref_data_hmf_data_path ${HMF_DATA_PATH}/5.34_38--2 \
  --outdir ${OUTDIR} \
  -resume \
  -profile singularity

Relevant files

No response

System information

nextflow/23.04.2
Hardware: HPC
Executor: slurm and local
Container engine: Singularity
Version of nf-core/oncoanalyser: 0.4.5

@PaulaOteroS PaulaOteroS added the bug Something isn't working label May 13, 2024
@scwatts
Copy link
Collaborator

scwatts commented May 15, 2024

Hi @PaulaOteroS, thanks for the question. If you're using a custom GRCh38 reference, the contig names must be prefixed with 'chr'. More generally it is strongly recommended to use the Hartwig-distributed reference genomes rather than a custom one.

If you can tell me more about your data and whether it's feasible for you to run oncoanalyser analyses from FASTQ, I can provide some further suggestions.

@scwatts
Copy link
Collaborator

scwatts commented May 23, 2024

Closing this issue for now, please reopen if needed

@scwatts scwatts closed this as completed May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants