Skip to content

Commit

Permalink
Update 2_Optimized _annotation_assembler.R
Browse files Browse the repository at this point in the history
  • Loading branch information
PoolLab authored Mar 21, 2023
1 parent 1b97425 commit 32e2dcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 2_Optimized _annotation_assembler.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ boundary_fix = read.csv("gene_extension_candidates.csv", header=T)
rename_genes = read.csv("rename_genes.csv", header=T)

new_df = exonic_df
rm(exonic_gtf)


#### 1. Create premRNA genome annotation from input gtf that defines transcripts as exons ####
###############################################################################################
Expand All @@ -63,7 +63,7 @@ rm(exonic_gtf)
# --include-introns mode in Cell Ranger 6 or default mode in later ierations to retrieve
# most of available intronic reads.

transcripts_df = exonic_df[exonic_df$type == "transcript",]
transcripts_df = new_df[new_df$type == "transcript",]
exons_df = transcripts_df # Create new dataframe to contain premrna exons
exons_df$type = rep("exon", nrow(exons_df)) # rename "type" from transcripts to exon

Expand Down

0 comments on commit 32e2dcd

Please sign in to comment.