Comparing two sequences in IGV

1,064 views
Skip to first unread message

Shakti R

unread,
May 22, 2018, 11:36:48 AM5/22/18
to igv-help
Hi all,

I'm using IGV Js 1.0.9 (but I did'nt find a way to resolve my problem in the desktop version either).

My problem is that it does not seem possible to load two Fasta sequences at once in the same IGV panel.

So my question is of course : is it possible to compare two Fasta in IGV ?
If not, would you know any tool that can (in particular javascript tool that can be embedded in a HTML page) ?


Best regards and Thank you in advance !

S.


Irene Bassano

unread,
May 22, 2018, 11:38:52 AM5/22/18
to igv-...@googlegroups.com
you can use Artemis comparison tool https://www.sanger.ac.uk/science/tools/artemis-comparison-tool-act

not sure if on IGV you can upload to genomes (=fatsa)?

ib
--

---
You received this message because you are subscribed to the Google Groups "igv-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to igv-help+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/igv-help/44ba4c38-9da3-48da-a6f7-976177ac9f16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

James Robinson

unread,
May 22, 2018, 3:13:37 PM5/22/18
to igv-help
Hi,  you can't do that with igv.js.   To compare two sequences you must first align them, otherwise what are you comparing?  See the Artemis tool listed above.   Also,  the UCSC Multiple Alignment tools might be useful.  

On Tue, May 22, 2018 at 11:38 AM, Irene Bassano <ibs...@gmail.com> wrote:
you can use Artemis comparison tool https://www.sanger.ac.uk/science/tools/artemis-comparison-tool-act

not sure if on IGV you can upload to genomes (=fatsa)?

ib

On May 22, 2018, at 4:36 PM, Shakti R <shaktir...@gmail.com> wrote:

Hi all,

I'm using IGV Js 1.0.9 (but I did'nt find a way to resolve my problem in the desktop version either).

My problem is that it does not seem possible to load two Fasta sequences at once in the same IGV panel.

So my question is of course : is it possible to compare two Fasta in IGV ?
If not, would you know any tool that can (in particular javascript tool that can be embedded in a HTML page) ?


Best regards and Thank you in advance !

S.



--

---
You received this message because you are subscribed to the Google Groups "igv-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to igv-help+unsubscribe@googlegroups.com.

--

---
You received this message because you are subscribed to the Google Groups "igv-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to igv-help+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/igv-help/13EDBC83-2F1A-46ED-8A2C-FF1B6A672B13%40gmail.com.

Shakti R

unread,
May 24, 2018, 4:56:37 AM5/24/18
to igv-...@googlegroups.com
Hello,

First of all, thanks for the answers !

In fact, the two sequences are already aligned in MSA multi-alignment format and converted to Fasta. These sequences corresponds to two HLA alleles references (see attachment : A*01:01:01 and A*02:01:01).

Is there a visualization tool that can load these sequences and highlight the differences ? Also, we would like to add information tracks such as amino acid conversion, regions specified in a bed file format (exons/introns), and maybe other useful informations (for example coverage)...

Thanks,

S.





Shakti R

unread,
May 24, 2018, 5:00:09 AM5/24/18
to igv-...@googlegroups.com
The sequences file !

S.

A.fa

James Robinson

unread,
May 24, 2018, 11:11:31 PM5/24/18
to igv-help
Hi, what you are describing doesn't make sense to me.   You cannot "convert" MSA or any other alignment format to fasta without loosing the alignment information.   A fasta file is just a sequence.   An alignment describes how one sequence "aligns" to another, including relative positions, gaps, and insertions.   You cannot represent an alignment with a fasta alone.

However, to answer your question I don't know of any tool that can do what you describe.


Tgrandis

unread,
May 25, 2018, 12:46:02 AM5/25/18
to igv-help
Hello: 

For what it is worth, to visualise the alignment, identify differences and convert to amino acid sequences try the aliview programme (view - highlight non-consensus). download from
http://ormbunkar.se/aliview/ 

Hugo


On Thursday, 24 May 2018 15:56:37 UTC+7, Shakti R wrote:
Hello,

First of all, thanks for the answers !

In fact, the two sequences are already aligned in MSA multi-alignment format and converted to Fasta. These sequences corresponds to two HLA alleles references (see attachment : A*01:01:01 and A*02:01:01).

Is there a visualization tool that can load these sequences and highlight the differences ? Also, we would like to add information tracks such as amino acid conversion, regions specified in a bed file format (exons/introns), and maybe other useful informations (for example coverage)...

Thanks,

S.




2018-05-22 21:13 GMT+02:00 James Robinson <jrob...@broadinstitute.org>:
Hi,  you can't do that with igv.js.   To compare two sequences you must first align them, otherwise what are you comparing?  See the Artemis tool listed above.   Also,  the UCSC Multiple Alignment tools might be useful.  
On Tue, May 22, 2018 at 11:38 AM, Irene Bassano <ibs...@gmail.com> wrote:
you can use Artemis comparison tool https://www.sanger.ac.uk/science/tools/artemis-comparison-tool-act

not sure if on IGV you can upload to genomes (=fatsa)?

ib

On May 22, 2018, at 4:36 PM, Shakti R <shaktir...@gmail.com> wrote:

Hi all,

I'm using IGV Js 1.0.9 (but I did'nt find a way to resolve my problem in the desktop version either).

My problem is that it does not seem possible to load two Fasta sequences at once in the same IGV panel.

So my question is of course : is it possible to compare two Fasta in IGV ?
If not, would you know any tool that can (in particular javascript tool that can be embedded in a HTML page) ?


Best regards and Thank you in advance !

S.



--

---
You received this message because you are subscribed to the Google Groups "igv-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to igv-help+u...@googlegroups.com.

--

---
You received this message because you are subscribed to the Google Groups "igv-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to igv-help+u...@googlegroups.com.

--

---
You received this message because you are subscribed to the Google Groups "igv-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to igv-help+u...@googlegroups.com.

Shakti R

unread,
May 25, 2018, 11:37:39 AM5/25/18
to igv-...@googlegroups.com
Hello,

Aliview does allow to view the sequences, that's a start :)

To answer James message, the general idea is that we initially have paired FASTQ files. Aligment , variant calling, etc, provide BAM and other files with the informations about coverage, etc. For a particular sample, we wanted to visualize two different alleles and compare them. Just using the generated BAM files was not a solution, since it is not possible to view the two alleles at the same time in the IGV track. That's why it seemed interesting to try to use the two alleles sequences in Fasta format as initial tracks in a viewer, then adding the other informations about coverage etc (these informations being indeed available upstream, to be parsed and exported in any format needed for the tool, csv, bed, bigwig...).

But it seems it is a bit too convoluted, anyway thanks again for your help.

S.





To unsubscribe from this group and stop receiving emails from it, send an email to igv-help+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/igv-help/3622289e-0749-4c4a-b3f3-4e2f4c8679f2%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages