Created
December 27, 2021 10:26
-
-
Save fjossinet/c3f1b17bdb46995dc12d2a95b66ca4ea to your computer and use it in GitHub Desktop.
This plot shows how to use the new element named details. It allows to quickly shape helices, single-strands and junctions.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import io.github.fjossinet.rnartist.core.* | |
rnartist { | |
ss { | |
bn { | |
value = "(((..(((....))).)))...(((..(((....))).)))...((((((..(((....))).)))..(((....))).)))(((..(((....))).)))" | |
} | |
} | |
theme { | |
details { | |
value = 1 | |
} | |
details { | |
value = 3 | |
type = "helix" | |
} | |
details { | |
value = 2 | |
type = "junction" | |
} | |
color { | |
value = "#d741a7" | |
type = "A" | |
} | |
color { | |
value = "#ffffff" | |
type = "a" | |
} | |
color { | |
value = "#3a1772" | |
type = "U" | |
} | |
color { | |
value = "#ffffff" | |
type = "u" | |
} | |
color { | |
value = "#5398be" | |
type = "G" | |
} | |
color { | |
value = "#ffffff" | |
type = "g" | |
} | |
color { | |
value = "#f2cd5d" | |
type = "C" | |
} | |
color { | |
value = "#000000" | |
type = "c" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment