MariaNattestad / Assemblytics

Assemblytics is a bioinformatics tool to detect and analyze structural variants from a genome assembly by comparing it to a reference genome.
http://assemblytics.com
MIT License
136 stars 28 forks source link

Tandem contraction #45

Open rillaxy opened 2 years ago

rillaxy commented 2 years ago

Hello, For get high quality SVs, I first aligned the target genome to the ref genome ,then I mapped the ref genome to target genome. I filtered the SVs by intersecting two SVs set and obtained the final SVs. But there was no tandem contraction in either of these comparisons. I think when I do this in reverse, I will get the opposite type of tandem expansion, such as tandem contraction. May I know why

`minimap2 -ax asm5 --cs -t 10 target_sv.fa ref_sv.fa > Ref2Qry.sam

python ~/Assemblytics/sam2delta.py Ref2Qry.sam

Assemblytics Ref2Qry.sam.delta genome 10000 10 1000000`

Looking forward to your reply, thanks Rilla