Документ взят из кэша поисковой машины. Адрес оригинального документа : http://kodomo.fbb.msu.ru/hg/allpy/file/a1307c0bb030/Makefile
Дата изменения: Unknown
Дата индексирования: Sun Feb 3 09:06:09 2013
Кодировка:
allpy: a1307c0bb030 Makefile

allpy

view Makefile @ 642:a1307c0bb030

Added necessary hooks for monomer pickling [closes #35] Current implementation is lazy and does not store all monomer classes explicitly in some module. They are still generated on the fly. Some monomer classes have the same name as per PDB database. In order to avoid name clashes, we add underscores to classes, if same name class already exists. WARNING. This may and WILL cause trouble, if such clashes occur between different types of monomers, in which case different names will be generated for the same class depending on the order of loading modules. The only example of such clash in the current database is dna monomer "0AV" and rna "A2M", which both have name "2'-O-METHYLADENOSINE 5'-(DIHYDROGEN PHOSPHATE)"
author Daniil Alexeyevsky <dendik@kodomo.fbb.msu.ru>
date Fri, 03 Jun 2011 16:49:44 +0400
parents 2841177ebc2b
children 45c38f47e571
line source
1 components_cif_gz_url = \
2 ftp://ftp.ebi.ac.uk/pub/databases/rcsb/pdb/data/monomers/components.cif.gz
3 codes_py = allpy/data/codes.py
4 components_cif = allpy/data/components.cif
6 all: doc codes tests
8 tests:
9 nosetests --with-coverage
11 doc:
12 sphinx-autopackage --suffix=rst --dest-dir=docs/source/allpy/ allpy
13 $(MAKE) -C docs html
15 force-doc:
16 rm docs/source/allpy/*
17 rm -rf docs/build
18 $(MAKE) doc
20 codes: $(codes_py)
22 force-codes:
23 rm $(codes_py)
24 $(MAKE) codes
26 $(codes_py): $(components_cif)
27 python allpy/data/mkcodes.py -i $< -o $@
29 $(components_cif):
30 wget -O - $(components_cif_gz_url) | zcat > $@