Codota Logo
PDBFileReader.setPath
Code IndexAdd Codota to your IDE (free)

How to use
setPath
method
in
org.biojava.nbio.structure.io.PDBFileReader

Best Java code snippets using org.biojava.nbio.structure.io.PDBFileReader.setPath (Showing top 5 results out of 315)

  • Common ways to obtain PDBFileReader
private void myMethod () {
PDBFileReader p =
  • Codota Iconnew PDBFileReader()
  • Smart code suggestions by Codota
}
origin: biojava/biojava

pdbr.setPath("/Users/andreas/WORK/PDB/");
origin: biojava/biojava

reader.setPath(".");
origin: biojava/biojava

public static void main(String[] args){
  try {
    PDBFileReader pdbr = new PDBFileReader();
    pdbr.setPath("/tmp/");
    String pdbCode = "5pti";
    Structure struc = pdbr.getStructureById(pdbCode);
    BiojavaJmol jmolPanel = new BiojavaJmol();
    jmolPanel.setStructure(struc);
    // send some RASMOL style commands to Jmol
    jmolPanel.evalString("select * ; color chain;");
    jmolPanel.evalString("select *; spacefill off; wireframe off; backbone 0.4;  ");
    jmolPanel.evalString("save STATE state_1");
  } catch (Exception e){
    e.printStackTrace();
  }
}
origin: biojava/biojava

public static void main(String[] args){
  pdbr.setPath("/tmp/");
origin: biojava/biojava

private void checkFile(String repre) throws IOException, StructureException {
  StructureName name = new StructureName(repre);
  PDBFileReader reader = new PDBFileReader();
  reader.setFetchBehavior(FetchBehavior.FETCH_REMEDIATED);
  reader.setPath(cache.getPath());
  reader.setFileParsingParameters(cache.getFileParsingParams());
  reader.prefetchStructure(name.getPdbId());
}
org.biojava.nbio.structure.ioPDBFileReadersetPath

Popular methods of PDBFileReader

  • <init>
    Constructs a new PDBFileReader, initializing the extensions member variable. The path is initialized
  • getStructure
  • getStructureById
  • addExtension
  • getFileParsingParameters
  • prefetchStructure
  • setFetchBehavior
  • setFileParsingParameters
  • setObsoleteBehavior

Popular in Java

  • Reading from database using SQL prepared statement
  • putExtra (Intent)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • getExternalFilesDir (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
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