Skip to content

Commit

Permalink
changing CovStats outfile ending
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelgruenstaeudl committed Feb 6, 2024
1 parent 6efad5c commit beff502
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion R/PACVr.R
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ PACVr.quadripRegions <- function(gbkData,
gbkDataDF,
isIRCheck) {
if (isIRCheck) {
logger::log_info('Parsing the different genome regions')
logger::log_info('Parsing the quadripartite genome structure')
quadripRegions <- PACVr.parseQuadripRegions(gbkData,
gbkDataDF)
} else {
Expand Down
6 changes: 3 additions & 3 deletions R/helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -340,21 +340,21 @@ writeTables <- function(regions, bamFile, genes, dir, sample_name) {
# Writing values to output table
write.table(
ir_genes,
paste(dir, .Platform$file.sep, sample_name["sample_name"], "_coverage.genes.bed", sep = ""),
paste(dir, .Platform$file.sep, sample_name["sample_name"], "_coverage.genes.tsv", sep = ""),
row.names = FALSE,
quote = FALSE,
sep = "\t"
)
write.table(
ir_regions,
paste(dir, .Platform$file.sep, sample_name["sample_name"], "_coverage.regions.bed", sep = ""),
paste(dir, .Platform$file.sep, sample_name["sample_name"], "_coverage.regions.tsv", sep = ""),
row.names = FALSE,
quote = FALSE,
sep = "\t"
)
write.table(
ir_noncoding,
paste(dir, .Platform$file.sep, sample_name["sample_name"], "_coverage.noncoding.bed", sep = ""),
paste(dir, .Platform$file.sep, sample_name["sample_name"], "_coverage.noncoding.tsv", sep = ""),
row.names = FALSE,
quote = FALSE,
sep = "\t"
Expand Down

0 comments on commit beff502

Please sign in to comment.