public static final class StructuralVariationDiscoveryPipelineSpark.InMemoryAlignmentParser extends AlignedContigGenerator implements scala.Serializable
Modifier and Type | Method and Description |
---|---|
static java.util.List<AlignedContig> |
filterAndConvertToAlignedContigDirect(java.lang.Iterable<AlignedAssemblyOrExcuse> alignedAssemblyOrExcuseIterable,
java.util.List<java.lang.String> refNames,
htsjdk.samtools.SAMFileHeader header)
Filter out "failed" assemblies, unmapped and secondary (i.e.
|
static org.apache.spark.api.java.JavaRDD<AlignedContig> |
filterAndConvertToAlignedContigViaSAM(java.util.List<AlignedAssemblyOrExcuse> alignedAssemblyOrExcuseList,
htsjdk.samtools.SAMFileHeader header,
org.apache.spark.api.java.JavaSparkContext ctx)
Filters out "failed" assemblies, unmapped and secondary (i.e.
|
org.apache.spark.api.java.JavaRDD<AlignedContig> |
getAlignedContigs() |
static java.lang.Iterable<AlignedContig> |
getAlignedContigsInOneAssembly(AlignedAssemblyOrExcuse alignedAssembly,
java.util.List<java.lang.String> refNames,
htsjdk.samtools.SAMFileHeader header)
Work on "successful" assembly and turn its contigs' alignments to custom
AlignmentInterval format. |
public static org.apache.spark.api.java.JavaRDD<AlignedContig> filterAndConvertToAlignedContigViaSAM(java.util.List<AlignedAssemblyOrExcuse> alignedAssemblyOrExcuseList, htsjdk.samtools.SAMFileHeader header, org.apache.spark.api.java.JavaSparkContext ctx)
AlignmentInterval
format.
Should be generating the same output as filterAndConvertToAlignedContigDirect(Iterable, List, SAMFileHeader)
;
and currently this assertion is tested in AlignedContigGeneratorUnitTest#testConvertAlignedAssemblyOrExcuseToAlignedContigsDirectAndConcordanceWithSAMRoute()
public static java.util.List<AlignedContig> filterAndConvertToAlignedContigDirect(java.lang.Iterable<AlignedAssemblyOrExcuse> alignedAssemblyOrExcuseIterable, java.util.List<java.lang.String> refNames, htsjdk.samtools.SAMFileHeader header)
AlignmentInterval
format.
Should be generating the same output as filterAndConvertToAlignedContigViaSAM(List, SAMFileHeader, JavaSparkContext)
;
and currently this assertion is tested in AlignedContigGeneratorUnitTest#testConvertAlignedAssemblyOrExcuseToAlignedContigsDirectAndConcordanceWithSAMRoute()
public static java.lang.Iterable<AlignedContig> getAlignedContigsInOneAssembly(AlignedAssemblyOrExcuse alignedAssembly, java.util.List<java.lang.String> refNames, htsjdk.samtools.SAMFileHeader header)
AlignmentInterval
format.public org.apache.spark.api.java.JavaRDD<AlignedContig> getAlignedContigs()
getAlignedContigs
in class AlignedContigGenerator