protk 1.3.0.pre1 → 1.3.0.pre2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5aa7ddfc73e97717cd296b99ad7796420af4af80
4
- data.tar.gz: 8872996c6ff14306573ca698736dac00e34c43fa
3
+ metadata.gz: 766199947a268b43704329a005ae3cf6913f26e4
4
+ data.tar.gz: 78afa07c3ca099a096f1e7fcc1f403fda9c5b7c6
5
5
  SHA512:
6
- metadata.gz: 8b9162aaf5c6ee9c54e0f089e2499b47735eb12c325e35564b7b312d0553e5b09e7ea37114effd033b2b36f4646ad3080124cb31399288d5aac849fd8df894b8
7
- data.tar.gz: 7f65f321c1f5909af31a059e843a96a8ea9c9522dac6423abad2d6987d733e766907630cb8a5a31b616cc26830d6e66219106fd66a239e1d19f69eabb6a90e26
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.2.6 in this example).
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.2.6
102
- rvm use 2.1@protk1.2.6
103
- gem install protk -v 1.2.6
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.2.6` as this was the version installed in step 4 above.
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.2.6
124
- ln -s 1.2.6 default
125
- echo `rvm env --path 2.1@protk1.2.6` > 1.2.6/env.sh
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.2.7 you would do the following;
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.2.7
135
- rvm use 2.1@protk1.2.7
136
- gem install protk -v 1.2.7
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.2.7
139
- rvmenv=`rvm env --path 2.1@protk1.2.7`
140
- echo ". $rvmenv" > 1.2.7/env.sh
141
- ln -s 1.2.7 default
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
 
@@ -50,7 +50,7 @@ end
50
50
 
51
51
  if ( !Pathname.new(output_file).exist? || prophet_tool.over_write )
52
52
 
53
- cmd="ProteinProphet NOPLOT "
53
+ cmd="ProteinProphet "
54
54
 
55
55
  if for_galaxy
56
56
  inputs = inputs.collect {|ip| GalaxyUtil.stage_pepxml(ip) }
@@ -1,4 +1,4 @@
1
- require 'protk/decoymaker'
1
+ require File.expand_path('../decoymaker', __FILE__)
2
2
 
3
3
  class Randomize
4
4
  def self.make_decoys input_path, db_len, output_path, prefix
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0.pre1
4
+ version: 1.3.0.pre2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ira Cooke