Codota Logo
PatternScanMatch$PatternScanLocation
Code IndexAdd Codota to your IDE (free)

How to use
PatternScanMatch$PatternScanLocation
in
uk.ac.ebi.interpro.scan.model

Best Java code snippets using uk.ac.ebi.interpro.scan.model.PatternScanMatch$PatternScanLocation (Showing top 7 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
origin: uk.ac.ebi.interpro.scan/interproscan-io

  mappingFields.add(((PatternScanMatch.PatternScanLocation) location).getLevel().getTagNumber());
  mappingFields.add (((PatternScanMatch.PatternScanLocation) location).getCigarAlignment());
} else if (location instanceof PantherMatch.PantherLocation) {
  PantherMatch.PantherLocation pantherLocation = (PantherMatch.PantherLocation) location;
origin: ebi-pf-team/interproscan

public Object clone() throws CloneNotSupportedException {
  final Set<PatternScanLocation> clonedLocations = new HashSet<PatternScanLocation>(this.getLocations().size());
  for (PatternScanLocation location : this.getLocations()) {
    clonedLocations.add((PatternScanLocation) location.clone());
  }
  return new PatternScanMatch(this.getSignature(), clonedLocations);
}
origin: ebi-pf-team/interproscan

public void setAlignment(String alignment) {
  AlignmentEncoder encoder = new CigarAlignmentEncoder();
  setCigarAlignment(encoder.encode(alignment));
}
origin: uk.ac.ebi.interpro.scan/interproscan-persistence

  private PatternScanMatch buildMatch(Signature signature, ProSitePatternRawMatch rawMatch) {
    PatternScanMatch.PatternScanLocation location = new PatternScanMatch.PatternScanLocation(
        rawMatch.getLocationStart(),
        rawMatch.getLocationEnd(),
        rawMatch.getPatternLevel(),
        rawMatch.getCigarAlignment());
    return new PatternScanMatch(signature, rawMatch.getModelId(), Collections.singleton(location));
  }
}
origin: ebi-pf-team/interproscan

public PatternScanLocation(int start, int end, Level level, String cigarAlignment) {
  super(start, end);
  setLevel(level);
  setCigarAlignment(cigarAlignment);
}
origin: ebi-pf-team/interproscan

/**
 * Returns sequence alignment.
 *
 * @return Sequence alignment.
 */
@XmlElement(required = true)
public String getAlignment() {
  if (cigarAlignment == null) {
    return null;
  }
  AlignmentEncoder encoder = new CigarAlignmentEncoder();
  return encoder.decode(getMatch().getProtein().getSequence(), cigarAlignment, getStart(), getEnd());
}
origin: ebi-pf-team/interproscan

public Object clone() throws CloneNotSupportedException {
  return new PatternScanLocation(this.getStart(), this.getEnd(), this.getLevel(), this.getCigarAlignment());
}
uk.ac.ebi.interpro.scan.modelPatternScanMatch$PatternScanLocation

Javadoc

Location(s) of match on protein sequence

Most used methods

  • <init>
  • getCigarAlignment
  • getLevel
  • clone
  • getEnd
  • getMatch
  • getStart
  • setCigarAlignment
  • setLevel

Popular in Java

  • Making http post requests using okhttp
  • compareTo (BigDecimal)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • runOnUiThread (Activity)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Set (java.util)
    A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • JPanel (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now