Revved Picard/htsjdk
Removed inefficient array->List conversion in AlleleCountBySample
This commit is contained in:
parent
b3b569f43a
commit
fc67e50faa
|
|
@ -67,7 +67,6 @@ import org.broadinstitute.gatk.tools.walkers.genotyper.GenotypeAlleleCounts;
|
||||||
import org.broadinstitute.gatk.tools.walkers.genotyper.GenotypeLikelihoodCalculator;
|
import org.broadinstitute.gatk.tools.walkers.genotyper.GenotypeLikelihoodCalculator;
|
||||||
import org.broadinstitute.gatk.tools.walkers.genotyper.GenotypeLikelihoodCalculators;
|
import org.broadinstitute.gatk.tools.walkers.genotyper.GenotypeLikelihoodCalculators;
|
||||||
import org.broadinstitute.gatk.utils.MathUtils;
|
import org.broadinstitute.gatk.utils.MathUtils;
|
||||||
import org.broadinstitute.gatk.utils.Utils;
|
|
||||||
import org.broadinstitute.gatk.utils.genotyper.PerReadAlleleLikelihoodMap;
|
import org.broadinstitute.gatk.utils.genotyper.PerReadAlleleLikelihoodMap;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
@ -121,8 +120,8 @@ public final class AlleleCountBySample extends GenotypeAnnotation {
|
||||||
AC[alleleIndex - 1] = alleleCount;
|
AC[alleleIndex - 1] = alleleCount;
|
||||||
AF[alleleIndex - 1] = ((double) alleleCount) / (double) ploidy;
|
AF[alleleIndex - 1] = ((double) alleleCount) / (double) ploidy;
|
||||||
}
|
}
|
||||||
gb.attribute(VCFConstants.MLE_PER_SAMPLE_ALLELE_COUNT_KEY, Utils.asList(AC));
|
gb.attribute(VCFConstants.MLE_PER_SAMPLE_ALLELE_COUNT_KEY, AC);
|
||||||
gb.attribute(VCFConstants.MLE_PER_SAMPLE_ALLELE_FRACTION_KEY, Utils.asList(AF));
|
gb.attribute(VCFConstants.MLE_PER_SAMPLE_ALLELE_FRACTION_KEY, AF);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -44,8 +44,8 @@
|
||||||
<test.listeners>org.testng.reporters.FailedReporter,org.testng.reporters.JUnitXMLReporter,org.broadinstitute.gatk.utils.TestNGTestTransformer,org.broadinstitute.gatk.utils.GATKTextReporter,org.uncommons.reportng.HTMLReporter</test.listeners>
|
<test.listeners>org.testng.reporters.FailedReporter,org.testng.reporters.JUnitXMLReporter,org.broadinstitute.gatk.utils.TestNGTestTransformer,org.broadinstitute.gatk.utils.GATKTextReporter,org.uncommons.reportng.HTMLReporter</test.listeners>
|
||||||
|
|
||||||
<!-- Version numbers for picard and htsjdk -->
|
<!-- Version numbers for picard and htsjdk -->
|
||||||
<htsjdk.version>1.123.1654</htsjdk.version>
|
<htsjdk.version>1.123.1658</htsjdk.version>
|
||||||
<picard.version>1.123.1612</picard.version>
|
<picard.version>1.123.1620</picard.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<!-- Dependency configuration (versions, etc.) -->
|
<!-- Dependency configuration (versions, etc.) -->
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -3,13 +3,13 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>picard</groupId>
|
<groupId>picard</groupId>
|
||||||
<artifactId>picard</artifactId>
|
<artifactId>picard</artifactId>
|
||||||
<version>1.123.1612</version>
|
<version>1.123.1620</version>
|
||||||
<name>picard</name>
|
<name>picard</name>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>samtools</groupId>
|
<groupId>samtools</groupId>
|
||||||
<artifactId>htsjdk</artifactId>
|
<artifactId>htsjdk</artifactId>
|
||||||
<version>1.123.1654</version>
|
<version>1.123.1658</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- TODO: Picard is using a custom zip with just ant's BZip2 classes. See also: http://www.kohsuke.org/bzip2 -->
|
<!-- TODO: Picard is using a custom zip with just ant's BZip2 classes. See also: http://www.kohsuke.org/bzip2 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
Binary file not shown.
|
|
@ -3,7 +3,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>samtools</groupId>
|
<groupId>samtools</groupId>
|
||||||
<artifactId>htsjdk</artifactId>
|
<artifactId>htsjdk</artifactId>
|
||||||
<version>1.123.1654</version>
|
<version>1.123.1658</version>
|
||||||
<name>htsjdk</name>
|
<name>htsjdk</name>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
Loading…
Reference in New Issue