public void GetEntries() { var readStream = ResourceUtilities.GetReadStream(Resources.SaPath("CosmicCNV.tsv")); var cnvReader = new CosmicCnvReader(readStream, ChromosomeUtilities.RefNameToChromosome, GenomeAssembly.GRCh37); var cnvItems = cnvReader.GetEntries(); Assert.Equal(5, cnvItems.Count()); }
public void GetEntries() { var readStream = ResourceUtilities.GetReadStream(Resources.TopPath("SA\\CosmicCNV.tsv")); var cnvReader = new CosmicCnvReader(readStream, new Dictionary <string, IChromosome>() { { "17", new Chromosome("chr17", "17", 1) }, { "Y", new Chromosome("chrY", "Y", 2) }, { "MT", new Chromosome("chrM", "MT", 3) } }, GenomeAssembly.GRCh37); var cnvItems = cnvReader.GetEntries(); Assert.Equal(5, cnvItems.Count()); }