Skip to content

Latest commit

 

History

History
 
 

pdb_infotable

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

PDB Info table

A simple command line tool that creates an info table from a list of PDB files.



### Sections - [Example](#example) - [Requirements](#requirements) - [Usage](#usage) - [Changelog](#changelog)


## Example [[back to top](#sections)]

An input file is just a simple 1-column text file of PDB codes, e.g.,

3eiy
1htg
1amu
1hvr

By executing the following line, all PDB codes from an input file test.csv are queried and the information that could be retrieved is saved to the output file test_out.csv.

./pdb_infotable.py -i ./examples/test.csv -o ./examples/test_out.csv
0%             100%
[############  ] | ETA[sec]: 5.762





## Requirements [[back to top](#sections)]

The PDB Info Table tool was built and tested in Python 3 and requires the following external Python packages:

The packages can be downloaded and installed, e.g., via pip

pip install <package_name>

or

python -m pip install <package_name>


## Usage [[back to top](#sections)]
./pdb_infotable.py -h
usage: pdb_infotable.py [-h] [-i INPUT] [-o OUTPUT] [-v]

A command line tool for creating a PDB file info table.

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        A 1-column text file with PDB codes.
  -o OUTPUT, --output OUTPUT
                        Filename for creating the output CSV file.
  -v, --version         show program's version number and exit

Example run:
./pdb_infotable.py -i pdb_codes.txt -o ./pdb_table.csv

Example input file:
1htg
3eiy
1hvr
[...]


## Changelog [[back to top](#sections)]
  • v1.0 (10/19/2014)