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

Multiple sequences in a single viewer #7

Open
stared opened this issue Jun 15, 2015 · 9 comments
Open

Multiple sequences in a single viewer #7

stared opened this issue Jun 15, 2015 · 9 comments

Comments

@stared
Copy link

stared commented Jun 15, 2015

Maybe I am missing something obvious, but is it possible yo have multiple sequences in a single viewer?

I need to compare 2-3 protein sequences at once. Current viewer looks nifty (especially with mouseover zoom + selection zoom), but while it is possible to add other annotations, I didn't find a way to add more sequences.

@alexmasselot
Copy link
Collaborator

Hei Piotr
It's not possible as is.
But if we you have a reference sequence.
You can add another one, as a list of feature of type 'altSequence'
Then have a custom display feature to display this altSequence, where it's just plotting the character.

If the sequence are not too large (not something like 100k long), that should be straightforward

Does it make any sense to you?
Alex

@stared
Copy link
Author

stared commented Jun 15, 2015

Thanks Alex!

Sequences of something like 300 aminoacids.

However, if I need to reimplement everything (including this on-hover zoom) them I am afraid that it's simpler to write a similar widget on my own than trying to replicate everything.

@alexmasselot
Copy link
Collaborator

No you don't at all. I try to have a check at that once I'm on my laptop.
That is pretty straightforward
Alex
On Jun 15, 2015 3:57 PM, "Piotr Migdał" [email protected] wrote:

Thanks Alex!

Sequences of something like 300 aminoacids.

However, if I need to reimplement everything (including this on-hover
zoom) them I am afraid that it's simpler to write a similar widget on my
own than trying to replicate everything.


Reply to this email directly or view it on GitHub
#7 (comment).

@stared
Copy link
Author

stared commented Jun 15, 2015

That would be great!

@alexmasselot
Copy link
Collaborator

http://bl.ocks.org/alexmasselot/d410208abc1b618d1f51

Is that making any sense?
Alex

On Mon, Jun 15, 2015 at 4:14 PM, Piotr Migdał [email protected]
wrote:

That would be great!


Reply to this email directly or view it on GitHub
#7 (comment).

Alexandre Masselot

http://alexandre-masselot.blogspot.ch
http://alexandre-masselot.blogspot.com//
http://alexandre-masselot.blogspot.ch/
http://mtroopgoeswest.blogspot.ch/

@stared
Copy link
Author

stared commented Jun 16, 2015

Thanks! But actually I having the biggest problem with with on-hover zoom (this LPPGA) - so to have it for both sequences.

screen shot 2015-06-16 at 16 44 03

@alexmasselot
Copy link
Collaborator

Hei Piotr
Yeaaa, I see. Therefore it's a slighly biggest challenge. That's the
problem with proposing fancy features (Ok, I was proud of this one)
Alex

On Tue, Jun 16, 2015 at 4:46 PM, Piotr Migdał [email protected]
wrote:

Thanks! But actually I having the biggest problem with with on-hover zoom
(this LPPGA) - so to have it for both sequences.

[image: screen shot 2015-06-16 at 16 44 03]
https://cloud.githubusercontent.com/assets/1001610/8185841/f1d7b396-1446-11e5-9186-9f7a0801b699.png


Reply to this email directly or view it on GitHub
#7 (comment).

Alexandre Masselot

http://alexandre-masselot.blogspot.ch
http://alexandre-masselot.blogspot.com//
http://alexandre-masselot.blogspot.ch/
http://mtroopgoeswest.blogspot.ch/

@stared
Copy link
Author

stared commented Jun 18, 2015

@alexmasselot And you should be proud! (It serves as a great inspirations!)

In any case, I ended up reimplementing it on my own. (Plus, as I am likely to be asked to add more custom features.)

http://jsfiddle.net/stared/34wn5we9/ (of course there are a few more things I need to fix/tweak/add)
screen shot 2015-06-18 at 20 41 32

@alexmasselot
Copy link
Collaborator

Waoow! You did it great!
Having fun with d3 is good.

Alex

On Thu, Jun 18, 2015 at 8:46 PM, Piotr Migdał [email protected]
wrote:

You should be proud! (It serves as a great inspirations!)

In any case, I ended up reimplementing it on my own. (Plus, as I am likely
to be asked to add more custom features.)

http://jsfiddle.net/stared/34wn5we9/ (of course there are a few more
things I need to fix/tweak/add)
[image: screen shot 2015-06-18 at 20 41 32]
https://cloud.githubusercontent.com/assets/1001610/8239169/77e84e00-15fa-11e5-8f8a-8b0685d1b7c8.png


Reply to this email directly or view it on GitHub
#7 (comment).

Alexandre Masselot

http://alexandre-masselot.blogspot.ch
http://alexandre-masselot.blogspot.com//
http://alexandre-masselot.blogspot.ch/
http://mtroopgoeswest.blogspot.ch/

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