seqtrimnext 2.0.56 → 2.0.57
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/History.txt +4 -0
- data/lib/seqtrimnext.rb +1 -1
- data/lib/seqtrimnext/plugins/plugin_vectors.rb +9 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 07737f90cbb150047a0debcc1e9d9c4ee6091540
|
|
4
|
+
data.tar.gz: 1fc181613c6bfece0ccff4bb3244f20516777bf9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 607b6bfd522edfcabf1d18a5f8a1cddab627b529bea32ebe91cc35b039aa66abad5bd5b7f8f92acec3faa975675d60a4ce61dc4c7eae727b09274016d5c33431
|
|
7
|
+
data.tar.gz: 94e7678fba526fd31a13228fb24f01362bdcbfc70c8d39994ca9c646a798d872c8a914e2d2cbdde847d0146ff0027f35919a53c0dcf515bef438530f1fd70d37
|
data/History.txt
CHANGED
data/lib/seqtrimnext.rb
CHANGED
|
@@ -110,8 +110,10 @@ class PluginVectors < Plugin
|
|
|
110
110
|
if !near_to_extrem(v,seq,min_vector_size)
|
|
111
111
|
type = 'ActionUnexpectedVector'
|
|
112
112
|
|
|
113
|
-
|
|
114
|
-
|
|
113
|
+
if @params.get_param('middle_vector_rejects')=='true'
|
|
114
|
+
seq.seq_rejected=true
|
|
115
|
+
seq.seq_rejected_by_message='unexpected vector'
|
|
116
|
+
end
|
|
115
117
|
|
|
116
118
|
add_stats('rejected','unexpected_vector')
|
|
117
119
|
|
|
@@ -171,6 +173,11 @@ class PluginVectors < Plugin
|
|
|
171
173
|
default_value = File.join($FORMATTED_DB_PATH,'vectors.fasta')
|
|
172
174
|
params.check_param(errors,'vectors_db','DB',default_value,comment)
|
|
173
175
|
|
|
176
|
+
comment='Rejects sequences with vectors in the middle'
|
|
177
|
+
default_value = 'true'
|
|
178
|
+
params.check_param(errors,'middle_vector_rejects','String',default_value,comment)
|
|
179
|
+
|
|
180
|
+
|
|
174
181
|
# params.split_databases('vectors_db')
|
|
175
182
|
|
|
176
183
|
return errors
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: seqtrimnext
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.57
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dario Guerrero & Almudena Bocinos
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2013-07-
|
|
12
|
+
date: 2013-07-26 00:00:00 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: narray
|