bio-fastqc 0.10.4 → 0.10.6

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: ee05612afd7abcb08e1a6df37c16e23af1d1dff69212356b8fee08868130db8a
4
- data.tar.gz: c97b10724023afe960ae41af729276300f103d1ccd6d6bf8f3eac57fc9caf847
3
+ metadata.gz: ddd77c8a1af5b9dfc191fa536cfca801ca4103ff63a9e2479a5cbdc1efed9de7
4
+ data.tar.gz: 04a615591af4c0c5afe5897bb1cccc67be6eaddb191b05592ed669ee91b89a35
5
5
  SHA512:
6
- metadata.gz: 4e799be0e1a4b502ae58e8e8df109be253aea9d7eac787e7bc73bb0f5db6c1d9ca0738914a88a2abc1b297e1a1046dd807dd70cd70b974555a3c6c57be118702
7
- data.tar.gz: ca9ce91aca5779567369c21d9c531f157f4c9637af606669595fd308955533b564d7769f0afea24f8eab268d78897f3b27d0f3e82ae437feaef7288b9300d7b2
6
+ metadata.gz: b81e1fb00428cc991e53271817c49521415352424725e74e465e19d10cd2126f4b7358f5ad6c1e8d5c4ee938b825f18e3201eeb4d93864c0b596b9a94dd3ebe5
7
+ data.tar.gz: ae27039df3c89bbd92c7c894fe7f017b27a1fb2a340e8f8b948c5bc149a4e2a139abaa02bf99c124098875377d870b4d8289b915fd04323cdec74fb0c7d66101
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.10.4
1
+ 0.10.6
@@ -0,0 +1,2 @@
1
+ FROM ruby:2.5.0-slim
2
+ RUN gem install bio-fastqc -v 0.10.4
@@ -6,14 +6,14 @@ require 'json'
6
6
  module Bio
7
7
  module FastQC
8
8
  class CLI < Thor
9
- desc "parse [--format format] [filename]", "parse fastqc data in fastqc directory or zipfile. output format: json (--json), json-ld (--jsonld), rdf-turtle (--ttl), or one-line tsv format (--tsv)."
9
+ desc "parse [--format format] [filename]", "parse fastqc data in directory or zipfile. output format should be json, json-ld, turtle, or tsv"
10
10
  option :format, :default => "json"
11
- def parse(file)
12
- data = Data.read(file)
13
- summary = Parser.new(data).summary
14
- puts Converter.new(summary).convert_to(options[:format])
15
- # rescue
16
- # puts "Wrong input file type: specify fastqc result data, directory or zipfile"
11
+ def parse(*files)
12
+ files.each do |file|
13
+ data = Data.read(file)
14
+ summary = Parser.new(data).summary
15
+ puts Converter.new(summary).convert_to(options[:format])
16
+ end
17
17
  end
18
18
  end
19
19
  end
@@ -13,9 +13,9 @@ module Bio
13
13
  case format
14
14
  when "json"
15
15
  to_json
16
- when "json-ld"
16
+ when "json-ld", "jsonld"
17
17
  to_jsonld
18
- when "turtle"
18
+ when "turtle", "ttl"
19
19
  to_turtle
20
20
  when "tsv"
21
21
  to_tsv
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bio-fastqc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.4
4
+ version: 0.10.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tazro Inutano Ohta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-21 00:00:00.000000000 Z
11
+ date: 2018-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip
@@ -219,6 +219,7 @@ files:
219
219
  - Rakefile
220
220
  - VERSION
221
221
  - bin/fastqc-util
222
+ - dockerfile/Dockerfile
222
223
  - lib/bio-fastqc.rb
223
224
  - lib/bio/fastqc.rb
224
225
  - lib/bio/fastqc/cli.rb