adding RBP to the general calling pipeline and few other small changes to it (to make it run with the current bundel file names
This commit is contained in:
parent
0fb7b73107
commit
eaf6279d48
|
|
@ -878,6 +878,7 @@ public class VariantContextUtils {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void mergeGenotypes(GenotypesContext mergedGenotypes, VariantContext oneVC, AlleleMapper alleleMapping, boolean uniqifySamples) {
|
private static void mergeGenotypes(GenotypesContext mergedGenotypes, VariantContext oneVC, AlleleMapper alleleMapping, boolean uniqifySamples) {
|
||||||
|
//TODO: should we add a check for cases when the genotypeMergeOption is REQUIRE_UNIQUE
|
||||||
for ( Genotype g : oneVC.getGenotypes() ) {
|
for ( Genotype g : oneVC.getGenotypes() ) {
|
||||||
String name = mergedSampleName(oneVC.getSource(), g.getSampleName(), uniqifySamples);
|
String name = mergedSampleName(oneVC.getSource(), g.getSampleName(), uniqifySamples);
|
||||||
if ( ! mergedGenotypes.containsSample(name) ) {
|
if ( ! mergedGenotypes.containsSample(name) ) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue