Skip to content

Commit

Permalink
Organized outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dana Elizabeth Wyman committed Dec 22, 2018
1 parent e06e385 commit 4895e7b
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions post-TALON_tools/generate_talon_report.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,25 @@ main <- function() {
outdir <- opt$outdir
datasets <- str_split(opt$datasets, ",")[[1]]
whitelists <- process_whitelists(database, datasets, opt$whitelists)


#print(count_reads_processed(database, datasets[1]))
#print(count_known_genes(database, datasets))
#print(count_known_transcripts(database, datasets))
message("--------------------------")

message("Number of reads successfully annotated in dataset ", datasets[1],
": ", count_reads_processed(database, datasets[1]), sep="")
message("Number of known genes detected at least once in dataset ",
datasets[1], ": ", count_known_genes(database, datasets[1]), sep="")
message("Number of known transcripts detected at least once in dataset ",
datasets[1], ": ", count_known_transcripts(database, datasets[1]), sep="")
message("--------------------------")

#plot_read_length_distribution(database, datasets[1],
# whitelists[[1]]$transcript_ID,
# custom_theme, outdir)
plot_read_length_distribution(database, datasets[1],
whitelists[[1]]$transcript_ID,
custom_theme, outdir)

#plot_isoforms_per_gene(whitelists[[1]], custom_theme, outdir)
plot_isoforms_per_gene(whitelists[[1]], custom_theme, outdir)

#plot_exons_per_read(database, datasets[1],
# whitelists[[1]]$transcript_ID,
# custom_theme, outdir)
plot_exons_per_read(database, datasets[1],
whitelists[[1]]$transcript_ID,
custom_theme, outdir)

plot_TPM_distributions(database, datasets[1], whitelists[[1]]$transcript_ID,
custom_theme, outdir)
Expand Down

0 comments on commit 4895e7b

Please sign in to comment.