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

Should be an existing file #111

Open
mdbarnesUCSD opened this issue Jun 18, 2022 · 1 comment
Open

Should be an existing file #111

mdbarnesUCSD opened this issue Jun 18, 2022 · 1 comment

Comments

@mdbarnesUCSD
Copy link

mdbarnesUCSD commented Jun 18, 2022

I am running using the docker container with singularity:

When I run the following command:
singularity exec brass_v6.3.4.sif brass.pl -c 2 -o ${output_dir} -t ${t_bam} -n ${n_bam}

I receive the following message:

Option 'tumour' ([tumor/file/path) should be an existing file.

The tumor file does exist and is found at the specified path. I see on the README that it says the following:

BRASS requires accurate information regarding the insert size distribution and expects to find a *.bam.bas file co-located with the *.bam's. These can be generated by the bam_stats program included in the PCAP-core project. If you use bwa_mem.pl to map your data (same repository) then this file is generated automatically for you.

Could you please clarify if I need to have any other files in the same directory as my bam files, or is this handled by the script?

Thank you very much for your help!

@AndyMenzies
Copy link
Contributor

Hi

You need the *.bam.bas file to exist along side the *.bam file, just as the .bam.bai index file also has to live in the same place.

Brass will not create the .bam.bas file or you, you need to run the bam_stats.pl script found the PCAP-core project.

Andy

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

No branches or pull requests

2 participants