snp-search 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +6 -5
- data/VERSION +1 -1
- data/bin/snp-search +2 -2
- data/snp-search.gemspec +1 -1
- metadata +16 -16
data/README.rdoc
CHANGED
@@ -3,18 +3,19 @@
|
|
3
3
|
snp-search is a set of tools that manages SNP data and allows for data importing, manipulating, editing and complex querying of SNP data. It can be used to evaluate the utility of SNPs for the assessment of genetic diversity between haploid strains and the management of genotype and phenotype data. Once a query is performed, SNPsearch can be used to convert the selected SNP data into FASTA sequences. SNPsearch is particularly useful in the analysis of phylogenetic trees that are based on SNP differences across whole core genomes. Queries can be made to answer critical genomic questions such as the association of SNPs with particular phenotypes.
|
4
4
|
|
5
5
|
== Obtaining and installing the code
|
6
|
-
snp-search is written in Ruby and operates in a Unix
|
6
|
+
snp-search is written in Ruby and operates in a Unix environment. It is made available as a gem. See the github site for more information (https://github.com/hpa-bioinformatics/snp-search).
|
7
7
|
|
8
8
|
To install snp-search, do
|
9
9
|
gem install snp-search
|
10
10
|
|
11
11
|
== Requirements
|
12
12
|
|
13
|
-
Nothing! You just need to run this in
|
13
|
+
Nothing! You just need to run this in Unix and it will install all the necessary gems for you.
|
14
14
|
|
15
15
|
== Running snp-search
|
16
16
|
|
17
17
|
To run snp-search, you need to have 3 files:
|
18
|
+
|
18
19
|
1- Variant Call Format (.vcf) file (which contains the SNP information)
|
19
20
|
|
20
21
|
2- Your reference genome that you used to generate your .vcf file (in genbank or embl format, the script will automatically detect the format).
|
@@ -35,13 +36,13 @@ Once you have these files ready, you may run snp-search with the following optio
|
|
35
36
|
-v .vcf file Required
|
36
37
|
-r Reference genome file (The same file that was used in generating the .vcf file). This should be in genbank or embl format. Required
|
37
38
|
-s Text file that contains a list of the strain/sample names (The same strains/samples used in generating the .vcf file) Required
|
38
|
-
-c SNP quality
|
39
|
-
-t Genotype Quality
|
39
|
+
-c SNP quality cutoff. A phred-scaled quality score. High quality scores indicate high confidence calls. Optional, default = 90
|
40
|
+
-t Genotype Quality cutoff. This is the probability that the genotype call is wrong under the condition that the site is being variant. Optional, default = 30
|
40
41
|
-h help message
|
41
42
|
|
42
43
|
|
43
44
|
Usage:
|
44
|
-
snp-search -n my_snp_db.sqlite3 -r my_ref.gbk -v my_vcf_file.vcf -s my_list_of_strains.txt
|
45
|
+
snp-search -n my_snp_db.sqlite3 -r my_ref.gbk -v my_vcf_file.vcf -s my_list_of_strains.txt
|
45
46
|
|
46
47
|
Have fun snp-searching!
|
47
48
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.8.0
|
data/bin/snp-search
CHANGED
@@ -14,8 +14,8 @@ opts = Slop.new :help do
|
|
14
14
|
on :r, :reference_file=, 'Reference genome file, in gbk or embl file format', true
|
15
15
|
on :v, :vcf_file=, '.vcf file', true
|
16
16
|
on :s, :strain=, 'text file with a list of strains/samples', true
|
17
|
-
on :c, :cuttoff_snp=, 'SNP quality
|
18
|
-
on :t, :cuttoff_genotype=, 'Genotype quality
|
17
|
+
on :c, :cuttoff_snp=, 'SNP quality cutoff', :default => 90
|
18
|
+
on :t, :cuttoff_genotype=, 'Genotype quality cutoff', :default => 30
|
19
19
|
|
20
20
|
on_empty do
|
21
21
|
puts help
|
data/snp-search.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snp-search
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -14,7 +14,7 @@ date: 2011-12-01 00:00:00.000000000Z
|
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activerecord
|
17
|
-
requirement: &
|
17
|
+
requirement: &2154643260 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: '0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *2154643260
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: bio
|
28
|
-
requirement: &
|
28
|
+
requirement: &2154642660 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ! '>='
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *2154642660
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: slop
|
39
|
-
requirement: &
|
39
|
+
requirement: &2154642060 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ! '>='
|
@@ -44,10 +44,10 @@ dependencies:
|
|
44
44
|
version: '0'
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *2154642060
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: rspec
|
50
|
-
requirement: &
|
50
|
+
requirement: &2154641460 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
53
53
|
- - ~>
|
@@ -55,10 +55,10 @@ dependencies:
|
|
55
55
|
version: 2.3.0
|
56
56
|
type: :development
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
58
|
+
version_requirements: *2154641460
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: bundler
|
61
|
-
requirement: &
|
61
|
+
requirement: &2154640860 !ruby/object:Gem::Requirement
|
62
62
|
none: false
|
63
63
|
requirements:
|
64
64
|
- - ~>
|
@@ -66,10 +66,10 @@ dependencies:
|
|
66
66
|
version: 1.0.0
|
67
67
|
type: :development
|
68
68
|
prerelease: false
|
69
|
-
version_requirements: *
|
69
|
+
version_requirements: *2154640860
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: jeweler
|
72
|
-
requirement: &
|
72
|
+
requirement: &2154640260 !ruby/object:Gem::Requirement
|
73
73
|
none: false
|
74
74
|
requirements:
|
75
75
|
- - ~>
|
@@ -77,10 +77,10 @@ dependencies:
|
|
77
77
|
version: 1.6.4
|
78
78
|
type: :development
|
79
79
|
prerelease: false
|
80
|
-
version_requirements: *
|
80
|
+
version_requirements: *2154640260
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: rcov
|
83
|
-
requirement: &
|
83
|
+
requirement: &2154639660 !ruby/object:Gem::Requirement
|
84
84
|
none: false
|
85
85
|
requirements:
|
86
86
|
- - ! '>='
|
@@ -88,7 +88,7 @@ dependencies:
|
|
88
88
|
version: '0'
|
89
89
|
type: :development
|
90
90
|
prerelease: false
|
91
|
-
version_requirements: *
|
91
|
+
version_requirements: *2154639660
|
92
92
|
description: Use the snp-search toolset to query the SNP database
|
93
93
|
email: ali.al-shahib@hpa.org.uk
|
94
94
|
executables:
|
@@ -130,7 +130,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
130
130
|
version: '0'
|
131
131
|
segments:
|
132
132
|
- 0
|
133
|
-
hash:
|
133
|
+
hash: 977817954600315423
|
134
134
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
135
|
none: false
|
136
136
|
requirements:
|