kad-ecoli / TMalign

This repo is outdated. Please use https://github.com/pylelab/USalign instead
https://github.com/pylelab/USalign
11 stars 9 forks source link

get_PDB_len #2

Closed kad-ecoli closed 6 years ago

kad-ecoli commented 6 years ago

get_PDB_len is unnecessary and expensive. Should instead Read everything in read_PDB as vector and convert it to array later. Currently, I/O is unnecessarily heavy: once for checking file existence, once for estimating chain length, once for reading the CA atoms.

kad-ecoli commented 6 years ago

fixed with https://github.com/kad-ecoli/TMalign/commit/d4cb60c7e40e4c28fd1c8b66b5de6ca3da52179d