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_stat_make_input.sh bug - creating incorrect entry in the /Inputs/bam_stat.inputs file #5

Open
NJNataren opened this issue Mar 18, 2024 · 0 comments

Comments

@NJNataren
Copy link

NJNataren commented Mar 18, 2024

When running downstream script bam_stat_run_parallel.pbs, the following error occurred and was noted in the /Logs
../QC_reports/test_final_bams/S1.final.bam does NOT exists

This was due to the the variable $bam= in the bam_stat_make_input.sh, which is defined as
#bam=${outdir}/${sampleid}.final.bam and is thus creating an the entry in the /Inputs/bam_stat.inputs file below:
<sample>,../QC_reports/<cohort>_final_bams/<sample>.final.bam,
resulting in the error
../QC_reports/<cohort>_final_bams/<sampl>.final.bam does NOT exists

bam_stat.sh expects the input below:
<sample>,../<cohor>_final_bams/<sample>.final.bam,

Which was corrected by supplying the bamdir=../${cohort}_final_bams directory and
changing the bam= variable in bam_stat_make_input.sh to
bam=${bamdir}/${sampleid}.final.bam

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

1 participant