bio-blast_seq_extract 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/lib/bio/blast_seq_extract/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4938419cba8dc44360d1bc30713c632b211d9d07c67ccd80fd64f3008a7a9595
|
4
|
+
data.tar.gz: c91313b6e9ab0b9fa53406097391583ff7df46719c074cb743e38db90fc60e23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f7fc6ff7a72005942bfbe3bc8e22ff1fb221bb38da614ed037a47a2f31002173c287665203d72198836e727545c3b83226369ad1a56da4d50e5dfe3cf51cc15
|
7
|
+
data.tar.gz: 492930b06cff61acf5cb7e2b4a4f32eb32dbba0a801835f5a0ab026c2fd0cd6b7468cd53f446121b7ec732703afb56443f8deeb3ee8c344a9715969784085cf9
|
data/README.md
CHANGED
@@ -26,15 +26,19 @@ Or install it yourself as:
|
|
26
26
|
a = BlastSeqExtract.new
|
27
27
|
|
28
28
|
Read a sequence in the format of fasta
|
29
|
+
|
29
30
|
a.readSeq(seq_infile)
|
30
31
|
|
31
32
|
Read the blast output (tabular format)
|
33
|
+
|
32
34
|
a.readBlast(blast_infile, evalue_cutoff, max_no_seqs)
|
33
35
|
|
34
36
|
Get the aligned region from the blast output
|
37
|
+
|
35
38
|
seqObjs = a.getRegion
|
36
39
|
|
37
40
|
Assumming the input is in FASTA format, f is an object of Bio::FastaFormat
|
41
|
+
|
38
42
|
seqObjs.each do |f|
|
39
43
|
puts '>'+f.definition
|
40
44
|
puts f.seq
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bio-blast_seq_extract
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sishuo Wang
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bio
|