protk 1.3.0.pre1 → 1.3.0.pre2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +22 -17
- data/bin/protein_prophet.rb +1 -1
- data/lib/protk/randomize.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 766199947a268b43704329a005ae3cf6913f26e4
|
4
|
+
data.tar.gz: 78afa07c3ca099a096f1e7fcc1f403fda9c5b7c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80f342d7ca2f0fd7d5896e246ce99e612893e96e403fac01619ba14fdafc37c5dd2e5bbcbb0c0a5d2e74fc295f8d3351bdfc635d4953d2b6da408e5b6d89bc56
|
7
|
+
data.tar.gz: a1bc2ee0ee3960e961e449050352321db87f18e9d700a2711cdbb04135e70ab0254bd607630cd4b04ee5e79f9644d704ef0a5ee57ffc03ce7b9691f993b10290
|
data/README.md
CHANGED
@@ -52,7 +52,11 @@ Protk includes a setup tool to install various third party proteomics tools such
|
|
52
52
|
protk_setup.rb tpp omssa blast msgfplus pwiz
|
53
53
|
```
|
54
54
|
|
55
|
-
By default protk will install tools and databases into `.protk` in your home directory. If this is not desirable you can change the protk root default by setting the environment variable `PROTK_INSTALL_DIR`. If you prefer to install the tools yourself protk will find them provided they are included in your `$PATH`. Those executables will be used as a fallback if nothing is available under the `.protk` installation directory.
|
55
|
+
By default protk will install tools and databases into `.protk` in your home directory. If this is not desirable you can change the protk root default by setting the environment variable `PROTK_INSTALL_DIR`. If you prefer to install the tools yourself protk will find them provided they are included in your `$PATH`. Those executables will be used as a fallback if nothing is available under the `.protk` installation directory. A common source of errors when running the protk_setup script is missing dependencies. The setup script has been tested on ubuntu 12 with the following dependencies installed;
|
56
|
+
|
57
|
+
```
|
58
|
+
apt-get install build-essential autoconf automake git-core mercurial subversion pkg-config libc6-dev curl libxml2-dev openjdk-6-jre libbz2-dev libgd2-noxpm-dev unzip
|
59
|
+
```
|
56
60
|
|
57
61
|
|
58
62
|
## Sequence databases
|
@@ -94,13 +98,13 @@ Many protk tools have equivalent galaxy wrappers available on the [galaxy toolsh
|
|
94
98
|
|
95
99
|
4. Install protk in an isolated gemset using rvm.
|
96
100
|
|
97
|
-
This sets up an isolated environment where only a specific version of protk is available. We name the environment according to the protk version (1.
|
101
|
+
This sets up an isolated environment where only a specific version of protk is available. We name the environment according to the protk intermediate version numer (1.3 in this example). Minor bugfixes will be released as 1.3.x and can be installed without updating the toolshed wrappers
|
98
102
|
|
99
103
|
```bash
|
100
104
|
rvm 2.1
|
101
|
-
rvm gemset create protk1.
|
102
|
-
rvm use 2.1@protk1.
|
103
|
-
gem install protk -v 1.
|
105
|
+
rvm gemset create protk1.3
|
106
|
+
rvm use 2.1@protk1.3
|
107
|
+
gem install protk -v '~>1.3'
|
104
108
|
```
|
105
109
|
|
106
110
|
5. Configure Galaxy's tool dependency directory.
|
@@ -114,31 +118,32 @@ Many protk tools have equivalent galaxy wrappers available on the [galaxy toolsh
|
|
114
118
|
|
115
119
|
6. Create a tool dependency that sets up protk in the environment created by rvm
|
116
120
|
|
117
|
-
In this example we create the environment for protk `1.
|
121
|
+
In this example we create the environment for protk `1.3.0` as this was the version installed in step 4 above.
|
118
122
|
|
119
123
|
```bash
|
120
124
|
cd <tool_dependency_dir>
|
121
125
|
mkdir protk
|
122
126
|
cd protk
|
123
|
-
mkdir 1.
|
124
|
-
ln -s 1.
|
125
|
-
|
127
|
+
mkdir 1.3
|
128
|
+
ln -s 1.3 default
|
129
|
+
rvmenv=`rvm env --path 2.1@protk1.3`
|
130
|
+
echo ". $rvmenv" > 1.3/env.sh
|
126
131
|
```
|
127
132
|
|
128
133
|
7. Keep things up to date
|
129
134
|
|
130
|
-
When new versions of galaxy tools are released they may change the version of protk that is required. Check the release notes on the tool to see what is needed. For example, if upgrading to version 1.
|
135
|
+
When new versions of galaxy tools are released they may change the version of protk that is required. Check the release notes on the tool to see what is needed. For example, if upgrading to version 1.4.0 you would do the following;
|
131
136
|
|
132
137
|
```bash
|
133
138
|
rvm 2.1
|
134
|
-
rvm gemset create protk1.
|
135
|
-
rvm use 2.1@protk1.
|
136
|
-
gem install protk -v 1.
|
139
|
+
rvm gemset create protk1.4
|
140
|
+
rvm use 2.1@protk1.4
|
141
|
+
gem install protk -v '~>1.4'
|
137
142
|
cd <tool_dependency_dir>/protk/
|
138
|
-
mkdir 1.
|
139
|
-
rvmenv=`rvm env --path 2.1@protk1.
|
140
|
-
echo ". $rvmenv" > 1.
|
141
|
-
ln -s 1.
|
143
|
+
mkdir 1.4
|
144
|
+
rvmenv=`rvm env --path 2.1@protk1.4`
|
145
|
+
echo ". $rvmenv" > 1.4/env.sh
|
146
|
+
ln -s 1.4 default
|
142
147
|
```
|
143
148
|
|
144
149
|
|
data/bin/protein_prophet.rb
CHANGED
data/lib/protk/randomize.rb
CHANGED