divvy_proteomics 0.3.1 → 0.3.3

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: 7f93a23f31f2dec026e11f2014700b5baf3385ef
4
- data.tar.gz: b23f1ebad985b2622ecd265edc4913da10cb4134
3
+ metadata.gz: d61774af8a5bbd61fd95862de177b2a133d74538
4
+ data.tar.gz: ed3dc902ac58437f328e177c91229423b000b5e7
5
5
  SHA512:
6
- metadata.gz: dce7c826d2a0e956d711721f9315dc59f890a9a5334c934534ca9d3f9aade3ae701e8ace19824859d90528b5fa40e0eb9fea1a57c70a731fe675c0d0f83470b8
7
- data.tar.gz: e39bcf3f1a0af90d0cf355c1556cb3e178e19b9f1a33408c7a4443cf1071236883eb93e832d431a9d0e0bbba337270518f5ef5df9a873c5d8d3d7cc2f0b7d580
6
+ metadata.gz: 83f641e8149c65e4fc08c73118ef744b7a6fa57de26a725e0145739593b298d8360a5e75ae3c5b2adec11cb153afd1961efac818878ebf94959516242a5bb4e8
7
+ data.tar.gz: 85d9437f116c4092cc0458ccd53b13076b4b25133e398216611fc9255d27870d8a43c8ae66ae34e617c859a79feeeda7c603b49088574d32ef4e7f2639ff72e3
data/README.md CHANGED
@@ -5,20 +5,29 @@ Takes a DTASelect CSV file, and parses the result so non-unique peptides get acc
5
5
  ## Install
6
6
  Get ruby somehow, if you don't already have it. Then, install this gem:
7
7
  ```
8
- $ gem install divvy_spectra
8
+ $ gem install divvy_proteomics
9
+ ```
10
+ Or if there is permissions problems e.g. on OSX,
11
+ ```
12
+ $ sudo gem install divvy_proteomics
9
13
  ```
10
14
 
11
15
  ## Usage
16
+ To test it work and to get a full listing of help
17
+ ```sh
18
+ $ divvy_spectra -h
12
19
  ```
13
- $ divvy_spectra <DTASelectFile>
14
- ```
15
- Output is a table, with a row for each protein with a few columns, including number of unique spectra and the
16
- estimated number of spectral counts after sorting out the non-uniqueness. Using the ```--pep-xml``` flag, PepXML files
17
- are can be used as input also:
18
20
 
21
+ To run on a PepXML file e.g.
19
22
  ```
20
- $ divvy_spectra --pep-xml <PepXML_file>
23
+ $ divvy_spectra --pep-xml my.pep.xml
21
24
  ```
25
+ or a DTASelect file
26
+ ```
27
+ $ divvy_spectra DTASelect_file
28
+ ```
29
+ Output is a table, with a row for each protein with a few columns, including number of unique spectra and the
30
+ estimated number of spectral counts after sorting out the non-uniqueness.
22
31
 
23
32
  Full usage information:
24
33
  ```
@@ -57,6 +66,6 @@ Verbosity:
57
66
 
58
67
  ## Copyright
59
68
 
60
- Copyright (c) 2013 Ben J Woodcroft. See LICENSE.txt for
69
+ Copyright (c) 2013-2015 Ben J Woodcroft. See LICENSE.txt for
61
70
  further details.
62
71
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.3
data/bin/divvy_spectra CHANGED
@@ -80,11 +80,13 @@ end
80
80
 
81
81
  # Parse the csv file
82
82
  parsed = nil
83
+ log.info "Parsing input.."
83
84
  if options[:input_is_pep_xml]
84
85
  parsed = Bio::PepXML.parse(ARGF)
85
86
  else
86
87
  parsed = Bio::DTASelect::OutputFile.parse(ARGF)
87
88
  end
89
+ log.info "Finished parsing"
88
90
 
89
91
  # Hashes of identifiers to objects
90
92
  proteins = parsed.protein_name_to_object
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: divvy_proteomics 0.3.1 ruby lib
5
+ # stub: divvy_proteomics 0.3.3 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "divvy_proteomics"
9
- s.version = "0.3.1"
9
+ s.version = "0.3.3"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Ben J Woodcroft"]
14
- s.date = "2014-01-07"
14
+ s.date = "2015-02-20"
15
15
  s.description = "divvy up spectra from DTASelect files in a somewhat parsimonious way"
16
16
  s.email = "donttrustben@gmail.com"
17
17
  s.executables = ["divvy_spectra"]
@@ -52,7 +52,7 @@ Gem::Specification.new do |s|
52
52
  ]
53
53
  s.homepage = "http://github.com/wwood/divvy_proteomics"
54
54
  s.licenses = ["MIT"]
55
- s.rubygems_version = "2.2.0"
55
+ s.rubygems_version = "2.2.2"
56
56
  s.summary = "divvy up spectra from DTASelect files in a parsimonious way"
57
57
 
58
58
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: divvy_proteomics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben J Woodcroft
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-07 00:00:00.000000000 Z
11
+ date: 2015-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bio-logger
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
152
  version: '0'
153
153
  requirements: []
154
154
  rubyforge_project:
155
- rubygems_version: 2.2.0
155
+ rubygems_version: 2.2.2
156
156
  signing_key:
157
157
  specification_version: 4
158
158
  summary: divvy up spectra from DTASelect files in a parsimonious way