haddocking / pdb-tools

A dependency-free cross-platform swiss army knife for PDB files.
https://haddocking.github.io/pdb-tools/
Apache License 2.0
390 stars 114 forks source link

Use HEADER info if available to name FASTA records. #145

Closed JoaoRodrigues closed 2 years ago

JoaoRodrigues commented 2 years ago

Closes #123.

If HEADER is available and it contains a non-empty PDB ID record (cols 63-66), then use this as a prefix for the FASTA records. Otherwise, default to 'PDB'.

Chose not to implement as an option since pdb_tofasta already has an option (-multi) and this is actually what makes the most sense.