Thanks a lot for the reply. I found out a mistake in the path in the bam list but the same error shows up. After running the command independently this is what I get
dell@ubuntu:~$ calcRoiCovg /media/dell/NEW/ACTREC-12.rmdup.bam /media/dell/NEW/ACTREC-4.rmdup.bam /home/dell/Downloads/roi_s.tsv /home/dell/Downloads/hg19_from_2bit.fa /home/dell/Downloads/output/roi_covgs/120418_I812_FCD0VLLACXX_L5_HUMpxiXAABAAAPEI-54.covg 6 8 20
[bam_header_read] EOF marker is absent.
Badly formatted ROI: chr1 16007988 16008107
ROI file should be a tab-delimited list of [chrom, start, stop, annotation]
where start and stop are both 1-based chromosomal loci
For example:
20 44429404 44429608 ELMO2
MT 5903 7445 MT-CO1
NOTE: ROI file *must* be sorted by chromosome/contig names
gmt music bmr calc-covg-helper --normal-tumor-bam-pair "120418_I812_FCD0VLLACXX_L5_HUMpxiXAABAAAPEI-54/media/dell/NEW/ACTREC-12.rmdup.bam/media/dell/NEW/ACTREC-4.rmdup.bam" --roi-file "/home/dell/Downloads/roi_s.tsv" --reference-sequence "/home/dell/Downloads/hg19_from_2bit.fa" --output-file "/home/dell/Downloads/output/roi_covgs/120418_I812_FCD0VLLACXX_L5_HUMpxiXAABAAAPEI-54.covg"
Use of uninitialized value $normal_bam in -s at /usr/share/perl5/Genome/Model/Tools/Music/Bmr/CalcCovgHelper.pm line 143.
Use of uninitialized value $normal_bam in concatenation (.) or string at /usr/share/perl5/Genome/Model/Tools/Music/Bmr/CalcCovgHelper.pm line 143.
Normal BAM file not found or is empty:
Use of uninitialized value $tumor_bam in -s at /usr/share/perl5/Genome/Model/Tools/Music/Bmr/CalcCovgHelper.pm line 144.
Use of uninitialized value $tumor_bam in concatenation (.) or string at /usr/share/perl5/Genome/Model/Tools/Music/Bmr/CalcCovgHelper.pm line 144.
Tumor BAM file not found or is empty:
Use of uninitialized value $normal_bam in -s at /usr/share/perl5/Genome/Model/Tools/Music/Bmr/CalcCovgHelper.pm line 145.
ERROR: Please see 'gmt music bmr calc-covg-helper --help' for more information.
About the EOF marker can it be added to the file separately by script? And I also tried the by removing the chr prefix from chromosomes of ROI file but it Skipped all the ROIs of chr 1 and rest is not taken in both cases and no output is getting generated. I have used joinx comand to sort my ROI file.
My ROI file looks like this:
chr1 14643 14762 LOC376475
chr1 14763 14882 LOC376475
chr1 14944 15063 FAM39B
bam_list
120418_I812_FCD0VLLACXX_L5_HUMpxiXAABAAAPEI-54 /media/dell/NEW/ACTREC-12.rmdup.bam /media/dell/NEW/ACTREC-4.rmdup.bam
120418_I812_FCD0VLLACXX_L5_HUMpxiXAABAAAPEI-54 /media/dell/NEW/ACTREC-12.rmdup.bam /media/dell/NEW/ACTREC-4.rmdup.bam
120418_I812_FCD0VLLACXX_L5_HUMpxiXAABAAAPEI-54 /media/dell/NEW/ACTREC-12.rmdup.bam /media/dell/NEW/ACTREC-4.rmdup.bam
Other than this I am also getting the following error:
dell@ubuntu:~$ genome music bmr calc-covg \
--bam-list /home/dell/Downloads/bam_list \
--output-dir /home/dell/Downloads/output/ \
--reference-sequence /home/dell/Downloads/hg19_from_2bit.fa \
--roi-file /home/dell/Downloads/roi_s.tsv
[bam_header_read] EOF marker is absent.
Badly formatted ROI: chr1 16007988 16008107
ROI file should be a tab-delimited list of [chrom, start, stop, annotation]
where start and stop are both 1-based chromosomal loci
For example:
20 44429404 44429608 ELMO2
MT 5903 7445 MT-CO1
NOTE: ROI file *must* be sorted by chromosome/contig names
Failed to execute: calcRoiCovg /media/dell/NEW/ACTREC-12.rmdup.bam /media/dell/NEW/ACTREC-4.rmdup.bam /home/dell/Downloads/roi*s.tsv /home/dell/Downloads/hg19_from_2bit.fa /home/dell/Downloads/output/roi_covgs/120418_I812_FCD0VLLACXX_L5_HUMpxiXAABAAAPEI-54.covg 6 8 20
Failed to execute: 'gmt music bmr calc-covg-helper --normal-tumor-bam-pair "120418_I812_FCD0VLLACXX_L5_HUMpxiXAABAAAPEI-54 /media/dell/NEW/ACTREC-12.rmdup.bam /media/dell/NEW/ACTREC-4.rmdup.bam" --roi-file "/home/dell/Downloads/roi_s.tsv" --reference-sequence "/home/dell/Downloads/hg19_from_2bit.fa" --output-file "/home/dell/Downloads/output/roi_covgs/120418_I812_FCD0VLLACXX_L5_HUMpxiXAABAAAPEI-54.covg"'
120418_I812_FCD0VLLACXX_L5_HUMpxiXAABAAAPEI-54.covg found in /home/dell/Downloads/output/roi_covgs. Skipping re-calculation.
Use of uninitialized value $tot_____covd in concatenation (.) or string at /usr/share/perl5/Genome/Model/Tools/Music/Bmr/CalcCovg.pm line 353.
Use of uninitialized value $tot_at_covd in concatenation (.) or string at /usr/share/perl5/Genome/Model/Tools/Music/Bmr/CalcCovg.pm line 353.
Use of uninitialized value $tot_cg_covg in concatenation (.) or string at /usr/share/perl5/Genome/Model/Tools/Music/Bmr/CalcCovg.pm line 353.
Use of uninitialized value $tot_cpg_covd in concatenation (.) or string at /usr/share/perl5/Genome/Model/Tools/Music/Bmr/CalcCovg.pm line 353.
I know this is very long but I am very new to this. Your help would be greatly appreciated. Thank You.
Hello,
I'm trying to run bmr calc-covg and got an warning message:
I checked my ROI file to make sure the format is fine. ROI file looks like this:
I also changed the fasta file so that the sequence header match the chr name in ROI
What could be the reason for the error?
Thanks!