kircherlab / CADD-SV

CADD-SV – a framework to score the effect of structural variants
https://cadd-sv.bihealth.org
MIT License
14 stars 3 forks source link

ChrY converted to ChrX in scoring.R #19

Open TessavdV opened 2 days ago

TessavdV commented 2 days ago

Hi CADD-SV team,

I have an issue with the retention of variants located on the Y-chromosome. My input contains 67 variants on the Y-chromosome, and they are still presented as such in matrix.bed, but in {samplename}_score.bed they are presented as ChrX-variants, with all other information (like location) remaining the same. So the only change is where column 1 previously said 'chrY' in matrix.bed, it says 'X' in the final output file. Since this file conversion happens in the rule 'scoring', which executes scoring.R, it might be happening there. Besides this, the variants still seem to be scored correctly. I didn't see a related git-issue, but if you've heard of this issue before, or have an idea as to why this happens, i'd be very gratefull for any assistance.

Besides this the tool runs smoothly. I'd like to thank you on the very interesting algorithm and any help you can provide on this issue. Many thanks, Tessa

CatonaO commented 23 hours ago

Hi Tessa,

Thank you for bringing this to our attention, and thank you for using the tool! The issue was in the scoring.R script as you pointed out and should be fixed now, so please pull the latest version and retry your analysis. Also a small reminder to interpret results on sex chromosomes with caution given that they are not used in training.

Thank you again for identifying this issue, and please let us know if you run into anything else.

Best, Orazio