Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inverted chromosome warning #189

Closed
mnshgl0110 opened this issue Apr 17, 2023 · 5 comments
Closed

Inverted chromosome warning #189

mnshgl0110 opened this issue Apr 17, 2023 · 5 comments

Comments

@mnshgl0110
Copy link
Member

#184 (comment)

@mnshgl0110
Copy link
Member Author

mnshgl0110 commented Apr 17, 2023

@InfiniteLaugh You need to ensure that for homologous chromosomes same strands are present in the assembly files. You can check the dotplots (generated by fixchr) to decide whether the cleaned chromosomes corresponds to same strands. If you are confident that same strands are being compared, then you can ignore the warning.
If using the output of fixchr, you would need to realign the genomes generated by fixchr.

@InfiniteLaugh
Copy link

@InfiniteLaugh You need to ensure that for homologous chromosomes same strands are present in the assembly files. You can check the dotplots (generated by fixchr) to decide whether the cleaned chromosomes corresponds to same strands. If you are confident that same strands are being compared, then you can ignore the warning. If using the output of fixchr, you would need to realign the genomes generated by fixchr.

Thank you for your immediate answer! ^_^
I looked through newly create file qry.filtered.fa & ref.filtered.fa , and found those warning Chromosome were successfully reversed by fixchr. As you have mentioned, if I try to use fixchr output to call SV, etc., do I have to run mummer again with new fasta files? Or just use the newly produced fasta file with original 108.THrd.coords file? Because I merely found any differences between homologous_strand_corrected_alignments.txt and the original 108.THrd.coords file produced by mummer.

@mnshgl0110
Copy link
Member Author

As you have mentioned, if I try to use fixchr output to call SV, etc., do I have to run mummer again with new fasta files?

Yes, you need to rerun alignments otherwise the genomes and alignments would not match.

@InfiniteLaugh
Copy link

As you have mentioned, if I try to use fixchr output to call SV, etc., do I have to run mummer again with new fasta files?

Yes, you need to rerun alignments otherwise the genomes and alignments would not match.
Thanks for you rely. Now i am fully understand, it seems weird that so many technical posts shared online and published papers never mentioned this steps or issue before. LOL, maybe it's just a small tip for those experts.
In addition, may i open a new issue because i found SNPs output empty.

@mnshgl0110
Copy link
Member Author

Great that it is working. Please start a new issue for other questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants