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

Custom chromosome number and size defined by users. #270

Open
MarilyneSummo opened this issue May 10, 2021 · 3 comments
Open

Custom chromosome number and size defined by users. #270

MarilyneSummo opened this issue May 10, 2021 · 3 comments

Comments

@MarilyneSummo
Copy link

Hi,

I am currently working on a form to generate custom visualizations with ideogram. Until now I was working on known species, but I would like to offer the possibility to users to choose the number of chromosomes to draw and their sizes.

I'm trying to change the value of the global variable chrBands to display custom chromosomes but if I understand correctly, ideogram still has to rely on an existing json file (by configuring dataDir or by retrieving the json from the internet) and so my chrBands variable is overwritten after my call to ideogram.

I would like to skip this step by having for example the possibility to define the value of chrBands in the config for unknown organisms.

Is it possible to add this option in the config? Or is there another way to fully customize the chromosomes without using a json file?

@eweitz
Copy link
Owner

eweitz commented May 10, 2021

Would it help if I extended the chromosomes API option to accept an array of objects, each including a name and length?

Also, out of curiosity, where are you using Ideogram?

@MarilyneSummo
Copy link
Author

Yes it would be very useful. The format of chrBands seemed to me to be the most adapted to take into account the informations of centromeres (if available) and the particular cases like aneuploidy.

I work at CIRAD, in France, on the detection of genetic mosaicism in plants.

@mrouard
Copy link
Contributor

mrouard commented Jun 30, 2021

Hello Eric,

This feature would be very useful as it may allow to skip a node.js server set up for ideogram. Is that correct?
Many thanks

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

3 participants