Exemple #1
0
 private static void CreateReferenceSequenceFile(GenomeAssembly genomeAssembly, byte patchLevel,
                                                 IReadOnlyCollection <IChromosome> chromosomes, List <Creation.ReferenceSequence> referenceSequences)
 {
     using (var writer = new ReferenceSequenceWriter(FileUtilities.GetCreateStream(_outputCompressedPath),
                                                     chromosomes, genomeAssembly, patchLevel))
     {
         writer.Write(referenceSequences);
     }
 }
Exemple #2
0
 private static void CreateReferenceSequenceFile(GenomeAssembly genomeAssembly, IReadOnlyCollection <IChromosome> chromosomes, Creation.ReferenceSequence referenceSequence)
 {
     using (var writer = new ReferenceSequenceWriter(FileUtilities.GetCreateStream(_outputCompressedPath),
                                                     chromosomes, genomeAssembly, 0))
     {
         writer.Write(new List <Creation.ReferenceSequence> {
             referenceSequence
         });
     }
 }