Mercurial > repos > jjohnson > cdhit
annotate tool_dependencies.xml @ 2:cca0838c1597
Add an environment variable for the -M and -T options for memory and thread allocation
author | Jim Johnson <jj@umn.edu> |
---|---|
date | Tue, 26 Feb 2013 12:11:36 -0600 |
parents | 34a799d173f7 |
children | 88f9e90d9d78 |
rev | line source |
---|---|
1
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
2 <tool_dependency> |
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
3 <package name="cd-hit" version="4.6.1"> |
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
4 <install version="1.0"> |
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
5 <actions> |
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
6 <action type="download_by_url">https://cdhit.googlecode.com/files/cd-hit-v4.6.1-2012-08-27.tgz</action> |
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
7 <action type="shell_command">make openmp=yes</action> |
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
8 <action type="set_environment"> |
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
9 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable> |
2
cca0838c1597
Add an environment variable for the -M and -T options for memory and thread allocation
Jim Johnson <jj@umn.edu>
parents:
1
diff
changeset
|
10 <environment_variable name="CDHIT_SITE_OPTIONS" action="set_to">"-M 4000 -T 0"</environment_variable> |
1
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
11 </action> |
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
12 </actions> |
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
13 </install> |
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
14 <readme> |
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
15 These links provide information for building the cdhit package: |
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
16 |
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
17 http://weizhong-lab.ucsd.edu/cd-hit/ |
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
18 |
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
19 https://code.google.com/p/cdhit/ |
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
20 |
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
21 https://code.google.com/p/cdhit/source/browse/README |
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
22 |
2
cca0838c1597
Add an environment variable for the -M and -T options for memory and thread allocation
Jim Johnson <jj@umn.edu>
parents:
1
diff
changeset
|
23 Change the CDHIT_SITE_OPTIONS variable in the installed env.sh file to adjust |
cca0838c1597
Add an environment variable for the -M and -T options for memory and thread allocation
Jim Johnson <jj@umn.edu>
parents:
1
diff
changeset
|
24 the maximum memory Mb (-M) or to limit the number of threads (-T) |
cca0838c1597
Add an environment variable for the -M and -T options for memory and thread allocation
Jim Johnson <jj@umn.edu>
parents:
1
diff
changeset
|
25 to match your site |
1
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
26 </readme> |
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
27 </package> |
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
28 </tool_dependency> |
34a799d173f7
Add tool_dependencies and functional test
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
29 |