sequence_logo 1.2.1 → 1.2.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49b8d62c88fef94b51afe103ca310f00916efdec
|
4
|
+
data.tar.gz: bd8990d9f2ae74d63a2565152ef5f9a32044c4b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5e46900733670c4e0c50f45f5b839eb71aba62eb9e1998425574d684c3b84c2db38983d51388c1422896e963a92187b1f986230fc6eb5d50ec4bf64eb435eec
|
7
|
+
data.tar.gz: 51dd020446c145136fad74b845cd6711423439bfa41a3d4cd895b2fb2fbd910f307d175fd83aaeb5d828377bf897c173141ab01a7032e762b25e66f418591f12
|
data/lib/sequence_logo/di_pm.rb
CHANGED
@@ -9,7 +9,7 @@ def load_alignment_infos(alignment_lines)
|
|
9
9
|
shift = shift.to_i
|
10
10
|
orientation = orientation.downcase.to_sym
|
11
11
|
|
12
|
-
ppm = Bioinform::MotifModel::PCM.from_file(filename)
|
12
|
+
ppm = Bioinform::MotifModel::PCM.from_file(filename, validator: Bioinform::MotifModel::PCM::DIFFERENT_COUNTS_VALIDATOR)
|
13
13
|
ppm.name ||= motif_name
|
14
14
|
|
15
15
|
raise 'Unknown orientation' unless [:direct, :revcomp].include?(orientation)
|
@@ -113,7 +113,7 @@ begin
|
|
113
113
|
if options[:from_dinucleotide]
|
114
114
|
ppm = Bioinform::MotifModel::DiPCM.from_file(filename).to_mono
|
115
115
|
else
|
116
|
-
ppm = Bioinform::MotifModel::PCM.from_file(filename)
|
116
|
+
ppm = Bioinform::MotifModel::PCM.from_file(filename, validator: Bioinform::MotifModel::PCM::DIFFERENT_COUNTS_VALIDATOR)
|
117
117
|
end
|
118
118
|
|
119
119
|
logo = SequenceLogo::PPMLogo.new( ppm,
|
data/sequence_logo.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sequence_logo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ilya Vorontsov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rmagick
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2.13'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bioinform
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.3.1
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.3.1
|
27
41
|
description: |
|
28
42
|
SequenceLogo is a tool for drawing sequence logos of motifs. It gets Positional Count Matrices(PCMs) or IUPAC sequences as input and generates png-logos for a motif. Also one can create logo for reverse complement or even generate logos for a whole collection of motifs.
|
29
43
|
Sequence logos are a graphical representation of an amino acid or nucleic acid multiple sequence alignment developed by Tom Schneider and Mike Stephens. Each logo consists of stacks of symbols, one stack for each position in the sequence. The overall height of the stack indicates the sequence conservation at that position, while the height of symbols within the stack indicates the relative frequency of each amino or nucleic acid at that position. In general, a sequence logo provides a richer and more precise description of, for example, a binding site, than would a consensus sequence (see http://weblogo.berkeley.edu/)
|