##-- Read a folder/directory of PDB files
#pdb.path <- "my_dir_of_pdbs"
#files <- list.files(path=pdb.path ,
# pattern=".pdb",
# full.names=TRUE)
##-- Align these PDB sequences
aln <- mustang(files)
##-- Read Aligned PDBs storing coordinate data
pdbs <- read.fasta.pdb(aln)
Run the code above in your browser using DataLab