-
Notifications
You must be signed in to change notification settings - Fork 45
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: Found chromosome in region file not in reference genome. Skipping #138
Comments
The error comment I think could be better worded. What it is catching is an attempt to find a chromosome string from the BED file in the BAM header. Can you confirm that there are no chromosome names in the *bed file that are not in the tumor bam header? For this, it actually doesn't check the reference fasta, since that is done elsewhere. If still an issue, I can try to recreate if you provide the BAM header (as a txt file aka SAM file) and the targets bed file. Dropbox link is fine. Should be no actual data in those files. |
I'm not able to re-create, but you could try adding this to the
And then recompiling and rerunning and inspecting the output |
I’m currently using svaba through conda — I’m running into a separate error
with htslib when I try to build svaba from the install (even after
specifically including the htslib path in CPATH). Do you have any ideas
about what might have changed between version 1.2.6 and the previous
version that could be causing the problem? The same command and files were
working on the older version
…-Shivani
On Tue, May 28, 2024 at 12:14 PM Jeremiah Wala ***@***.***> wrote:
I'm not able to re-create, but you could try adding this to the try block
of svabaUtils.cpp right after file_regions = SeqLib::GRC(region_file, h);
for (const auto& a : file_regions) { std::cerr << a.ToString(h) <<
std::endl; assert(a.pos2 >= a.pos1); } std::cerr << h.AsString() <<
std::endl;
And then recompiling and rerunning and inspecting the output
—
Reply to this email directly, view it on GitHub
<#138 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BDXBZ2IRNSVQCFOAEBQQWMDZESUOBAVCNFSM6AAAAABIHZWGBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZVGYZTKOBQGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@walaj I modified the svabaUtils.cpp file like you suggested, but it doesn't change anything. It doesn't write any other output and simply gives the error message that Shivani mentioned previously. Moreover, if instead of providing a bed file, I specify a chromosome, for example
And as mentioned in the previous comments, these exact same commands seem to work and produce results when run on SvABA v1.1.0 installed from Bioconda. |
Hi @walaj, do you have any other suggestions for debugging this issue? I tried running the tool without the -k option as well. That runs for a little bit, generates some intermediate files but eventually throws a different error and fails. |
Hello! I am trying to run svaba for targeted SV detection.
The command works with Svaba v1.1.0 but with v1.2.0 it throws the following error:
I am using the same region file that was working with Svaba v1.1.0 so am unsure why it is not working with the new version. Is there a change that needs to be made to the region file? Thanks in advance!
Here is the command for reference:
"svaba run -G $REF_GENOME.fa -t $TUMOR.bam -n $NORMAL.bam -k $targets.bed -C 5000 -p 4 -a svaba_trial"
The text was updated successfully, but these errors were encountered: