bacterial-annotator 0.6.0 → 0.6.1

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
  SHA1:
3
- metadata.gz: 1ef156f21da883b7175715d94f734fe2cadb3d02
4
- data.tar.gz: 2620a56039162760e875242c1225bac333d78be1
3
+ metadata.gz: 110718bf7fe99545dd5418522eb463b51e6b483f
4
+ data.tar.gz: 631d8765e3ecdcdd04497bbbccb589d6ab6688c5
5
5
  SHA512:
6
- metadata.gz: 44d3900f5b482a0bf66b87662384553603b7862d8c85b10c6eb71c498df18b9aba98fc792f590601faf6b50f03d638786b8e6515b05dc9444ef15c44412f1824
7
- data.tar.gz: dc65c44722a63fc21b3a87a3bad9770942788eb16da89d3c79d4a1ec154a095fa0304465fe1c5e5f076b8c57d04d8cddb765492678e48e212d4f32a805ddb52f
6
+ metadata.gz: cd532e9139c817b75d835bab7cd3124574d311b6484289f8c642c5f823411cdca5427c6088f93f0ed01c291a782ad0100b40f8bfe15d3a75234b6deb7a21ffa6
7
+ data.tar.gz: 0187bc5c3faa8e52184b00a12496e06ca6cc36b51d995a273a76f4728707e589cd011532f7060ac10146a78f8b466e28dcfd0ebf8552819d3c78a349083c32a6
data/bin/ba_cdhit CHANGED
@@ -29,6 +29,7 @@ def installcdhit
29
29
  `mv ./cd-hit-v4.6.8-2017-0621/cd-hit-2d ./cdhit2d.linux`
30
30
  File.chmod(0755, "#{ROOT_path}/cdhit.linux")
31
31
  File.chmod(0755, "#{ROOT_path}/cdhit2d.linux")
32
+ `rm -fr cd-hit-v4.6.8-2017-0621`
32
33
  rescue
33
34
  abort "Problem installing cdhit, aborting"
34
35
  end
data/bin/ba_fasta36 CHANGED
@@ -26,6 +26,7 @@ def installFasta36
26
26
  `cp fasta-36.3.8d/bin/glsearch36 ./glsearch36.linux`
27
27
  `cp fasta-36.3.8d/bin/tfastx36 ./tfastx36.linux`
28
28
  File.chmod(0755, "#{ROOT_path}/fasta36.linux")
29
+ `rm -fr fasta-36.3.8d`
29
30
  rescue
30
31
  abort "Problem installing Fasta36, aborting"
31
32
  end
data/bin/ba_mafft CHANGED
@@ -20,7 +20,7 @@ def installMafft
20
20
  file.write(resp.read)
21
21
  end
22
22
  Dir.chdir("#{ROOT_path}/")
23
- `tar xvf mafft-7.222-without-extensions-src.tgz`
23
+ `tar xvf mafft-7.222-without-extensions-src.tgz && rm mafft-7.222-without-extensions-src.tgz`
24
24
  Dir.chdir("#{ROOT_path}/mafft-7.222-without-extensions/core")
25
25
  `make`
26
26
  `make install PREFIX=$(pwd -P)/../`
@@ -28,6 +28,7 @@ def installMafft
28
28
  `echo export MAFFT_BINARIES=$(pwd -P)/../binaries >> #{ROOT_path}/mafft.linux`
29
29
  `tail -n +2 #{ROOT_path}/mafft-7.222-without-extensions/bin/mafft >> #{ROOT_path}/mafft.linux`
30
30
  File.chmod(0755, "#{ROOT_path}/mafft.linux")
31
+ `rm -fr mafft-7.222-without-extensions`
31
32
  rescue
32
33
  abort "Problem in stalling MAFFT, aborting"
33
34
  end
data/bin/ba_prodigal CHANGED
@@ -27,8 +27,7 @@ def installProdigal
27
27
  Dir.chdir("../")
28
28
  `cp Prodigal-2.6.2/prodigal prodigal.linux`
29
29
  File.chmod(0755, "#{ROOT_path}/prodigal.linux")
30
- # Dir.chir("#{ROOT_path}")
31
- # File.chmod(0755, "#{ROOT_path}/prodigal.linux")
30
+ `rm -fr Prodigal-2.6.2`
32
31
  rescue
33
32
  abort "Problem installing Prodigal, aborting"
34
33
  end
data/bin/ba_raxml CHANGED
@@ -20,7 +20,7 @@ def installRaxml
20
20
  file.write(resp.read)
21
21
  end
22
22
  Dir.chdir("#{ROOT_path}/")
23
- `unzip master.zip`
23
+ `unzip master.zip && rm master.zip`
24
24
  Dir.chdir("#{ROOT_path}/standard-RAxML-master")
25
25
  `make -f Makefile.PTHREADS.gcc`
26
26
  `rm *.o`
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bacterial-annotator
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
  - Maxime Deraspe