miga-base 1.3.20.1 → 1.3.20.2

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: c6c4afd4c7ece4cbb7c188d59b1743b149e1b721a44f12dfa90e47d960716266
4
- data.tar.gz: cb37cb26f5ced17d58172ca00f90860a984071c628878f4e65ecf019347cda7d
3
+ metadata.gz: 0ed682917cf2e5645f7ae31789932c2d14eaf06faa29aca1b13142862f653d49
4
+ data.tar.gz: fce8e42084a3896c49a01ce603d0c99ac766b1bade878b43ac55fd5be11ba523
5
5
  SHA512:
6
- metadata.gz: de3a104391e4742b5fa26ed4e96c35ca64780d244c591895a9465089825e11d5521d301467daf520fb06acbe837afc0fc0f75da26fdbc19fdff78cfb31085d53
7
- data.tar.gz: 746203077d5ec8a48b85129324b954cfa587a89a3f9eee4c0dc23075925ad3ecf2649b251979ac0e03ef8fc4f18f68f03afc4a72df034f18b134d3ffda1f0075
6
+ metadata.gz: 1eacee695bac46bbed8c1bb13694c2ff614020eef89d8547939a6d976f21659464185d648ff2244f25e5ddba2ae429a1d87758034eefa48ce84e8636f072c686
7
+ data.tar.gz: 04fb36c2c58b9fde72e48f9a9983a3505f6368ac231e412c7844380fa4a497dcd71d3209c09b97d961f393b6b3c9965092e72620b88d226fa4275a3a8993db0d
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, 20, 1].freeze
15
+ VERSION = [1.3, 20, 2].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, 7, 25)
23
+ VERSION_DATE = Date.new(2024, 8, 29)
24
24
 
25
25
  ##
26
26
  # References of MiGA
data/scripts/cds.bash CHANGED
@@ -26,10 +26,14 @@ case "$TYPE" in
26
26
  *)
27
27
  P_LEN=0
28
28
  BEST_CT=0
29
+ PROCEDURE=single
30
+ ASM_LEN=$(grep -v '^>' "../05.assembly/${DATASET}.LargeContigs.fna" \
31
+ | wc -lc | awk '{ print $2-$1 }')
32
+ [[ "$ASM_LEN" -lt 2000 ]] && PROCEDURE=meta
29
33
  echo "# Codon table selection:" > "${DATASET}.ct.t"
30
34
  for ct in 11 4 ; do
31
35
  prodigal -a "${DATASET}.faa.$ct" -d "${DATASET}.fna.$ct" \
32
- -o "${DATASET}.gff3.$ct" -f gff -q -p single -g "$ct" \
36
+ -o "${DATASET}.gff3.$ct" -f gff -q -p $PROCEDURE -g "$ct" \
33
37
  -i "../05.assembly/${DATASET}.LargeContigs.fna"
34
38
  C_LEN=$(grep -v '^>' "${DATASET}.faa.$ct" \
35
39
  | perl -pe 's/[^A-Z]//ig' | wc -c | awk '{print $1}')
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.20.1
4
+ version: 1.3.20.2
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-07-25 00:00:00.000000000 Z
11
+ date: 2024-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: daemons