rrwick / Trycycler

A tool for generating consensus long-read assemblies for bacterial genomes
GNU General Public License v3.0
306 stars 28 forks source link

gfa file to visualize the final consensus fasta by Bandage #15

Open avera1988 opened 3 years ago

avera1988 commented 3 years ago

Hi Ryan, I am using Trycycler to assembly 90 bacterial genomes from fish guts. It is an amazing and very helpful tool. I was able to obtain circular, > 98 % completeness, and very good coverage in all the genomes after following the pipeline and polishing the assemblies by medaka. However, I'm wondering if there is an easy and proper way to obtain a gfa-like file to visualize the genomes in bandage. I would like to plot those circular chromosomes and plasmids as well as those linear ones in a bandage-like figure. I've been looking if there is any available script in the Trycycler pipeline to do this, but so far I haven't found any.

Hope you can help me.

Thank you in advance.

Arturo.

rrwick commented 3 years ago

Hi Arturo,

There is not currently a Trycycler command to make a GFA from an assembly, but it wouldn't be difficult to do. Each contig sequence would form a segment, and each circular contig would get a zero-overlap link connecting the end to the start.

I'll tag this as an enhancement and keep it in mind for the next release of Trycycler. Thanks!

And some notes to my future self about implementation:

Ryan

avera1988 commented 3 years ago

Hi Ryan,

Thank you for the replay. I will work on this trying to produce the gfa-file following your comments. I consider it would be super nice to have these enhancements in the following release.

Cheers!

Arturo.