miga-base 1.3.16.0 → 1.3.17.0

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/miga/version.rb +2 -2
  3. data/scripts/ssu.bash +11 -10
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9831118f9d6abd893207d1d902f78187db3cb2cbecfefcd9695388963433937
4
- data.tar.gz: 1363e1b9b96c017be4cd3034aba69cc5c1c7a0ef9bbc05bcf6c0a0c5f926b366
3
+ metadata.gz: e33b9da20704a768d31e9b826676bdcb637a7636ec434fdef4af7eb653744f35
4
+ data.tar.gz: 28970fcb3723a6304c11d834f8861b37ede641fba77ddd9a2d4950b608fcb6a0
5
5
  SHA512:
6
- metadata.gz: 871c33305ebefcad9097c804956429d73b92459df2ab5f7494d635b2303f40737540c4d7d610dcc528e8c39339589341eedaddae04e62d691e5b64ba254a90ed
7
- data.tar.gz: b37a9a0c2f13cdc3f0db9ca7e9dd411aaf093a9b14980107dd656d9e56298e474791720f87c8bec0444e2fe1a2b0513836d4d02421484e1482cfc69435e82ed3
6
+ metadata.gz: 9ff04d00d7e1d4af7b007bbf27e59b35a57678715cf89651befcab48deec95389e1c3ffb330bfae62cd8720bde752f36a9f513f37e410d1ab60158381de700f7
7
+ data.tar.gz: 33c6aaa9c088b8bfed16c1ffd765fe36d4b797bd01d4145cda989e50faf2dea4ffe93d632cde163fef1e64d4493fc9f164b85770337439c75f59d6a652b89feb
data/lib/miga/version.rb CHANGED
@@ -12,7 +12,7 @@ module MiGA
12
12
  # - String indicating release status:
13
13
  # - rc* release candidate, not released as gem
14
14
  # - [0-9]+ stable release, released as gem
15
- VERSION = [1.3, 16, 0].freeze
15
+ VERSION = [1.3, 17, 0].freeze
16
16
 
17
17
  ##
18
18
  # Nickname for the current major.minor version.
@@ -20,7 +20,7 @@ module MiGA
20
20
 
21
21
  ##
22
22
  # Date of the current gem relese.
23
- VERSION_DATE = Date.new(2024, 6, 23)
23
+ VERSION_DATE = Date.new(2024, 6, 28)
24
24
 
25
25
  ##
26
26
  # References of MiGA
data/scripts/ssu.bash CHANGED
@@ -46,16 +46,17 @@ if [[ -s $fa ]] ; then
46
46
  >> "${DATASET}.rdp.tsv"
47
47
  fi
48
48
 
49
- # tRNAscan-SE
50
- dom_opt="-$(echo "$d" | perl -pe 's/(\S).*/$1/')"
51
- out="${DATASET}.trna.txt"
52
- # `echo O` is to avoid a hang from a pre-existing output file.
53
- # This is better than pre-checking (and removing), because it avoids
54
- # the (unlikely) scenario of a file racing (e.g., a file created right
55
- # before tRNAscan-SE starts, or a `rm` failure).
56
- #
57
- # The trailing `|| true` is to treat failure as non-fatal
58
- echo O | tRNAscan-SE $dom_opt -o "${DATASET}.trna.txt" -q "$fa" || true
49
+ # tRNAscan-SE (only if non-multi)
50
+ if miga ls -P "$PROJECT" -D "$DATASET" --no-multi --silent ; then
51
+ dom_opt="-$(echo "$d" | perl -pe 's/(\S).*/$1/')"
52
+ # `echo O` is to avoid a hang from a pre-existing output file.
53
+ # This is better than pre-checking (and removing), because it avoids
54
+ # the (unlikely) scenario of a file racing (e.g., a file created right
55
+ # before tRNAscan-SE starts, or a `rm` failure).
56
+ #
57
+ # The trailing `|| true` is to treat failure as non-fatal
58
+ echo O | tRNAscan-SE $dom_opt -o "${DATASET}.trna.txt" -q "$fa" || true
59
+ fi
59
60
 
60
61
  # Gzip
61
62
  for x in gff ssu.all.fa rdp.tsv trna.txt ; do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miga-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.16.0
4
+ version: 1.3.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luis M. Rodriguez-R
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-23 00:00:00.000000000 Z
11
+ date: 2024-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: daemons