Skip to content

Commit

Permalink
convert gtf/gff2 type "cds" to gff3-standard "CDS".Fixes #177
Browse files Browse the repository at this point in the history
  • Loading branch information
thackl committed Mar 4, 2024
1 parent 9c1b843 commit f4c97b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/read_gff3.R
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ read_gff3 <- function(file, sources=NULL, types=NULL, infer_cds_parents=is_gff2,
x[[3]][x[[3]] == "transcript"] <- "mRNA"
x[[3]][x[[3]] == "5'UTR"] <- "five_prime_UTR"
x[[3]][x[[3]] == "3'UTR"] <- "three_prime_UTR"
x[[3]][x[[3]] == "cds"] <- "CDS"
}

x <- tidy_attributes(x, is_gff2=is_gff2, keep_attr=keep_attr,
Expand Down

0 comments on commit f4c97b6

Please sign in to comment.