gn_crossmap 0.1.2 → 0.1.3
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/CHANGELOG.md +4 -0
- data/README.md +32 -7
- data/gn_crossmap.gemspec +2 -0
- data/lib/gn_crossmap/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dc45283e088ba1632caf2eeafe7e5606e0882052
|
|
4
|
+
data.tar.gz: f257ca758a463f01b227997c221ead13925a44b7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b84012e13ee795eac94750da8bb50bebaf1d5b208811684660fcc96cc9cbe440c0fa0cd034632fd96e84fdfa18e6276ab320b2f07312d983e938f8226d8a85bc
|
|
7
|
+
data.tar.gz: 1c2fc9c8087a74cabf6a000e8a8e30efcf8576db21934e30abf863a56058e0d86dd00595b99f68b26e756d8ffdc9cc15bf2c65385a501c3d3452b68d154db016
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -38,12 +38,12 @@ Usage
|
|
|
38
38
|
### Input file format
|
|
39
39
|
|
|
40
40
|
- Comma Separated File with names of fields in first row.
|
|
41
|
-
- Columns can be separated by tab
|
|
41
|
+
- Columns can be separated by **tab**, **comma** or **semicolon**
|
|
42
42
|
- At least some columns should have recognizable fields
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
`taxonID` `kingdom` `phylum` `class` `order` `family` `genus` `species`
|
|
45
|
+
`subspecies` `variety` `form scientificNameAuthorship` `scientificName`
|
|
46
|
+
`taxonRank`
|
|
47
47
|
|
|
48
48
|
#### Simple Example
|
|
49
49
|
|
|
@@ -51,23 +51,47 @@ Usage
|
|
|
51
51
|
1;Macrobiotus echinogenitus subsp. areolatus Murray, 1907
|
|
52
52
|
...
|
|
53
53
|
|
|
54
|
+
|taxonID | scientificName |
|
|
55
|
+
|--------|---------------------------------------------------------|
|
|
56
|
+
|1 | Animalia |
|
|
57
|
+
|2 | Macrobiotus echinogenitus subsp. areolatus Murray, 1907 |
|
|
58
|
+
|
|
54
59
|
#### Rank Example
|
|
55
60
|
|
|
56
61
|
taxonID;scientificName;taxonRank
|
|
57
62
|
1;Macrobiotus echinogenitus f. areolatus Murray, 1907;form
|
|
58
63
|
...
|
|
59
64
|
|
|
65
|
+
|taxonID | scientificName | taxonRank |
|
|
66
|
+
|--------|---------------------------------------------------------|-----------|
|
|
67
|
+
|1 | Animalia | kingdom |
|
|
68
|
+
|2 | Macrobiotus echinogenitus subsp. areolatus Murray, 1907 | subspecies|
|
|
69
|
+
|
|
60
70
|
#### Family and Authorship Example
|
|
61
71
|
|
|
62
72
|
taxonID;family;scientificName;scientificNameAuthorship
|
|
63
73
|
1;Macrobiotidae;Macrobiotus echinogenitus subsp. areolatus;Murray, 1907
|
|
64
74
|
...
|
|
65
75
|
|
|
76
|
+
|taxonID | family | scientificName | scientificNameAuthorship|
|
|
77
|
+
|--------|---------------|---------------------------|-------------------------|
|
|
78
|
+
|1 | | Animalia | |
|
|
79
|
+
|2 | Macrobiotidae | Macrobiotus echinogenitus | Murray |
|
|
80
|
+
|
|
66
81
|
#### Fine-grained Example
|
|
67
82
|
|
|
68
83
|
TaxonId;kingdom;subkingdom;phylum;subphylum;superclass;class;subclass;cohort;superorder;order;suborder;infraorder;superfamily;family;subfamily;tribe;subtribe;genus;subgenus;section;species;subspecies;variety;form;ScientificNameAuthorship
|
|
69
84
|
1;Animalia;;Tardigrada;;;Eutardigrada;;;;Parachela;;;Macrobiotoidea;Macrobiotidae;;;;Macrobiotus;;;harmsworthi;obscurus;;;Dastych, 1985
|
|
70
85
|
|
|
86
|
+
|
|
87
|
+
TaxonId|kingdom|subkingdom|phylum|subphylum|superclass|class|subclass|cohort|superorder|order|suborder|infraorder|superfamily|family|subfamily|tribe|subtribe|genus|subgenus|section|species|subspecies|variety|form|ScientificNameAuthorship
|
|
88
|
+
-------|-------|----------|------|---------|----------|-----|--------|------|----------|-----|--------|----------|-----------|------|---------|-----|--------|-----|--------|-------|-------|----------|-------|----|------------------------
|
|
89
|
+
136021|Animalia||Pogonophora||||||||||||||||||||||
|
|
90
|
+
136022|Animalia||Pogonophora|||Frenulata|||||||||||||||||||Webb, 1969
|
|
91
|
+
565443|Animalia||Tardigrada|||Eutardigrada||||Parachela|||Macrobiotoidea|Macrobiotidae||||Macrobiotus|||harmsworthi|obscurus|||Dastych, 1985
|
|
92
|
+
|
|
93
|
+
More examples can be found in [spec/files][files] directory
|
|
94
|
+
|
|
71
95
|
### Usage from command line
|
|
72
96
|
|
|
73
97
|
# to see help
|
|
@@ -119,9 +143,9 @@ Author -- [Dmitry Mozzherin][dimus]
|
|
|
119
143
|
Copyright (c) 2015 [Marine Biological Laboratory][mbl].
|
|
120
144
|
See [LICENSE][license] for details.
|
|
121
145
|
|
|
122
|
-
[gem_badge]: https://badge.fury.io/rb/gn_crossmap.
|
|
146
|
+
[gem_badge]: https://badge.fury.io/rb/gn_crossmap.svg
|
|
123
147
|
[gem_link]: http://badge.fury.io/rb/gn_crossmap
|
|
124
|
-
[ci_badge]: https://secure.travis-ci.org/GlobalNamesArchitecture/gn_crossmap.
|
|
148
|
+
[ci_badge]: https://secure.travis-ci.org/GlobalNamesArchitecture/gn_crossmap.svg
|
|
125
149
|
[ci_link]: http://travis-ci.org/GlobalNamesArchitecture/gn_crossmap
|
|
126
150
|
[cov_badge]: https://coveralls.io/repos/GlobalNamesArchitecture/gn_crossmap/badge.svg?branch=master
|
|
127
151
|
[cov_link]: https://coveralls.io/r/GlobalNamesArchitecture/gn_crossmap?branch=master
|
|
@@ -129,9 +153,10 @@ See [LICENSE][license] for details.
|
|
|
129
153
|
[code_link]: https://codeclimate.com/github/GlobalNamesArchitecture/gn_crossmap
|
|
130
154
|
[dep_badge]: https://gemnasium.com/GlobalNamesArchitecture/gn_crossmap.png
|
|
131
155
|
[dep_link]: https://gemnasium.com/GlobalNamesArchitecture/gn_crossmap
|
|
132
|
-
[resolver]: http://resolver.globalnames.org
|
|
156
|
+
[resolver]: http://resolver.globalnames.org/data_sources
|
|
133
157
|
[rubygems]: https://rubygems.org
|
|
134
158
|
[dimus]: https://github.com/dimus
|
|
135
159
|
[mbl]: http://mbl.edu
|
|
136
160
|
[license]: https://github.com/GlobalNamesArchitecture/gn_crossmap/blob/master/LICENSE
|
|
137
161
|
[terms]: http://rs.tdwg.org/dwc/terms
|
|
162
|
+
[files]: https://github.com/GlobalNamesArchitecture/gn_crossmap/tree/master/spec/files
|
data/gn_crossmap.gemspec
CHANGED
|
@@ -4,8 +4,10 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
require "gn_crossmap/version"
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |gem|
|
|
7
|
+
gem.required_ruby_version = ">= 2.1"
|
|
7
8
|
gem.name = "gn_crossmap"
|
|
8
9
|
gem.version = GnCrossmap::VERSION
|
|
10
|
+
gem.license = "MIT"
|
|
9
11
|
gem.authors = ["Dmitry Mozzherin"]
|
|
10
12
|
gem.email = ["dmozzherin@gmail.com"]
|
|
11
13
|
|
data/lib/gn_crossmap/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gn_crossmap
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dmitry Mozzherin
|
|
@@ -155,7 +155,8 @@ files:
|
|
|
155
155
|
- lib/gn_crossmap/version.rb
|
|
156
156
|
- lib/gn_crossmap/writer.rb
|
|
157
157
|
homepage: https://github.com/GlobalNamesArchitecture/gn_crossmap
|
|
158
|
-
licenses:
|
|
158
|
+
licenses:
|
|
159
|
+
- MIT
|
|
159
160
|
metadata: {}
|
|
160
161
|
post_install_message:
|
|
161
162
|
rdoc_options: []
|
|
@@ -165,7 +166,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
165
166
|
requirements:
|
|
166
167
|
- - ">="
|
|
167
168
|
- !ruby/object:Gem::Version
|
|
168
|
-
version: '
|
|
169
|
+
version: '2.1'
|
|
169
170
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
170
171
|
requirements:
|
|
171
172
|
- - ">="
|