Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to visually display the results of blast double sequence alignment using R language package circlize

2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

How to use the R language package circlize to visually display the results of blast double sequence alignment? in view of this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.

Circlize is a powerful package, and it is very convenient to draw circles in R language.

Today's article records the code that uses circlize as a package to draw a circle diagram to show the result of blast double sequence alignment.

Articles on plant mitochondrial genomes usually analyze gene transfer between organelle genomes, and the basic analysis method is blast comparison. Visual display can be done with this circle diagram.

The first is to use blast to build a library for comparison.

Makeblastdb-in mt.fasta-dbtype nucl-out mt

Blastn-query cp.fasta-db mt-outfmt 6 > output.txt

Then there is the part of preparing data to draw the outermost circle to show the two sequences.

Df df

Chr x y

1 chloroplast 1 0

2 chloroplast 131478 1

3 mitochondrial 1 0

4 mitochondrial 444567 1

Then read the output of blast.

Df1

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report