Skip to content

Instantly share code, notes, and snippets.

@fjossinet
Created December 27, 2021 16:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fjossinet/c24915b773c3ff7cc7092902cb5dbb92 to your computer and use it in GitHub Desktop.
Save fjossinet/c24915b773c3ff7cc7092902cb5dbb92 to your computer and use it in GitHub Desktop.
Quite elaborate plot for snRNA SNORA75 (RF00072) in Salmo gairdneri (AJ009730.1)
import io.github.fjossinet.rnartist.core.*
rnartist {
ss {
rfam {
id = "RF00072"
name = "AJ009730.1/1-133"
}
}
theme {
details {
value = 3
}
details {
value = 2
type = "single_strand junction"
}
details {
value = 4
location {
89 to 94
102 to 107
}
}
color {
value = "#2f4858"
type = "A"
}
color {
value = "#ffffff"
type = "a"
}
color {
value = "#33658a"
type = "U"
}
color {
value = "#ffffff"
type = "u"
}
color {
value = "#86bbd8"
type = "G"
}
color {
value = "#ffffff"
type = "g"
}
color {
value = "#f6ae2d"
type = "C"
}
color {
value = "#000000"
type = "c"
}
color {
value = "#ff0000"
location {
74 to 89
107 to 121
}
type = "A"
}
color {
value = "#4d804d"
location {
74 to 89
107 to 121
}
type = "G"
}
show {
location {
74 to 89
107 to 121
}
type = "R r"
}
line {
type = "N"
value = 1.0
}
line {
location {
1 to 2
8 to 15
17 to 21
25 to 33
37 to 43
45 to 53
59 to 68
74 to 89
94 to 102
107 to 121
127 to 133
}
type = "phosphodiester_bond"
value = 5.0
}
}
layout {
junction {
type = 2
location {
74 to 89
107 to 121
}
out_ids = "n"
}
junction {
type = 2
location {
17 to 21
37 to 43
}
out_ids = "e"
}
junction {
type = 2
location {
14 to 15
45 to 49
}
out_ids = "w"
}
}
}
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment