Code Monkey home page Code Monkey logo

Comments (6)

mnshgl0110 avatar mnshgl0110 commented on August 13, 2024

Hi @Pengzw0909. The issue is mostly caused by absence of synteny in one (or more) chromosomes. Mostly, this is caused by incorrect strand usage. But as you mentioned that you have corrected the strand, I am not quite sure what else could have caused this.

Could you please share the alignment dotplot for the two genomes? You can use fixchr to generate that.

Also, the file sizes of all the *Out.txt files.

It will also be helpful to have the log file generated by running syri with --log DEBUG parameter.

from syri.

Pengzw0909 avatar Pengzw0909 commented on August 13, 2024

Hi @Pengzw0909. The issue is mostly caused by absence of synteny in one (or more) chromosomes. Mostly, this is caused by incorrect strand usage. But as you mentioned that you have corrected the strand, I am not quite sure what else could have caused this.

Could you please share the alignment dotplot for the two genomes? You can use fixchr to generate that.

Also, the file sizes of all the *Out.txt files.

It will also be helpful to have the log file generated by running syri with --log DEBUG parameter.

Hello,
1.query genome is Lactuca_sativa, about 2.6G, another is Lactuca_virosa. It's too slow. Instead, I use the mummer to get the dotplot png.
cmd:
nucmer LsL46.fa Lviro.fa --maxmatch -c 500 -b 500 -l 100 -t 6 -p LsL46_vs_Lviro && delta-filter -1 -i 90 -l 500 LsL46_vs_Lviro.delta> LsL46_vs_Lviro.filtered.delta
mummerplot -p LsL46_vs_Lviro.all.filter.delta Lviro.all.filter.delta --png

LsL46_vs_Lviro all filter delta

2.the file sizes of all the *Out.txt files:
1700729763407

3.--log DEBUG
syri.log

Thanks you.

from syri.

mnshgl0110 avatar mnshgl0110 commented on August 13, 2024

Syri seems to be exiting because it is not able to find synteny for chromosome 9, which again points to mismatching strands. I cannot recall whether mummerplot internally reverse complements the alignments or not, but if it does then this visualisation would not be helpful. Maybe you try using fixchr/dotplot on only the alignments from Chr9 as that might be fast (you might need to subset the fasta files as well)?

from syri.

Pengzw0909 avatar Pengzw0909 commented on August 13, 2024

Syri seems to be exiting because it is not able to find synteny for chromosome 9, which again points to mismatching strands. I cannot recall whether mummerplot internally reverse complements the alignments or not, but if it does then this visualisation would not be helpful. Maybe you try using fixchr/dotplot on only the alignments from Chr9 as that might be fast (you might need to subset the fasta files as well)?

hello, I get the dotplot of Chr9. There are some structural variation.

1.cmd:
ref=LsL46.Chr09.fasta
qry=Lviro.Chr09.fasta
minimap2 -cx asm20 -t 50 --eqx $ref $qry >minimap2.paf
/share/nas1/pengzw/software/fixchr/bin/dotplot -c minimap2.paf -r LsL46.Chr09.fasta -q Lviro.Chr09.fasta -F P

2.fa:Th file size of Chr09 is too big, about 60Mb. I can't upload.

3.dotplot Chr09:
image

Thank you for your help~

from syri.

mnshgl0110 avatar mnshgl0110 commented on August 13, 2024

Hi. Indeed it seems that Chr9 needs to be reverse complemented. The two large forward aligned chunks are not linear to each other, rather the currently inverted blue chunks are linear. I think reverse complementing Chr9 (using the other strand) would solve the issue.

from syri.

Pengzw0909 avatar Pengzw0909 commented on August 13, 2024

Hi. Indeed it seems that Chr9 needs to be reverse complemented. The two large forward aligned chunks are not linear to each other, rather the currently inverted blue chunks are linear. I think reverse complementing Chr9 (using the other strand) would solve the issue.

Hi, I do as you say, and the problem is solved. Thank you very much~
the next time, I think changing direction requires a bit of consideration of location.

image

from syri.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.