Skip to content

Commit

Permalink
v10.8 - minimalCoveragePerPosition bug corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
valeu committed Jun 26, 2017
2 parents d4c2a9f + 76030ff commit ad8fa4e
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 5 deletions.
2 changes: 2 additions & 0 deletions scripts/assess_significance.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env Rscript

library(rtracklayer)

args <- commandArgs()
Expand Down
2 changes: 1 addition & 1 deletion scripts/freec2bed.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
#translate *_ratio.txt (the out put of FREEC) into a BED track

use strict;
Expand Down
2 changes: 1 addition & 1 deletion scripts/freec2circos.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
#translate "*_ratio.txt" (output of FREEC) into a Circos track

use strict;
Expand Down
2 changes: 1 addition & 1 deletion scripts/get_fasta_lengths.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
#prints lengths of sequences from a multifasta file

use strict;
Expand Down
2 changes: 2 additions & 0 deletions scripts/makeGraph.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env Rscript

args <- commandArgs()

dataTable <-read.table(args[5], header=TRUE);
Expand Down
9 changes: 9 additions & 0 deletions scripts/makeGraph_Chromosome.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<<<<<<< HEAD
path = "/data/tmp/cgurjao/Graphical_outputs/R\ scripts/FREEC_7.4/Single-end"
setwd(path)

Expand All @@ -10,6 +11,14 @@ args[4] = 1

dataTable <-read.table(args[6], header=T, na.strings="NA");
print(paste (args[6],"read"))
=======
#!/usr/bin/env Rscript

args <- commandArgs()

dataTable <-read.table(args[6], header=TRUE);
print( paste (args[6],"read"))
>>>>>>> 76030ffbfebd715b07a1c240056a37cb02bbb1ff
ratio<-data.frame(dataTable)
chr <- type.convert(args[4])
ploidy <- type.convert(args[5])
Expand Down
Binary file modified src/freec
Binary file not shown.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ int main(int argc, char *argv[])
}
}

int minimalTotalLetterCountPerPosition = round_f(float(cf.Value("general","minimalCoveragePerPosition", 0)));
int minimalTotalLetterCountPerPosition = round_f(float(cf.Value("BAF","minimalCoveragePerPosition", 0)));
if (minimalTotalLetterCountPerPosition>0) {
cout << "..will use a threshold of "<< minimalTotalLetterCountPerPosition <<" read(s) per SNP position to calculate beta allel frequency (BAF) values\n";
}
Expand Down
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#define VERSION_H

const double VERSION_OFFSET = 3;
const double FREEC_VERSION = 10.7;
const double FREEC_VERSION = 10.8;
const double CONTROL_FREEC_VERSION = FREEC_VERSION - VERSION_OFFSET;

#endif

0 comments on commit ad8fa4e

Please sign in to comment.