Beispiel #1
0
 public void ParseGenomeAssembly_IncorrectFormat_ThrowException()
 {
     using (var custParser = new CustomAnnotationsParser(GetReadStream("#assembly-GRCh38"), SequenceProvider))
     {
         Assert.Throws <UserErrorException>(() => custParser.ParseGenomeAssembly());
     }
 }
Beispiel #2
0
 public void ParseGenomeAssembly_UnsupportedAssembly_ThrowException()
 {
     using (var custParser = new CustomAnnotationsParser(GetReadStream("#assembly=hg19"), SequenceProvider))
     {
         Assert.Throws <UserErrorException>(() => custParser.ParseGenomeAssembly());
     }
 }