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

How can I load Seqs who do not begin from first base? #143

Open
wangshun1121 opened this issue Jun 26, 2017 · 4 comments
Open

How can I load Seqs who do not begin from first base? #143

wangshun1121 opened this issue Jun 26, 2017 · 4 comments
Assignees

Comments

@wangshun1121
Copy link

For example, I want to compare regions from human, mouse and rat, and the length of the regions I am interested in is only about 500kb or so, but none of these region are at the beginning of Chrs. Then how can I make json from such sequences?

@greatfireball
Copy link
Member

Hey @wangshun1121,

Thanks for the question... For a detailed answer, I need to know how do you generate your alignments? Using the default lastz program or do you precalculate the alignments?

Best,
Frank

@wangshun1121
Copy link
Author

Well, I can use lastz, but I don't want to align whole chromosome Sequences, I only want to study the short region I am interested in.
For example, I can get the seq of human's Chr01, from 80000000bp to 80500000bp, and align it to rat's Chr02 seq 55000000 to 55500000. Then I want to display the alignments within the short region of 500kb.

@greatfireball
Copy link
Member

greatfireball commented Jun 28, 2017

Thanks for your answer @wangshun1121
I already got the point, that you do not want to align the whole chromosomes against each other. If you are using lastz it seems to be an easy task to implement such a feature. I am testing a little bit and implementing that feature until next week. Hope, that is still okay for you. Nevertheless, offset based alignments are currently not supported by AliTV, therefore I created an issue there: AliTVTeam/AliTV#134. We need to figure out, how to display those alignment offsets. For the moment I will generate a JSON file which can be viewed in AliTV with the drawback, that the positions are translated from their original position (e.g. alignment region are base 100k to150k) into 1-based positions (e.g. bases are shown as 1 to 50k+1).

@wangshun1121
Copy link
Author

It's very nice of you @greatfireball ! Look forward to the upgrade of AliTV!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants