ms-fasta 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History +5 -0
- data/lib/ms/load/fasta.rb +1 -1
- data/lib/ms/{load/random_fasta.rb → random/fasta.rb} +3 -3
- metadata +14 -4
data/History
CHANGED
data/lib/ms/load/fasta.rb
CHANGED
@@ -2,7 +2,7 @@ require 'ms/fasta/archive'
|
|
2
2
|
|
3
3
|
module Ms
|
4
4
|
module Load
|
5
|
-
# :startdoc::
|
5
|
+
# :startdoc::task loads entries in a fasta file
|
6
6
|
#
|
7
7
|
# Loads entries from a fasta file. Entries are returned as an array and
|
8
8
|
# by default as Ms::Fasta::Entry objects.
|
@@ -1,13 +1,13 @@
|
|
1
1
|
require 'ms/fasta/archive'
|
2
2
|
|
3
3
|
module Ms
|
4
|
-
module
|
5
|
-
# :startdoc::
|
4
|
+
module Random
|
5
|
+
# :startdoc::task selects n random fasta entries
|
6
6
|
#
|
7
7
|
# Selects random fasta entries from a fasta file. Entries are returned as
|
8
8
|
# an array, and by default as Ms::Fasta::Entry objects.
|
9
9
|
#
|
10
|
-
class
|
10
|
+
class Fasta < Tap::Task
|
11
11
|
|
12
12
|
config :n, 1, &c.integer # the number of fasta to select
|
13
13
|
config :fasta, false, &c.switch # returns entries as fasta strings
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ms-fasta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Chiang
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-05-06 00:00:00 -06:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,17 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0.
|
23
|
+
version: 0.17.0
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: tap-test
|
27
|
+
type: :development
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.1.0
|
24
34
|
version:
|
25
35
|
- !ruby/object:Gem::Dependency
|
26
36
|
name: external
|
@@ -46,7 +56,7 @@ files:
|
|
46
56
|
- lib/ms/fasta/archive.rb
|
47
57
|
- lib/ms/fasta/entry.rb
|
48
58
|
- lib/ms/load/fasta.rb
|
49
|
-
- lib/ms/
|
59
|
+
- lib/ms/random/fasta.rb
|
50
60
|
- tap.yml
|
51
61
|
- History
|
52
62
|
- README
|