Difference between revisions of "Talk:Make"
From Christoph's Personal Wiki
Line 2: | Line 2: | ||
<pre> | <pre> | ||
− | for pdbid in $(cat | + | %.cph.fa: %.cph |
− | + | for pdbid in $$(cat $< | gawk '{print $$2}' | sort | uniq); | |
− | done | + | do wget http://www.rcsb.org/pdb/files/$$pdbid.pdb.gz; |
− | wait | + | done |
− | for pdbid in *.gz; | + | wait |
− | + | for pdbid in *.gz; do gunzip $$pdbid; done | |
− | done | + | for pdbid in $$(for pdbid in *.pdb; do basename $$pdbid .pdb; done); |
− | for pdbid in $(for pdbid in *.pdb; do basename $pdbid .pdb; done); | + | do gmake $$pdbid.fa; |
− | + | done | |
− | done | + | for pdbid in *.fa; |
− | for pdbid in *.fa; | + | do perl multi_alignaa.pl $(shell basename $< .cph).fa $$pdbid >> $@; |
− | + | done | |
− | done | + | |
</pre> | </pre> |
Revision as of 22:54, 17 October 2006
A list of random make/gmake/shell commands:
%.cph.fa: %.cph for pdbid in $$(cat $< | gawk '{print $$2}' | sort | uniq); do wget http://www.rcsb.org/pdb/files/$$pdbid.pdb.gz; done wait for pdbid in *.gz; do gunzip $$pdbid; done for pdbid in $$(for pdbid in *.pdb; do basename $$pdbid .pdb; done); do gmake $$pdbid.fa; done for pdbid in *.fa; do perl multi_alignaa.pl $(shell basename $< .cph).fa $$pdbid >> $@; done