Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/b/i/biopython-1.63/Tests/test_DSSP_tool.py   biopython(Download)
from Bio import MissingExternalDependencyError
from Bio.PDB import PDBParser
from Bio.PDB import DSSP
 
# Check if DSSP is installed
        pdbfile = "PDB/2BEG.pdb"
        model = p.get_structure("2BEG", pdbfile)[0]
        dssp = DSSP(model, pdbfile)
        self.assertEqual(len(dssp), 130)
 

src/b/i/biopython-HEAD/Tests/test_DSSP_tool.py   biopython(Download)
from Bio import MissingExternalDependencyError
from Bio.PDB import PDBParser
from Bio.PDB import DSSP
 
# Check if DSSP is installed
        pdbfile = "PDB/2BEG.pdb"
        model = p.get_structure("2BEG", pdbfile)[0]
        dssp = DSSP(model, pdbfile)
        self.assertEqual(len(dssp), 130)