This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pip install biopython | |
#1) Reading an PDB file: | |
#create a PDBParser object: | |
import os | |
import math | |
import glob | |
from Bio.PDB import * | |
from Bio.PDB.PDBParser import PDBParser | |
from Bio.PDB import parse_pdb_header |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RegExp exp = new RegExp(r"(([a-zA-Z\s,.]+)<)*?([a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]*)>?"); | |
String str = "Tilo Zimmermann <[email protected]>, Henning Pfennig <[email protected]>; Karsten, Chopin <[email protected]>; [email protected], [email protected], [email protected]<[email protected]>,"; | |
Iterable<RegExpMatch> matches = exp.allMatches(str); |