Skip to content

Commit

Permalink
Merge pull request #148 from mirpedrol/reads-summary
Browse files Browse the repository at this point in the history
add empty reads_counts
  • Loading branch information
mirpedrol committed Jun 4, 2024
2 parents cba895b + 9b0b2a7 commit cf0cff8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/cigar_parser.R
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,7 @@ if (dim(alignment_info)[1] != 0){

}else{
reads_classes <- c("Raw reads", "Merged reads", "Quality filtered reads", "Clustered reads", "Aligned reads")
reads_counts <- c(0, 0, 0, 0, 0)
reads_summary <- data.frame(classes = unlist(reads_classes), counts = unlist(reads_counts))
write.csv(reads_summary,file=paste0(results_path, "_reads-summary.csv"))
fig<-empty_plot("No alignments were produced.
Expand Down

0 comments on commit cf0cff8

Please sign in to comment.