dirseq 0.4.1 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +28 -11
- data/Rakefile +3 -3
- data/VERSION +1 -1
- data/bin/dirseq +1 -1
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3d1019d1157dc1d53d0d802027b439d03d8cd0aeacc2670e0e7825be6a14f06
|
4
|
+
data.tar.gz: adc9eda6d50933442e3ee82a66757ce553e2a2aae7e92628c2ed5ed6c8304cc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bd8397bf9a8a6190d3467daf094c1909a71d90d7f0b349990291b5168954663f11ae54f971324bb7cf53663a5f4e48bbaa7722c3343ec0075f0f3634df263d9
|
7
|
+
data.tar.gz: 5e2dedd8e96ad9699fd949fd61a02a81c556285b2f850a268dbc7702a85f5863054da17fff0c208d3bb319139382e1770970294778ac1aaeb57796d25c5fbf2f
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -8,18 +8,34 @@ Note: this software is under active development!
|
|
8
8
|
|
9
9
|
## Installation
|
10
10
|
|
11
|
-
|
11
|
+
Install some prerequisites via conda, and then dirseq itself:
|
12
12
|
```sh
|
13
|
+
conda create -c bioconda -n dirseq -y ruby samtools bedtools'>'2.24
|
14
|
+
conda activate dirseq
|
13
15
|
gem install dirseq
|
14
16
|
```
|
15
|
-
|
17
|
+
|
18
|
+
The following dependencies are installed above, but for completeness of documentation, dirseq requires these dependencies, on top of the Ruby ones:
|
16
19
|
* samtools (tested with 0.1.19 and 1.0+)
|
17
20
|
* bedtools (tested with 2.24.0) - old versions won't work.
|
18
21
|
* Ruby (tested with 2.1.1)
|
19
22
|
|
20
23
|
## Usage
|
21
24
|
|
22
|
-
|
25
|
+
Example usage:
|
26
|
+
|
27
|
+
Download the example data:
|
28
|
+
```sh
|
29
|
+
git clone https://github.com/wwood/dirseq
|
30
|
+
cd dirseq
|
31
|
+
```
|
32
|
+
|
33
|
+
Then run dirseq:
|
34
|
+
```sh
|
35
|
+
dirseq --bam spec/data/eg.bam --gff spec/data/eg.gff --measure-type count
|
36
|
+
```
|
37
|
+
|
38
|
+
Full usage help:
|
23
39
|
```sh
|
24
40
|
$ dirseq -h
|
25
41
|
|
@@ -38,6 +54,7 @@ Optional parameters:
|
|
38
54
|
--accepted-feature-types TYPE
|
39
55
|
Print only features of these type(s) [default CDS]
|
40
56
|
--comment-fields Print elements from the comments in the GFF file [default ID]
|
57
|
+
--sam-filter-flags Apply these samtools filters [default: -F0x100 -F0x800]
|
41
58
|
|
42
59
|
Verbosity:
|
43
60
|
|
@@ -46,6 +63,11 @@ Verbosity:
|
|
46
63
|
--trace options Set log level [default INFO]. e.g. '--trace debug' to set logging level to DEBUG
|
47
64
|
```
|
48
65
|
|
66
|
+
Running on [EnrichM](https://github.com/geronimp/enrichM) output, the output columns are changed relative to [PROKKA](https://github.com/tseemann/prokka)-generated GFF files:
|
67
|
+
```sh
|
68
|
+
dirseq --bam spec/data/eg.bam --gff spec/data/eg.gff --measure-type count --comment-fields seq_id,annotations
|
69
|
+
```
|
70
|
+
|
49
71
|
## Project home page
|
50
72
|
|
51
73
|
Information on the source tree, documentation, examples, issues and
|
@@ -57,16 +79,11 @@ The BioRuby community is on IRC server: irc.freenode.org, channel: #bioruby.
|
|
57
79
|
|
58
80
|
## Cite
|
59
81
|
|
60
|
-
If you use this software, please cite
|
61
|
-
|
62
|
-
* [BioRuby: bioinformatics software for the Ruby programming language](http://dx.doi.org/10.1093/bioinformatics/btq475)
|
63
|
-
* [Biogem: an effective tool-based approach for scaling up open source software development in bioinformatics](http://dx.doi.org/10.1093/bioinformatics/bts080)
|
64
|
-
|
65
|
-
## Biogems.info
|
82
|
+
If you use this software, please cite
|
66
83
|
|
67
|
-
|
84
|
+
Woodcroft, B.J., Singleton, C.M., Boyd, J.A. et al. Genome-centric view of carbon processing in thawing permafrost. Nature 560, 49–54 (2018). https://doi.org/10.1038/s41586-018-0338-1
|
68
85
|
|
69
86
|
## Copyright
|
70
87
|
|
71
|
-
Copyright (c) 2014 Ben J. Woodcroft. See LICENSE.txt for further details.
|
88
|
+
Copyright (c) 2014-2021 Ben J. Woodcroft. See LICENSE.txt for further details.
|
72
89
|
|
data/Rakefile
CHANGED
@@ -11,8 +11,8 @@ rescue Bundler::BundlerError => e
|
|
11
11
|
end
|
12
12
|
require 'rake'
|
13
13
|
|
14
|
-
require '
|
15
|
-
|
14
|
+
require 'juwelier'
|
15
|
+
Juwelier::Tasks.new do |gem|
|
16
16
|
# gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
|
17
17
|
gem.name = "dirseq"
|
18
18
|
gem.homepage = "http://github.com/wwood/dirseq"
|
@@ -23,7 +23,7 @@ Jeweler::Tasks.new do |gem|
|
|
23
23
|
gem.authors = ["Ben J. Woodcroft"]
|
24
24
|
# dependencies defined in Gemfile
|
25
25
|
end
|
26
|
-
|
26
|
+
Juwelier::RubygemsDotOrgTasks.new
|
27
27
|
|
28
28
|
require 'rspec/core'
|
29
29
|
require 'rspec/core/rake_task'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.3
|
data/bin/dirseq
CHANGED
@@ -54,7 +54,7 @@ o = OptionParser.new do |opts|
|
|
54
54
|
"Print only features of these type(s) [default #{options[:accepted_feature_types].join(',')}]") do |arg|
|
55
55
|
options[:accepted_feature_types] = Set.new(arg)
|
56
56
|
end
|
57
|
-
opts.on("--comment-fields", Array,
|
57
|
+
opts.on("--comment-fields COMMA_SEPARATED_FIELDS", Array,
|
58
58
|
"Print elements from the comments in the GFF file [default #{options[:comment_fields_to_print].join(',')}]") do |arg|
|
59
59
|
options[:comment_fields_to_print] = arg
|
60
60
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dirseq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.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:
|
11
|
+
date: 2021-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bio-commandeer
|
@@ -59,19 +59,25 @@ dependencies:
|
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: 1.4.2
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
|
-
name:
|
62
|
+
name: juwelier
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '2.
|
67
|
+
version: '2.4'
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 2.4.9
|
68
71
|
type: :development
|
69
72
|
prerelease: false
|
70
73
|
version_requirements: !ruby/object:Gem::Requirement
|
71
74
|
requirements:
|
72
75
|
- - "~>"
|
73
76
|
- !ruby/object:Gem::Version
|
74
|
-
version: '2.
|
77
|
+
version: '2.4'
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 2.4.9
|
75
81
|
- !ruby/object:Gem::Dependency
|
76
82
|
name: bundler
|
77
83
|
requirement: !ruby/object:Gem::Requirement
|