mkirsche / Iris

A module for improving the insertion sequences of structural variant calls
MIT License
29 stars 5 forks source link

Reads name invalid error #2

Closed shangshanzhizhe closed 4 years ago

shangshanzhizhe commented 4 years ago

Hi, Amazing CELL article and this software! I'm trying to add the sequence information of insertions to the vcf file. my samples were sequenced using ONT and aligned using NGLMR. when I run the Iris, it told me that my reads' name was invalid. Below is my .bam file looks like: image

What should I do to fix this problem? Thanks for your help!

mkirsche commented 4 years ago

Hi,

Thanks for your interest in the software! Those alignment entries look fine, so an invalid read names error is likely referring to the VCF file. What did you use to generate your SV calls? Iris requires an RNAMES INFO field which indicates a list of supporting reads for each variant (I just updated the README file to indicate this). If you are using Sniffles for variant calling, this field is enabled with the parameter "-n -1". If you already have this field present in all of your variants and this is not the issue, could you please provide an example of the error message, and if you are able to share it, an example of an insertion-type variant call which you are passing to Iris?

Thanks! Melanie

shangshanzhizhe commented 4 years ago

Hi,

Glad to tell you that adding flag '-n -1' of Sniffles worked for me. Thanks a lot!

Shangzhe

mkirsche commented 4 years ago

Hi Shangzhe,

I'm glad to hear that! I'll go ahead and close this Github issue, but please don't hesitate to reach out if you have other problems!

Best, Melanie