You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rename_seq function is the following self-made function. It is essentially run to recognize genes that are on the same genome as different bins. It is probably specific to this data and not a common function.
Yep, that is definitely off! Right now, there is good and bad news.
Good news, I'm testing a fix for #65, which seems to work and should make your life easier (will upload soon).
# read_gff3 now can handle Augustus CDS
g0 <- read_gff3("issue_91/tmp.gff3.txt", fix_augustus_cds = TRUE)
# rename_seq() a bit more concise ;)
g1 <- g0 %>% mutate(seq_id = str_remove(map(parent_ids, 1), ".m1$"))
gggenomes(g1) +
geom_gene(aes(fill=type), size = 5) +
scale_fill_brewer(palette = "Set1")
Bad news, fixing flip() needs some more thought. The problem are the exons. All other features can simply be flipped by toggling their strand. This is also true for CDS because I merge all parts from one CDS into one feature internally. However, exons stay independent features, so instead of flipping all exons of one gene together (like all CDS parts), each exon is flipped on its own, which doesn't give the intended outcome. Need to ponder...
Hi again,
I faced the problem of flip function against genes containing intron.
This is from public database.
The exon does not reverse correctly.
rename_seq function is the following self-made function. It is essentially run to recognize genes that are on the same genome as different bins. It is probably specific to this data and not a common function.
I guess it may be related to #65, but I don't know the details.
Thanks in advance.
Keigo
tmp.gff3.txt
The text was updated successfully, but these errors were encountered: