Codota Logo
Hmmer3Match
Code IndexAdd Codota to your IDE (free)

How to use
Hmmer3Match
in
uk.ac.ebi.interpro.scan.model

Best Java code snippets using uk.ac.ebi.interpro.scan.model.Hmmer3Match (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: ebi-pf-team/interproscan

public Object clone() throws CloneNotSupportedException {
  final Set<Hmmer3Location> clonedLocations = new HashSet<Hmmer3Location>(this.getLocations().size());
  for (Hmmer3Location location : this.getLocations()) {
    clonedLocations.add((Hmmer3Location) location.clone());
  }
  return new Hmmer3Match(this.getSignature(), this.getScore(), this.getEvalue(), clonedLocations);
}
origin: uk.ac.ebi.interpro.scan/interproscan-io

private String getSeqEvalue(Match match, Location location) {
  //get the seevalue
  String seqEvalue = null;
  if (match instanceof PantherMatch) {
    seqEvalue = Double.toString(((PantherMatch) match).getEvalue());
  } else if (match instanceof Hmmer3Match) {
    seqEvalue = Double.toString(((Hmmer3Match) match).getEvalue());
  } else if (match instanceof Hmmer2Match) {
    seqEvalue = Double.toString(((Hmmer2Match) match).getEvalue());
  } else if (match instanceof Hmmer3MatchWithSites) {
    seqEvalue = Double.toString(((Hmmer3MatchWithSites) match).getEvalue());
  } else if (location instanceof RPSBlastMatch.RPSBlastLocation) {
    seqEvalue = Double.toString(((RPSBlastMatch.RPSBlastLocation) location).getEvalue());
  } else  if (location instanceof BlastProDomMatch.BlastProDomLocation) {
    seqEvalue = Double.toString(((BlastProDomMatch.BlastProDomLocation) location).getEvalue());
  } else if (match instanceof FingerPrintsMatch) {
    seqEvalue = Double.toString(((FingerPrintsMatch) match).getEvalue());
  } else if (match instanceof SuperFamilyHmmer3Match) {
    seqEvalue = Double.toString(((SuperFamilyHmmer3Match) match).getEvalue());
  }
  return seqEvalue;
}
private String getScore(Location location){
origin: uk.ac.ebi.interpro.scan/interproscan-io

private String getSeqScore(Match match, Location location){
  String seqScore = null;
  if (match instanceof PantherMatch) {
    seqScore = Double.toString( ((PantherMatch) match).getScore());
  }  else if (match instanceof Hmmer3Match) {
    seqScore = Double.toString( ((Hmmer3Match) match).getScore());
  } else if (match instanceof Hmmer2Match) {
    seqScore = Double.toString(((Hmmer2Match) match).getScore());
  } else if (match instanceof Hmmer3MatchWithSites) {
    seqScore = Double.toString(((Hmmer3MatchWithSites) match).getScore());
  } else if (location instanceof RPSBlastMatch.RPSBlastLocation) {
    seqScore = Double.toString(((RPSBlastMatch.RPSBlastLocation) location).getScore());
  } else  if (location instanceof BlastProDomMatch.BlastProDomLocation) {
    seqScore = Double.toString(((BlastProDomMatch.BlastProDomLocation) location).getScore());
  } else if (location instanceof FingerPrintsMatch.FingerPrintsLocation) {
    seqScore = Double.toString( ((FingerPrintsMatch.FingerPrintsLocation) location).getScore());
  } else if (location instanceof ProfileScanMatch.ProfileScanLocation)  {
    seqScore = Double.toString( ((ProfileScanMatch.ProfileScanLocation) location).getScore());
  } else if (location instanceof TMHMMMatch.TMHMMLocation) {
    seqScore = Double.toString( ((TMHMMMatch.TMHMMLocation) location).getScore());
  } else if (location instanceof SignalPMatch.SignalPLocation) {
    seqScore = Double.toString( ((SignalPMatch.SignalPLocation) location).getScore());
  }
  return seqScore;
}
origin: uk.ac.ebi.interpro.scan/interproscan-persistence

matchLocationCount += match.getLocations().size();
origin: ebi-pf-team/interproscan

private static Hmmer3Match getMatch(Signature signature, String modelId, Map<String, Set<Hmmer3RawMatch>> matchesByModel) {
  Set<Hmmer3Match.Hmmer3Location> locations = new HashSet<Hmmer3Match.Hmmer3Location>();
  double score = 0, evalue = 0;
  for (Hmmer3RawMatch m : matchesByModel.get(modelId)) {
    // Score and evalue should be the same (repeated for each location)
    score = m.getScore();
    evalue = m.getEvalue();
    locations.add(getLocation(m));
  }
  return new Hmmer3Match(signature, score, evalue, locations);
}
uk.ac.ebi.interpro.scan.modelHmmer3Match

Javadoc

HMMER3 match.

Most used methods

  • getEvalue
  • getLocations
  • getScore
  • <init>
  • getSignature

Popular in Java

  • Start an intent from android
  • runOnUiThread (Activity)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • getApplicationContext (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • JFrame (javax.swing)
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