Examples of Locus


Examples of org.broad.igv.feature.Locus

            int end = Integer.parseInt(param3);
            String desc = param4 != null ? param4 : "";
            roi = new RegionOfInterest(param1, start, end, desc);
        }
        if (param1 != null) {
            Locus locus = Locus.fromString(param1);
            if (locus != null) {
                int start = Math.max(0, locus.getStart() - 1);
                String desc = param2 != null ? param2 : "";
                roi = new RegionOfInterest(locus.getChr(), start, locus.getEnd(), desc);

            }
        }
        if (roi != null) {
            igv.addRegionOfInterest(roi);
View Full Code Here

Examples of org.broad.igv.feature.Locus

        RegionScoreType regionSortOption = getRegionSortOption(sortArg);
        String tag = "";
        if (regionSortOption != null) {
            RegionOfInterest roi = null;
            if (locusString != null) {
                Locus locus = Locus.fromString(locusString);
                if (locus != null) {
                    int start = Math.max(0, locus.getStart() - 1);
                    roi = new RegionOfInterest(locus.getChr(), start, locus.getEnd(), "");
                }
            }
            igv.sortByRegionScore(roi, regionSortOption, FrameManager.getDefaultFrame());

        } else {
View Full Code Here

Examples of org.broad.igv.feature.Locus

            //If we have what looks like a valid end position we keep it
            if (this.widthInPixels > 0 && this.initialLocus == null) {
                int start = (int) getOrigin();
                int end = (int) getEnd();
                if (start >= 0 && end >= 1) {
                    this.initialLocus = new Locus(getChrName(), start, end);
                }
            }

            this.widthInPixels = widthInPixels;
            computeLocationScale();
View Full Code Here

Examples of org.broad.igv.feature.Locus

     * @param chr
     * @param start
     * @param end
     */
    public void jumpTo(String chr, int start, int end) {
        Locus locus = new Locus(chr, start, end);
        this.jumpTo(locus);
    }
View Full Code Here

Examples of org.broad.igv.feature.tribble.Locus

    @Override
    public Iterator<Locus> getFeatures(String chr, int start, int end) throws IOException {
        //System.out.println(String.format("%s:%d-%d", chr, start, end));
        if(generator.nextFloat() <= probSuccess){
            //System.out.println("success");
            Locus feature = new Locus(chr, start, Math.min(start + 50, end));
            return Arrays.asList(feature).iterator();
        }else{
            try {
                Thread.sleep(100);
            } catch (InterruptedException e) {
View Full Code Here

Examples of org.mizartools.dli.Locus

    int nr = 0;
    for (org.mizartools.system.xml.Typ typ : argTypes.getTypList()) {
      nr++;
      LocusVar locusVar = new LocusVar(nr);
      Type type = getType(abstractSignature, typ);
      locusList.add(new Locus(locusVar, type));
    }
    return locusList;
  }
View Full Code Here

Examples of org.mizartools.dli.Locus

    int nr = 0;
    for (org.mizartools.system.xml.Typ typ : argTypes.getTypList()) {
      nr++;
      LocusVar locusVar = new LocusVar(nr);
      Type type = getType(abstractSignature, typ);
      locusList.add(new Locus(locusVar, type));
    }
    return locusList;
  }
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.