allpy
annotate Makefile @ 816:d137df18a8bf
structure: create method superimpose of SequenceMixin
Most of code of AlignmentMixin.superimpose was moved to SequenceMixin.
Structures of sequences can be superimposed manually (in custom order,
or with additions action such as loading/unloading of structure).
author | boris (kodomo) <bnagaev@gmail.com> |
---|---|
date | Fri, 15 Jul 2011 02:06:23 +0400 |
parents | b291f9c34b49 |
children | 101a23cd98ac |
rev | line source |
---|---|
dendik@534 | 1 components_cif_gz_url = \ |
dendik@534 | 2 ftp://ftp.ebi.ac.uk/pub/databases/rcsb/pdb/data/monomers/components.cif.gz |
dendik@534 | 3 codes_py = allpy/data/codes.py |
dendik@534 | 4 components_cif = allpy/data/components.cif |
dendik@534 | 5 |
dendik@542 | 6 all: doc codes tests |
dendik@540 | 7 |
dendik@542 | 8 tests: |
dendik@682 | 9 PYTHONPATH=$(PWD) nosetests --with-coverage |
dendik@540 | 10 |
dendik@540 | 11 doc: |
dendik@540 | 12 sphinx-autopackage --suffix=rst --dest-dir=docs/source/allpy/ allpy |
dendik@540 | 13 $(MAKE) -C docs html |
dendik@540 | 14 |
dendik@540 | 15 force-doc: |
dendik@540 | 16 rm docs/source/allpy/* |
dendik@540 | 17 rm -rf docs/build |
dendik@540 | 18 $(MAKE) doc |
dendik@540 | 19 |
dendik@540 | 20 codes: $(codes_py) |
dendik@540 | 21 |
dendik@540 | 22 force-codes: |
dendik@540 | 23 rm $(codes_py) |
dendik@540 | 24 $(MAKE) codes |
dendik@540 | 25 |
dendik@534 | 26 $(codes_py): $(components_cif) |
dendik@534 | 27 python allpy/data/mkcodes.py -i $< -o $@ |
dendik@534 | 28 |
dendik@534 | 29 $(components_cif): |
dendik@534 | 30 wget -O - $(components_cif_gz_url) | zcat > $@ |