Skip to content

Commit ad8fa4e

Browse files
committed
v10.8 - minimalCoveragePerPosition bug corrected
2 parents d4c2a9f + 76030ff commit ad8fa4e

9 files changed

Lines changed: 18 additions & 5 deletions

File tree

scripts/assess_significance.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env Rscript
2+
13
library(rtracklayer)
24

35
args <- commandArgs()

scripts/freec2bed.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl -w
1+
#!/usr/bin/env perl -w
22
#translate *_ratio.txt (the out put of FREEC) into a BED track
33

44
use strict;

scripts/freec2circos.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl -w
1+
#!/usr/bin/env perl -w
22
#translate "*_ratio.txt" (output of FREEC) into a Circos track
33

44
use strict;

scripts/get_fasta_lengths.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl -w
1+
#!/usr/bin/env perl -w
22
#prints lengths of sequences from a multifasta file
33

44
use strict;

scripts/makeGraph.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env Rscript
2+
13
args <- commandArgs()
24

35
dataTable <-read.table(args[5], header=TRUE);

scripts/makeGraph_Chromosome.R

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<<<<<<< HEAD
12
path = "/data/tmp/cgurjao/Graphical_outputs/R\ scripts/FREEC_7.4/Single-end"
23
setwd(path)
34

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

1112
dataTable <-read.table(args[6], header=T, na.strings="NA");
1213
print(paste (args[6],"read"))
14+
=======
15+
#!/usr/bin/env Rscript
16+
17+
args <- commandArgs()
18+
19+
dataTable <-read.table(args[6], header=TRUE);
20+
print( paste (args[6],"read"))
21+
>>>>>>> 76030ffbfebd715b07a1c240056a37cb02bbb1ff
1322
ratio<-data.frame(dataTable)
1423
chr <- type.convert(args[4])
1524
ploidy <- type.convert(args[5])

src/freec

3.9 KB
Binary file not shown.

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ int main(int argc, char *argv[])
255255
}
256256
}
257257

258-
int minimalTotalLetterCountPerPosition = round_f(float(cf.Value("general","minimalCoveragePerPosition", 0)));
258+
int minimalTotalLetterCountPerPosition = round_f(float(cf.Value("BAF","minimalCoveragePerPosition", 0)));
259259
if (minimalTotalLetterCountPerPosition>0) {
260260
cout << "..will use a threshold of "<< minimalTotalLetterCountPerPosition <<" read(s) per SNP position to calculate beta allel frequency (BAF) values\n";
261261
}

src/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#define VERSION_H
44

55
const double VERSION_OFFSET = 3;
6-
const double FREEC_VERSION = 10.7;
6+
const double FREEC_VERSION = 10.8;
77
const double CONTROL_FREEC_VERSION = FREEC_VERSION - VERSION_OFFSET;
88

99
#endif

0 commit comments

Comments
 (0)