gfa 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc98fa1d3479be3fee554dab64876d6cd42795aec08a6b60be6ccb148c57c679
4
- data.tar.gz: 28ef77ca42b374e58c983f474d44801060dadb2df912230e431cf40ee8f1386c
3
+ metadata.gz: cf18e4a80f49fc9c0ae4574c5c7bbc3c97fd41eaf5c7aff9fdd7991b7d562ccf
4
+ data.tar.gz: ac6999ffbbbeba45f9b81c6081ac16339ce4bb55502a77b116c77f91870af991
5
5
  SHA512:
6
- metadata.gz: 1a7226dbe5813cc9e7b0cde0e756b0b41395d45e690fd3df0e6ad266f51a209d55d72fdaeaab5aaebd3fec7ce033b54bb04510903cc3eadef230bd30485f037e
7
- data.tar.gz: 32f081a9cf35219f05cb21654011a32a1645f13cbf1d7dda320ebef0b7d893523943cd71f8c9f8a310f1021b6adfaa99b1f863d498be1bbb77bf0a5e04779efd
6
+ metadata.gz: c8ae1b273166574d8520aa1f747ac0dbd08e8f31846754ca6c3fa7f0432d5f31583aa915fcebb04a220e90fe14aeeb4f06dec2a5c23527571c9bb337de0ef9a5
7
+ data.tar.gz: f5fce0959cace1fe961d92fab2946bf8b67571ee6ceef3cd6e7047d8c46f0855b28e6b703ffbfe327ef8d09e1174b94ee98423ae36bb858bab76615849e0bd94
data/bin/gfa-add-gaf CHANGED
@@ -18,11 +18,13 @@ unless degree
18
18
  <input-gaf> Input GAF file to read
19
19
  <output> Output GFA file to write
20
20
  <degree> Maximum degree of separation between the segment set in the GAF
21
- and any other included segments. If 0, only segments are
22
- included. If 1, only the target segments, records linking to
23
- them, and segments linked by those records. Any integer > 1
24
- includes additional expansion rounds for those linked segments.
25
- Use -1 to include the complete original GAF without subsetting.
21
+ and any other segments included in the output GFA.
22
+ - -1: include the complete original GAF without subsetting.
23
+ - 0: only segments in the GAF are included.
24
+ - 1: only the target segments in the GAF, records linking to
25
+ them, and segments linked by those records are included.
26
+ - Any integer > 1: include additional expansion rounds for
27
+ those linked segments.
26
28
  <pref> A prefix to name all recorded paths
27
29
  By default: Based on the GAF file name
28
30
  <threads> If passed, parallelize process with these many threads
data/lib/gfa/graph.rb CHANGED
@@ -146,7 +146,7 @@ class GFA
146
146
 
147
147
  def internally_linking_records(segments, edges)
148
148
  $stderr.puts '- Gathering internally linking records'
149
- segments = Hash[segments.set.map { |i| [i.name.value, true]}]
149
+ segments = Hash[segments.map { |i| [i.name.value, true]}]
150
150
  edges.select { |record| record.segment_names_a.all? { |s| segments[s] } }
151
151
  end
152
152
 
data/lib/gfa/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  class GFA
2
- VERSION = '0.6.0'
2
+ VERSION = '0.6.1'
3
3
  VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
4
4
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
5
5
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gfa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luis M. Rodriguez-R