sanger-pathogens / Artemis

Artemis is a free genome viewer and annotation tool that allows visualization of sequence features and the results of analyses within the context of the sequence, and its six-frame translation
http://sanger-pathogens.github.io/Artemis
Other
238 stars 77 forks source link

How to display Transposon insertions in DNAplotter ! #318

Open MSA89 opened 3 years ago

MSA89 commented 3 years ago

Hi all,

I'm new to this subject, and I guess I have a very basic question.

I have my transposon mutant library, and I want to visualize the mapped transposon insertions to the reference genome via DNAplotter (Artemis).

I need the circular plot to be like the attached picture from the literature (where the red lines represent the transposon insertions). literature

In my case, I can only visualize the reference genome in DNAplotter because it is in EMBL format, but I could not import the transposon insertions to the polt.

my_plot

The reason may be that non of the output files from BioTradis pipeline are in EMBL, GFF or GENBANK format (the mapped output files of transposon insertions are in BAM and fq.gz). Therefore, could anyone help or suggest how can I visualize the transposon insertions to the reference genome in DNAplotter.

Thanks in advance,

mpapange commented 1 year ago

I did the following: To use dna plotter with the plots.gz:

  1. Unzip the plot

gunzip *.insert_site_plot.gz

  1. Split the file into 2 files with one column each (DNA plotter can only read files with 1 column)

awk '{ print $1 > "file1"; print $2 > "file2"}' *.insert_site_plot

  1. Go to artemis> File> Open in DNAplotter> Graphs> UserGraph> Add the two files