bio-blast_seq_extract 0.2.4 → 0.2.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ba15caee1f8c46c33a3b45bf181e919eb464d15a5fdb25f0a95b99903bea9a0
4
- data.tar.gz: 1843b59cd37814f4b33b76dd66dfcfaf27d94c076534853b7a388dcd81055a1b
3
+ metadata.gz: 4938419cba8dc44360d1bc30713c632b211d9d07c67ccd80fd64f3008a7a9595
4
+ data.tar.gz: c91313b6e9ab0b9fa53406097391583ff7df46719c074cb743e38db90fc60e23
5
5
  SHA512:
6
- metadata.gz: 584ebfc730dd6e565e6d49827b2b023b0fa9f66134bc253efc78b6c5c62d127293f7e31abdc5591d59190840fa7e4afd464a5560ba26bc4ead05814652dc3d04
7
- data.tar.gz: e6132b689e768acd54345b275137420a53ae5fd9531f80ba7300b7368f89c51047feaee280cbc0fb9bba015257f41dae62c227914d3a4ebfb6c3195ca5521e3d
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
@@ -1,5 +1,5 @@
1
1
  module Bio
2
2
  module BlastSeqExtract
3
- VERSION = "0.2.4"
3
+ VERSION = "0.2.5"
4
4
  end
5
5
  end
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
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-13 00:00:00.000000000 Z
11
+ date: 2019-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bio