Examples of SampleList


Examples of com.iggroup.oss.sample.domain.SampleList

  @ResponseBody
  public SampleList findAllSamples() {

    LOGGER.info("getSamples ");

    return new SampleList(service.findAllSamples());

  }
View Full Code Here

Examples of com.iggroup.oss.sample.domain.SampleList

  @ResponseBody
  public SampleList findSamplesByName(@RequestParam String name) {

    LOGGER.info("getSamplesByName " + name);

    return new SampleList(service.findSamplesByName(name));

  }
View Full Code Here

Examples of com.iggroup.oss.sample.domain.SampleList

    LOGGER.info("getSamplesByType " + type);

    validate(type);

    return new SampleList(service.findSamplesByType(type));

  }
View Full Code Here

Examples of com.iggroup.oss.sample.domain.SampleList

   @Profiled
   @Override
   public SampleList findSamplesByName(String nameFragment) {

      return new SampleList(sampleDAO.findSamples(nameFragment));

   }
View Full Code Here

Examples of com.iggroup.oss.sample.domain.SampleList

   @Profiled
   @Override
   public SampleList findSamplesByType(SampleType type) {

      return new SampleList(sampleDAO.findSamples(type));
   }
View Full Code Here

Examples of com.iggroup.oss.sample.domain.SampleList

   @Profiled
   @Override
   public SampleList findAllSamples() {

      return new SampleList(sampleDAO.findSamples());
   }
View Full Code Here

Examples of org.broadinstitute.gatk.tools.walkers.genotyper.SampleList

        UAC.genotypingOutputMode = GenotypingOutputMode.GENOTYPE_GIVEN_ALLELES;

        String trackName = variantCollection.variants.getName();

        final GenomeAnalysisEngine toolkit = getToolkit();
        final SampleList samples =
                new IndexedSampleList(SampleUtils.getSampleListWithVCFHeader(getToolkit(), Arrays.asList(trackName)));
        final Set<String> sampleNameSet = SampleListUtils.asSet(samples);
        UG_engine = new UnifiedGenotypingEngine(UAC, samples,toolkit.getGenomeLocParser(),
                FixedAFCalculatorProvider.createThreadSafeProvider(toolkit,UAC,logger),
                toolkit.getArguments().BAQMode);
View Full Code Here

Examples of org.broadinstitute.gatk.tools.walkers.genotyper.SampleList

*/
public class SampleListUtilsUnitTest {

    @Test(dataProvider = "singleSampleListData")
    public void testAsList(final List<String> samples) {
         final SampleList sampleList = new IndexedSampleList(samples);
         final List<String> asList = SampleListUtils.asList(sampleList);
         Assert.assertEquals(samples, asList);
    }
View Full Code Here

Examples of org.broadinstitute.gatk.tools.walkers.genotyper.SampleList

         Assert.assertEquals(samples, asList);
    }

    @Test(dataProvider = "twoSampleListData", dependsOnMethods={"testAsList"})
    public void testEquals(final List<String> sample2, final List<String> samples2) {
        final SampleList sampleList1 = new IndexedSampleList(sample2);
        final SampleList sampleList2 = new IndexedSampleList(samples2);
        Assert.assertTrue(SampleListUtils.equals(sampleList1, sampleList1));
        Assert.assertTrue(SampleListUtils.equals(sampleList2,sampleList2));
        Assert.assertEquals(SampleListUtils.equals(sampleList1, sampleList2),
                Arrays.equals(SampleListUtils.asList(sampleList1).toArray(new String[sampleList1.sampleCount()]),
                        SampleListUtils.asList(sampleList2).toArray(new String[sampleList2.sampleCount()]))
        );
        Assert.assertEquals(SampleListUtils.equals(sampleList1,sampleList2),
                            SampleListUtils.equals(sampleList2,sampleList1));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.