Class AlignedAssemblyOrExcuse
java.lang.Object
org.broadinstitute.hellbender.tools.spark.sv.evidence.AlignedAssemblyOrExcuse
An assembly with its contigs aligned to reference, or a reason that there isn't an assembly.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAlignedAssemblyOrExcuse
(int assemblyId, String errorMessage) AlignedAssemblyOrExcuse
(int assemblyId, org.broadinstitute.hellbender.utils.fermi.FermiLiteAssembly assembly, int secondsInAssembly, List<List<org.broadinstitute.hellbender.utils.bwa.BwaMemAlignment>> contigAlignments) -
Method Summary
Modifier and TypeMethodDescriptionstatic String
formatAssemblyID
(int assemblyId) static String
formatContigName
(int assemblyId, int contigIdx) org.broadinstitute.hellbender.utils.fermi.FermiLiteAssembly
int
List is equal in length to the number of contigs in the assembly.Either this is null, or the assembly and list of alignments is null.int
boolean
Stream<htsjdk.samtools.SAMRecord>
toSAMStreamForAlignmentsOfThisAssembly
(htsjdk.samtools.SAMFileHeader header, List<String> refNames, htsjdk.samtools.SAMReadGroupRecord contigAlignmentsReadGroup) static void
writeIntervalFile
(String intervalFile, htsjdk.samtools.SAMFileHeader header, List<SVInterval> intervals, List<AlignedAssemblyOrExcuse> intervalDispositions) write a file describing each interval
-
Constructor Details
-
AlignedAssemblyOrExcuse
-
AlignedAssemblyOrExcuse
-
-
Method Details
-
getSecondsInAssembly
public int getSecondsInAssembly() -
getAssemblyId
public int getAssemblyId() -
getErrorMessage
Either this is null, or the assembly and list of alignments is null. -
isNotFailure
public boolean isNotFailure() -
getAssembly
public org.broadinstitute.hellbender.utils.fermi.FermiLiteAssembly getAssembly() -
getContigAlignments
List is equal in length to the number of contigs in the assembly. -
toSAMStreamForAlignmentsOfThisAssembly
-
formatContigName
-
formatAssemblyID
-
writeIntervalFile
public static void writeIntervalFile(String intervalFile, htsjdk.samtools.SAMFileHeader header, List<SVInterval> intervals, List<AlignedAssemblyOrExcuse> intervalDispositions) write a file describing each interval
-