Skip to content

Commit

Permalink
QC fixed message
Browse files Browse the repository at this point in the history
  • Loading branch information
German Demidov authored and German Demidov committed Dec 10, 2018
1 parent d180ba1 commit 8555e10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions somatic/germlineSolver.R
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ for (sam_no in 1:ncol(coverage.normalised)) {
finalPValue = 1.0
fileToOut <- paste0(folder_name, sample_name, paste0("/", sample_name, "_cnvs.tsv"))
fileConn<-file(fileToOut)
writeLines(c(paste("##number of iterations:", iterations, collapse = " ")), fileConn)
writeLines(c(paste("##number of outliers:", round(median(vectorWithNumberOfOutliers), digits=3), collapse = " ")), fileConn)
writeLines(c(paste("##number of iterations:", iterations, collapse = " "),
paste("##fraction of outliers:", round(median(vectorWithNumberOfOutliers), digits=3), collapse = " ")), fileConn)
close(fileConn)
write.table(found_CNVs_total, file = fileToOut, quote=F, row.names = F, sep="\t", append = T)
}
Expand Down

0 comments on commit 8555e10

Please sign in to comment.