Skip to content

Commit d8b9755

Browse files
author
suiyue
committed
remove the basename(file) in writeToGTF
1 parent 57eddb1 commit d8b9755

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/readWrite.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ writeToGTF <- function(annotation, file, geneIDs = NULL) {
232232
writeAnnotationsToGTF <- function(annotation, file, geneIDs = NULL, outputExtendedAnno = TRUE,
233233
outputAll = TRUE, outputBambuModels = TRUE, outputNovelOnly = TRUE){
234234
if(outputExtendedAnno){
235-
writeToGTF(annotation, paste0(basename(file), "extendedAnnotations.gtf"), geneIDs)
235+
writeToGTF(annotation, paste0(file, "extendedAnnotations.gtf"), geneIDs)
236236
}
237237
if(outputAll){
238238
annotationAll = setNDR(annotation, 1)

0 commit comments

Comments
 (0)