Closed moldach closed 4 years ago
Hi
This is a "classic" example of the human assemblies GRC vs UCSC. The UCSC assembly you downloaded have chromosome names chrI, chrII, etc. The other one names the chromosomes I, II, etc. I am guessing you are using the same RepeatMasker annotations, which then causes mismatch between chromosome names. Since RepeatMasker annotation will have chrI, and the FASTA will have I; they won't match and the repeats will be discarded. The same mismatch will cause TARDIS to skip annotations since as far as it is concerned, there are no repeats in "I", changing the output. Same issue will arise if the chromosome names in BAM file don't match with chromosome names in FASTA and/or RepeatMasker.
I wish there were an easy way to seamlessly fix this issue within SONIC, but it is harder than it looks especially for human, since there are also alternative haplotypes that are named very very differently. The easiest way for you, if the assembly composition is indeed the same, just rename one of your sources. You can remove "chr" from RepeatMasker annotations for example, or add them to FASTA.
Thank you for prompt response and for clearing this up
I'm getting different SONIC files from the reference genome of C. elegans depending on the source (i.e. UCSC and Wormbase). Using all of the references from UCSC fails using the tardis SV caller (which requires the SONIC annotation file).
As there are no duplication/gap annotations for C. elegans we only need to download the following and
touch
empty duplication/gap annotation files #121 - Download chromFa FASTA files into a folder and merge them into a single .fasta file:
Create index file in the same folder:
2 - Download the RepeatMasker .out files into a folder and merge them into a single .out file:
3 & 4. Touch files for missing annotations
When you merge using the UCSC reference:
You get a size of 1.7M
If you download the reference genome file from [Wormbase] however, then try to create the SONIC file you get a SONIC file of only 665K.
As these SONIC files are binary I'm not sure how to investigate the differences between them. However, using the UCSC fasta files results in an error when using tardis.
Using the SONIC file generated from the Wormbase reference will not cause the error:
Wondering if you've seen this before? This should probably be an issue that I bring up with the folks at UCSC as well as with the developer for tardis as well but I'm making it an issue here and will direct them here.