You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: RASCalculator.py
+4-1
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@
27
27
parser.add_argument("-C", "--NrChroms", type=int, metavar="<INT>", default=22, required=False, help="The number of chromosomes in the dataset. [22]")
28
28
parser.add_argument("-d", "--details", action='store_true', help="Print RAS calculations for each allele frequency, in addition to the total.")
29
29
parser.add_argument("--f3FreqCutoff", type=float, metavar="<FREQ>", default=0.05, help="minimum minor allele frequency for f3 values. Defaults to 0.05. This is recommended to skip rare mutations and reduce the sensitivity of the F3 statistics on sequencing errors and DNA damage.")
30
+
parser.add_argument("--skipJackknife", action='store_true', default=False, help="When provided, the jackknife error is not estimated, but instead set to 0. [False]")
30
31
args=parser.parse_args()
31
32
32
33
ifargs.minAF<1:
@@ -42,6 +43,8 @@
42
43
NumBins=args.NrChroms
43
44
minAF=args.minAF
44
45
maxAF=args.maxAF
46
+
skipJK=args.skipJackknife
47
+
45
48
# RightIndex={} #Holds the INDICES of the Right pops
46
49
# LeftsIndex={} #Holds the INDICES of the Left pops
0 commit comments