public class ComputeMedianGVCFAndFilter extends Object
| Constructor and Description |
|---|
ComputeMedianGVCFAndFilter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
filterAndExtractFasta(Path gvcfFile,
String outputDirectory,
net.maizegenetics.dna.map.GenomeSequence refSeq,
String intervalFile,
Properties filterProperties,
boolean isAssembly,
String bcfToolsPath)
Method to filter the gvcf and extract the fasta using the config file.
|
static void |
filterAndExtractFasta(Path gvcfFile,
String outputDirectory,
net.maizegenetics.dna.map.GenomeSequence refSeq,
String intervalFile,
net.maizegenetics.util.Tuple<Double,Double> poissonProbabliltyBounds,
boolean isAssembly,
String bcfToolsPath)
Old method using a poissonProbability tuple to filter based on depth.
|
static String |
filterGVCF(String inputFile,
String outputFile,
Properties configProperties,
boolean isAssembly,
String bcftools) |
public static void filterAndExtractFasta(Path gvcfFile, String outputDirectory, net.maizegenetics.dna.map.GenomeSequence refSeq, String intervalFile, Properties filterProperties, boolean isAssembly, String bcfToolsPath)
gvcfFile - GVCF file to be filteredoutputDirectory - Directory to store the gvcfs and fastasrefSeq - Reference genome sequenceintervalFile - interval bed file holding the intervals we need to export for the fastasfilterProperties - Properties object using the configisAssembly - Boolean saying if the gvcf is an assembly or not. If an assembly, we only exclude based on depthbcfToolsPath - Pathpublic static void filterAndExtractFasta(Path gvcfFile, String outputDirectory, net.maizegenetics.dna.map.GenomeSequence refSeq, String intervalFile, net.maizegenetics.util.Tuple<Double,Double> poissonProbabliltyBounds, boolean isAssembly, String bcfToolsPath)
gvcfFile - outputDirectory - refSeq - intervalFile - poissonProbabliltyBounds - isAssembly - bcfToolsPath - public static String filterGVCF(String inputFile, String outputFile, Properties configProperties, boolean isAssembly, String bcftools)
Copyright © 2018. All rights reserved.