biomadeira / BioDownloader

📦 A Command Line Tool for downloading protein structures, sequences and MSAs
GNU General Public License v3.0
9 stars 0 forks source link

Adding support for other downloads and sources #2

Open biomadeira opened 7 years ago

biomadeira commented 7 years ago

Just of the top of my head...

PDB

UniProt

DSSP

Ensembl

CATH

fsimkovic commented 7 years ago

Have you considered a more modular structure?

A fetcher sub-package with modules/objects for each file type? This would allow different servers to be set as well, i.e. the RCSB PDB offers PDB file assemblies amongst other options. This would also make such expansion a lot easier?!

biomadeira commented 7 years ago

@fsimkovic That would be much better going forward!

I guess we could have generic fetcher class and then as many sub-classes as services/data sources we want, with proper abstraction and expandability.

I will start a new Project to help delineate what needs to be refactored... Feel free to jump in on this! Your ideas and changes are much appreciated!