Skip to content

Commit

Permalink
Merge pull request #451 from GoekeLab/fix_denovo_bug
Browse files Browse the repository at this point in the history
Fix typo in extendAnnotations
  • Loading branch information
andredsim authored Oct 25, 2024
2 parents ab68c3f + 88ae480 commit 1e09799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/bambu-extendAnnotations-utilityExtend.R
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ filterTranscriptsByAnnotation <- function(rowDataCombined, annotationGrangesList
exonRangesCombined <- exonRangesCombined[filterSet]
rowDataCombined <- rowDataCombined[filterSet,]
}
if(sum(filterSet==0) & length(annotationGrangesList)==0) stop(
if(sum(filterSet)==0 & length(annotationGrangesList)==0) stop(
"WARNING - No annotations were provided. Please increase NDR threshold to use novel transcripts")
if(sum(filterSet)==0) message("WARNING - No novel transcripts meet the given thresholds. Try a higher NDR.")
# (3) combine novel transcripts with annotations
Expand Down

0 comments on commit 1e09799

Please sign in to comment.