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

Bands not shown #15

Open
KeywanHP opened this issue Sep 29, 2022 · 2 comments
Open

Bands not shown #15

KeywanHP opened this issue Sep 29, 2022 · 2 comments
Assignees

Comments

@KeywanHP
Copy link
Member

I tried to add multiple colored bands to a basemap.xml without success. It should be supported as described here.

I did this:

	<chromosome index="1" length="30000000" number="1">
		<band index="1">
			<start>0</start>
			<end>14000000</end>
			<color>0xFFFFFF</color>
		</band>
		<band index="2">
			<start>15000000</start>
			<end>30000000</end>
			<color>0xFFFF00</color>
		</band>
        </chromosome> 

and expected to see something like this:
image

But no colored bands were shown. I also noticed that band elements can in fact be omitted if we want to draw plain white chromosomes:

<genome>
    <chromosome index="1" length="30427671" number="1" />
    <chromosome index="2" length="19698289" number="2" />
</genome>

My conclusion: Looks as if the band information is ignored or overwritten somehow.

@marco-brandizi
Copy link
Member

Likely, it's best to do this after the overall refactoring described in Rothamsted/knetminer#366, happening in the 202204_upgrades branch.

@Arnedeklerk
Copy link
Member

Related to Rothamsted/knetminer#677

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

4 participants