Tabnine Logo
PatternScanMatch$PatternScanLocation
Code IndexAdd Tabnine 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)

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 Object clone() throws CloneNotSupportedException {
  return new PatternScanLocation(this.getStart(), this.getEnd(), this.getLevel(), this.getCigarAlignment());
}
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 PatternScanLocation(int start, int end, Level level, String cigarAlignment) {
  super(start, end);
  setLevel(level);
  setCigarAlignment(cigarAlignment);
}
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 void setAlignment(String alignment) {
  AlignmentEncoder encoder = new CigarAlignmentEncoder();
  setCigarAlignment(encoder.encode(alignment));
}
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

  • Updating database using SQL prepared statement
  • getApplicationContext (Context)
  • setScale (BigDecimal)
  • startActivity (Activity)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JOptionPane (javax.swing)
  • JPanel (javax.swing)
  • Join (org.hibernate.mapping)
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now