miga-base 0.3.0.0 → 0.3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (260) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +21 -4
  3. data/actions/init.rb +258 -0
  4. data/actions/run_local.rb +1 -2
  5. data/actions/test_taxonomy.rb +4 -1
  6. data/bin/miga +8 -1
  7. data/lib/miga/dataset.rb +4 -4
  8. data/lib/miga/dataset_result.rb +7 -4
  9. data/lib/miga/version.rb +2 -2
  10. data/scripts/_distances_noref_nomulti.bash +3 -1
  11. data/scripts/clade_finding.bash +1 -1
  12. data/scripts/init.bash +1 -1
  13. data/scripts/miga.bash +1 -1
  14. data/scripts/mytaxa.bash +78 -72
  15. data/scripts/mytaxa_scan.bash +67 -62
  16. data/scripts/ogs.bash +1 -1
  17. data/scripts/trimmed_fasta.bash +4 -3
  18. data/utils/enveomics/Examples/aai-matrix.bash +66 -0
  19. data/utils/enveomics/Examples/ani-matrix.bash +66 -0
  20. data/utils/enveomics/Examples/essential-phylogeny.bash +105 -0
  21. data/utils/enveomics/Examples/unus-genome-phylogeny.bash +100 -0
  22. data/utils/enveomics/LICENSE.txt +73 -0
  23. data/utils/enveomics/Makefile +52 -0
  24. data/utils/enveomics/Manifest/Tasks/aasubs.json +103 -0
  25. data/utils/enveomics/Manifest/Tasks/blasttab.json +703 -0
  26. data/utils/enveomics/Manifest/Tasks/distances.json +161 -0
  27. data/utils/enveomics/Manifest/Tasks/fasta.json +571 -0
  28. data/utils/enveomics/Manifest/Tasks/fastq.json +208 -0
  29. data/utils/enveomics/Manifest/Tasks/graphics.json +126 -0
  30. data/utils/enveomics/Manifest/Tasks/ogs.json +339 -0
  31. data/utils/enveomics/Manifest/Tasks/other.json +746 -0
  32. data/utils/enveomics/Manifest/Tasks/remote.json +355 -0
  33. data/utils/enveomics/Manifest/Tasks/sequence-identity.json +454 -0
  34. data/utils/enveomics/Manifest/Tasks/tables.json +308 -0
  35. data/utils/enveomics/Manifest/Tasks/trees.json +68 -0
  36. data/utils/enveomics/Manifest/Tasks/variants.json +111 -0
  37. data/utils/enveomics/Manifest/categories.json +132 -0
  38. data/utils/enveomics/Manifest/examples.json +154 -0
  39. data/utils/enveomics/Manifest/tasks.json +4 -0
  40. data/utils/enveomics/Pipelines/assembly.pbs/CONFIG.mock.bash +69 -0
  41. data/utils/enveomics/Pipelines/assembly.pbs/FastA.N50.pl +56 -0
  42. data/utils/enveomics/Pipelines/assembly.pbs/FastA.filterN.pl +60 -0
  43. data/utils/enveomics/Pipelines/assembly.pbs/FastA.length.pl +38 -0
  44. data/utils/enveomics/Pipelines/assembly.pbs/README.md +189 -0
  45. data/utils/enveomics/Pipelines/assembly.pbs/RUNME-2.bash +112 -0
  46. data/utils/enveomics/Pipelines/assembly.pbs/RUNME-3.bash +23 -0
  47. data/utils/enveomics/Pipelines/assembly.pbs/RUNME-4.bash +44 -0
  48. data/utils/enveomics/Pipelines/assembly.pbs/RUNME.bash +50 -0
  49. data/utils/enveomics/Pipelines/assembly.pbs/kSelector.R +37 -0
  50. data/utils/enveomics/Pipelines/assembly.pbs/newbler.pbs +68 -0
  51. data/utils/enveomics/Pipelines/assembly.pbs/newbler_preparator.pl +49 -0
  52. data/utils/enveomics/Pipelines/assembly.pbs/soap.pbs +80 -0
  53. data/utils/enveomics/Pipelines/assembly.pbs/stats.pbs +57 -0
  54. data/utils/enveomics/Pipelines/assembly.pbs/velvet.pbs +63 -0
  55. data/utils/enveomics/Pipelines/blast.pbs/01.pbs.bash +38 -0
  56. data/utils/enveomics/Pipelines/blast.pbs/02.pbs.bash +73 -0
  57. data/utils/enveomics/Pipelines/blast.pbs/03.pbs.bash +21 -0
  58. data/utils/enveomics/Pipelines/blast.pbs/BlastTab.recover_job.pl +72 -0
  59. data/utils/enveomics/Pipelines/blast.pbs/CONFIG.mock.bash +98 -0
  60. data/utils/enveomics/Pipelines/blast.pbs/FastA.split.pl +55 -0
  61. data/utils/enveomics/Pipelines/blast.pbs/README.md +127 -0
  62. data/utils/enveomics/Pipelines/blast.pbs/RUNME.bash +109 -0
  63. data/utils/enveomics/Pipelines/blast.pbs/TASK.check.bash +128 -0
  64. data/utils/enveomics/Pipelines/blast.pbs/TASK.dry.bash +16 -0
  65. data/utils/enveomics/Pipelines/blast.pbs/TASK.eo.bash +22 -0
  66. data/utils/enveomics/Pipelines/blast.pbs/TASK.pause.bash +26 -0
  67. data/utils/enveomics/Pipelines/blast.pbs/TASK.run.bash +89 -0
  68. data/utils/enveomics/Pipelines/blast.pbs/sentinel.pbs.bash +29 -0
  69. data/utils/enveomics/Pipelines/idba.pbs/README.md +49 -0
  70. data/utils/enveomics/Pipelines/idba.pbs/RUNME.bash +95 -0
  71. data/utils/enveomics/Pipelines/idba.pbs/run.pbs +56 -0
  72. data/utils/enveomics/Pipelines/trim.pbs/README.md +54 -0
  73. data/utils/enveomics/Pipelines/trim.pbs/RUNME.bash +70 -0
  74. data/utils/enveomics/Pipelines/trim.pbs/run.pbs +130 -0
  75. data/utils/enveomics/README.md +40 -0
  76. data/utils/enveomics/Scripts/AAsubs.log2ratio.rb +171 -0
  77. data/utils/enveomics/Scripts/Aln.cat.rb +162 -0
  78. data/utils/enveomics/Scripts/Aln.convert.pl +35 -0
  79. data/utils/enveomics/Scripts/AlphaDiversity.pl +152 -0
  80. data/utils/enveomics/Scripts/BlastPairwise.AAsubs.pl +102 -0
  81. data/utils/enveomics/Scripts/BlastTab.addlen.rb +61 -0
  82. data/utils/enveomics/Scripts/BlastTab.advance.bash +48 -0
  83. data/utils/enveomics/Scripts/BlastTab.best_hit_sorted.pl +55 -0
  84. data/utils/enveomics/Scripts/BlastTab.catsbj.pl +106 -0
  85. data/utils/enveomics/Scripts/BlastTab.cogCat.rb +76 -0
  86. data/utils/enveomics/Scripts/BlastTab.filter.pl +47 -0
  87. data/utils/enveomics/Scripts/BlastTab.kegg_pep2path_rest.pl +194 -0
  88. data/utils/enveomics/Scripts/BlastTab.metaxaPrep.pl +104 -0
  89. data/utils/enveomics/Scripts/BlastTab.pairedHits.rb +157 -0
  90. data/utils/enveomics/Scripts/BlastTab.recplot2.R +40 -0
  91. data/utils/enveomics/Scripts/BlastTab.seqdepth.pl +86 -0
  92. data/utils/enveomics/Scripts/BlastTab.seqdepth_ZIP.pl +119 -0
  93. data/utils/enveomics/Scripts/BlastTab.seqdepth_nomedian.pl +86 -0
  94. data/utils/enveomics/Scripts/BlastTab.subsample.pl +47 -0
  95. data/utils/enveomics/Scripts/BlastTab.sumPerHit.pl +114 -0
  96. data/utils/enveomics/Scripts/BlastTab.taxid2taxrank.pl +90 -0
  97. data/utils/enveomics/Scripts/BlastTab.topHits_sorted.rb +101 -0
  98. data/utils/enveomics/Scripts/Chao1.pl +97 -0
  99. data/utils/enveomics/Scripts/CharTable.classify.rb +234 -0
  100. data/utils/enveomics/Scripts/EBIseq2tax.rb +83 -0
  101. data/utils/enveomics/Scripts/FastA.N50.pl +56 -0
  102. data/utils/enveomics/Scripts/FastA.filter.pl +52 -0
  103. data/utils/enveomics/Scripts/FastA.filterLen.pl +28 -0
  104. data/utils/enveomics/Scripts/FastA.filterN.pl +60 -0
  105. data/utils/enveomics/Scripts/FastA.fragment.rb +92 -0
  106. data/utils/enveomics/Scripts/FastA.gc.pl +42 -0
  107. data/utils/enveomics/Scripts/FastA.interpose.pl +87 -0
  108. data/utils/enveomics/Scripts/FastA.length.pl +38 -0
  109. data/utils/enveomics/Scripts/FastA.per_file.pl +36 -0
  110. data/utils/enveomics/Scripts/FastA.qlen.pl +57 -0
  111. data/utils/enveomics/Scripts/FastA.rename.pl +65 -0
  112. data/utils/enveomics/Scripts/FastA.revcom.pl +23 -0
  113. data/utils/enveomics/Scripts/FastA.slider.pl +85 -0
  114. data/utils/enveomics/Scripts/FastA.split.pl +55 -0
  115. data/utils/enveomics/Scripts/FastA.subsample.pl +131 -0
  116. data/utils/enveomics/Scripts/FastA.tag.rb +64 -0
  117. data/utils/enveomics/Scripts/FastA.wrap.rb +48 -0
  118. data/utils/enveomics/Scripts/FastQ.filter.pl +54 -0
  119. data/utils/enveomics/Scripts/FastQ.interpose.pl +90 -0
  120. data/utils/enveomics/Scripts/FastQ.offset.pl +90 -0
  121. data/utils/enveomics/Scripts/FastQ.split.pl +53 -0
  122. data/utils/enveomics/Scripts/FastQ.tag.rb +63 -0
  123. data/utils/enveomics/Scripts/FastQ.toFastA.awk +24 -0
  124. data/utils/enveomics/Scripts/GenBank.add_fields.rb +84 -0
  125. data/utils/enveomics/Scripts/HMM.essential.rb +254 -0
  126. data/utils/enveomics/Scripts/HMMsearch.extractIds.rb +83 -0
  127. data/utils/enveomics/Scripts/JPlace.distances.rb +88 -0
  128. data/utils/enveomics/Scripts/JPlace.to_iToL.rb +306 -0
  129. data/utils/enveomics/Scripts/M5nr.getSequences.rb +81 -0
  130. data/utils/enveomics/Scripts/MeTaxa.distribution.pl +198 -0
  131. data/utils/enveomics/Scripts/MyTaxa.fragsByTax.pl +35 -0
  132. data/utils/enveomics/Scripts/MyTaxa.seq-taxrank.rb +49 -0
  133. data/utils/enveomics/Scripts/NCBIacc2tax.rb +92 -0
  134. data/utils/enveomics/Scripts/Newick.autoprune.R +27 -0
  135. data/utils/enveomics/Scripts/RAxML-EPA.to_iToL.pl +228 -0
  136. data/utils/enveomics/Scripts/RefSeq.download.bash +48 -0
  137. data/utils/enveomics/Scripts/SRA.download.bash +50 -0
  138. data/utils/enveomics/Scripts/TRIBS.plot-test.R +36 -0
  139. data/utils/enveomics/Scripts/TRIBS.test.R +39 -0
  140. data/utils/enveomics/Scripts/Table.barplot.R +30 -0
  141. data/utils/enveomics/Scripts/Table.df2dist.R +30 -0
  142. data/utils/enveomics/Scripts/Table.filter.pl +61 -0
  143. data/utils/enveomics/Scripts/Table.merge.pl +77 -0
  144. data/utils/enveomics/Scripts/Table.replace.rb +69 -0
  145. data/utils/enveomics/Scripts/Table.round.rb +63 -0
  146. data/utils/enveomics/Scripts/Table.split.pl +57 -0
  147. data/utils/enveomics/Scripts/Taxonomy.silva2ncbi.rb +227 -0
  148. data/utils/enveomics/Scripts/VCF.KaKs.rb +147 -0
  149. data/utils/enveomics/Scripts/VCF.SNPs.rb +88 -0
  150. data/utils/enveomics/Scripts/aai.rb +373 -0
  151. data/utils/enveomics/Scripts/ani.rb +362 -0
  152. data/utils/enveomics/Scripts/gi2tax.rb +103 -0
  153. data/utils/enveomics/Scripts/in_silico_GA_GI.pl +96 -0
  154. data/utils/enveomics/Scripts/lib/data/essential.hmm.gz +0 -0
  155. data/utils/enveomics/Scripts/lib/enveomics_rb/enveomics.rb +26 -0
  156. data/utils/enveomics/Scripts/lib/enveomics_rb/jplace.rb +253 -0
  157. data/utils/enveomics/Scripts/lib/enveomics_rb/og.rb +182 -0
  158. data/utils/enveomics/Scripts/lib/enveomics_rb/remote_data.rb +74 -0
  159. data/utils/enveomics/Scripts/lib/enveomics_rb/seq_range.rb +237 -0
  160. data/utils/enveomics/Scripts/lib/enveomics_rb/stat.rb +30 -0
  161. data/utils/enveomics/Scripts/lib/enveomics_rb/vcf.rb +135 -0
  162. data/utils/enveomics/Scripts/ogs.annotate.rb +88 -0
  163. data/utils/enveomics/Scripts/ogs.core-pan.rb +160 -0
  164. data/utils/enveomics/Scripts/ogs.extract.rb +125 -0
  165. data/utils/enveomics/Scripts/ogs.mcl.rb +186 -0
  166. data/utils/enveomics/Scripts/ogs.rb +104 -0
  167. data/utils/enveomics/Scripts/ogs.stats.rb +131 -0
  168. data/utils/enveomics/Scripts/rbm.rb +137 -0
  169. data/utils/enveomics/Tests/Makefile +10 -0
  170. data/utils/enveomics/Tests/Mgen_M2288.faa +3189 -0
  171. data/utils/enveomics/Tests/Mgen_M2288.fna +8282 -0
  172. data/utils/enveomics/Tests/Mgen_M2321.fna +8288 -0
  173. data/utils/enveomics/Tests/Nequ_Kin4M.faa +2970 -0
  174. data/utils/enveomics/Tests/Xanthomonas_oryzae-PilA.tribs.Rdata +0 -0
  175. data/utils/enveomics/Tests/Xanthomonas_oryzae-PilA.txt +7 -0
  176. data/utils/enveomics/Tests/Xanthomonas_oryzae.aai-mat.tsv +17 -0
  177. data/utils/enveomics/Tests/Xanthomonas_oryzae.aai.tsv +137 -0
  178. data/utils/enveomics/Tests/a_mg.cds-go.blast.tsv +123 -0
  179. data/utils/enveomics/Tests/a_mg.reads-cds.blast.tsv +200 -0
  180. data/utils/enveomics/Tests/a_mg.reads-cds.counts.tsv +55 -0
  181. data/utils/enveomics/Tests/alkB.nwk +1 -0
  182. data/utils/enveomics/Tests/anthrax-cansnp-data.tsv +13 -0
  183. data/utils/enveomics/Tests/anthrax-cansnp-key.tsv +17 -0
  184. data/utils/enveomics/Tests/hiv1.faa +59 -0
  185. data/utils/enveomics/Tests/hiv1.fna +134 -0
  186. data/utils/enveomics/Tests/hiv2.faa +70 -0
  187. data/utils/enveomics/Tests/hiv_mix-hiv1.blast.tsv +233 -0
  188. data/utils/enveomics/Tests/hiv_mix-hiv1.blast.tsv.lim +1 -0
  189. data/utils/enveomics/Tests/hiv_mix-hiv1.blast.tsv.rec +233 -0
  190. data/utils/enveomics/Tests/phyla_counts.tsv +10 -0
  191. data/utils/enveomics/Tests/primate_lentivirus.ogs +11 -0
  192. data/utils/enveomics/Tests/primate_lentivirus.rbm/hiv1-hiv1.rbm +9 -0
  193. data/utils/enveomics/Tests/primate_lentivirus.rbm/hiv1-hiv2.rbm +8 -0
  194. data/utils/enveomics/Tests/primate_lentivirus.rbm/hiv1-siv.rbm +6 -0
  195. data/utils/enveomics/Tests/primate_lentivirus.rbm/hiv2-hiv2.rbm +9 -0
  196. data/utils/enveomics/Tests/primate_lentivirus.rbm/hiv2-siv.rbm +6 -0
  197. data/utils/enveomics/Tests/primate_lentivirus.rbm/siv-siv.rbm +6 -0
  198. data/utils/enveomics/build_enveomics_r.bash +44 -0
  199. data/utils/enveomics/enveomics.R/DESCRIPTION +31 -0
  200. data/utils/enveomics/enveomics.R/NAMESPACE +35 -0
  201. data/utils/enveomics/enveomics.R/R/autoprune.R +121 -0
  202. data/utils/enveomics/enveomics.R/R/barplot.R +165 -0
  203. data/utils/enveomics/enveomics.R/R/cliopts.R +119 -0
  204. data/utils/enveomics/enveomics.R/R/df2dist.R +117 -0
  205. data/utils/enveomics/enveomics.R/R/growthcurve.R +263 -0
  206. data/utils/enveomics/enveomics.R/R/recplot.R +320 -0
  207. data/utils/enveomics/enveomics.R/R/recplot2.R +745 -0
  208. data/utils/enveomics/enveomics.R/R/tribs.R +423 -0
  209. data/utils/enveomics/enveomics.R/R/utils.R +16 -0
  210. data/utils/enveomics/enveomics.R/README.md +52 -0
  211. data/utils/enveomics/enveomics.R/data/growth.curves.rda +0 -0
  212. data/utils/enveomics/enveomics.R/data/phyla.counts.rda +0 -0
  213. data/utils/enveomics/enveomics.R/man/enve.GrowthCurve-class.Rd +30 -0
  214. data/utils/enveomics/enveomics.R/man/enve.TRIBS-class.Rd +43 -0
  215. data/utils/enveomics/enveomics.R/man/enve.TRIBS.merge.Rd +19 -0
  216. data/utils/enveomics/enveomics.R/man/enve.TRIBStest-class.Rd +37 -0
  217. data/utils/enveomics/enveomics.R/man/enve.__prune.iter.Rd +24 -0
  218. data/utils/enveomics/enveomics.R/man/enve.__prune.reduce.Rd +24 -0
  219. data/utils/enveomics/enveomics.R/man/enve.__tribs.Rd +33 -0
  220. data/utils/enveomics/enveomics.R/man/enve.barplot.Rd +64 -0
  221. data/utils/enveomics/enveomics.R/man/enve.cliopts.Rd +37 -0
  222. data/utils/enveomics/enveomics.R/man/enve.col.alpha.Rd +19 -0
  223. data/utils/enveomics/enveomics.R/man/enve.col2alpha.Rd +18 -0
  224. data/utils/enveomics/enveomics.R/man/enve.df2dist.Rd +26 -0
  225. data/utils/enveomics/enveomics.R/man/enve.df2dist.group.Rd +25 -0
  226. data/utils/enveomics/enveomics.R/man/enve.df2dist.list.Rd +26 -0
  227. data/utils/enveomics/enveomics.R/man/enve.growthcurve.Rd +49 -0
  228. data/utils/enveomics/enveomics.R/man/enve.prune.dist.Rd +28 -0
  229. data/utils/enveomics/enveomics.R/man/enve.recplot.Rd +97 -0
  230. data/utils/enveomics/enveomics.R/man/enve.recplot2-class.Rd +40 -0
  231. data/utils/enveomics/enveomics.R/man/enve.recplot2.Rd +40 -0
  232. data/utils/enveomics/enveomics.R/man/enve.recplot2.__counts.Rd +24 -0
  233. data/utils/enveomics/enveomics.R/man/enve.recplot2.__findPeak.Rd +40 -0
  234. data/utils/enveomics/enveomics.R/man/enve.recplot2.__findPeaks.Rd +18 -0
  235. data/utils/enveomics/enveomics.R/man/enve.recplot2.__peakHist.Rd +22 -0
  236. data/utils/enveomics/enveomics.R/man/enve.recplot2.__whichClosestPeak.Rd +20 -0
  237. data/utils/enveomics/enveomics.R/man/enve.recplot2.changeCutoff.Rd +18 -0
  238. data/utils/enveomics/enveomics.R/man/enve.recplot2.corePeak.Rd +18 -0
  239. data/utils/enveomics/enveomics.R/man/enve.recplot2.extractWindows.Rd +27 -0
  240. data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.Rd +53 -0
  241. data/utils/enveomics/enveomics.R/man/enve.recplot2.peak-class.Rd +44 -0
  242. data/utils/enveomics/enveomics.R/man/enve.tribs.Rd +44 -0
  243. data/utils/enveomics/enveomics.R/man/enve.tribs.test.Rd +21 -0
  244. data/utils/enveomics/enveomics.R/man/enveomics.R-package.Rd +15 -0
  245. data/utils/enveomics/enveomics.R/man/growth.curves.Rd +14 -0
  246. data/utils/enveomics/enveomics.R/man/phyla.counts.Rd +13 -0
  247. data/utils/enveomics/enveomics.R/man/plot.enve.GrowthCurve.Rd +43 -0
  248. data/utils/enveomics/enveomics.R/man/plot.enve.TRIBS.Rd +29 -0
  249. data/utils/enveomics/enveomics.R/man/plot.enve.TRIBStest.Rd +30 -0
  250. data/utils/enveomics/enveomics.R/man/plot.enve.recplot2.Rd +71 -0
  251. data/utils/enveomics/enveomics.R/man/summary.enve.GrowthCurve.Rd +18 -0
  252. data/utils/enveomics/enveomics.R/man/summary.enve.TRIBS.Rd +18 -0
  253. data/utils/enveomics/enveomics.R/man/summary.enve.TRIBStest.Rd +18 -0
  254. data/utils/enveomics/enveomics.R/man/z$-methods.Rd +27 -0
  255. data/utils/enveomics/globals.mk +8 -0
  256. data/utils/enveomics/manifest.json +9 -0
  257. data/utils/index_metadata.rb +0 -0
  258. data/utils/plot-taxdist.R +0 -0
  259. data/utils/requirements.txt +19 -19
  260. metadata +242 -2
@@ -0,0 +1,355 @@
1
+ {
2
+ "tasks": [
3
+ {
4
+ "task": "BlastTab.kegg_pep2path_rest.pl",
5
+ "description": ["Takes a BLAST against KEGG_PEP (or KO) and retrieves",
6
+ "the pathways in which the subject peptides are involved."],
7
+ "requires": [
8
+ { "perl_lib": "JSON" },
9
+ { "perl_lib": "LWP::Simple" }
10
+ ],
11
+ "help_arg": "",
12
+ "options": [
13
+ {
14
+ "name": "blast.txt",
15
+ "arg": "in_file",
16
+ "mandatory": true,
17
+ "description": "Input tabular BLAST file."
18
+ },
19
+ {
20
+ "name": "Cache file",
21
+ "arg": "out_file",
22
+ "description": ["(optional) File containing the saved cache. If",
23
+ "unset, the cache won't be recoverable across instances of this",
24
+ "script. It is strongly recommended to set a file. Multiple",
25
+ "parallel instances of this script may use the same cache file."]
26
+ },
27
+ ">",
28
+ {
29
+ "name": "output.txt",
30
+ "arg": "out_file",
31
+ "mandatory": true,
32
+ "description": ["Tab-delimited output file, with the columns: (1)",
33
+ "Query ID, (2) Subject ID, (3) Pathway ID, (4) Pathway (reference)",
34
+ "description, (5) Organism."]
35
+ }
36
+ ]
37
+ },
38
+ {
39
+ "task": "M5nr.getSequences.rb",
40
+ "description": ["Downloads a set of sequences from M5nr with a given",
41
+ "functional annotation."],
42
+ "help_arg": "--help",
43
+ "requires": [
44
+ { "ruby_gem": "restclient" },
45
+ { "ruby_gem": "open-uri" },
46
+ { "ruby_gem": "JSON" }
47
+ ],
48
+ "options": [
49
+ {
50
+ "opt": "--function",
51
+ "arg": "string",
52
+ "mandatory": true,
53
+ "description": "Functional annotation."
54
+ },
55
+ {
56
+ "name": "Output file",
57
+ "opt": "--out",
58
+ "arg": "out_file",
59
+ "mandatory": true,
60
+ "description": "File containing the sequences."
61
+ },
62
+ {
63
+ "opt": "--max",
64
+ "arg": "integer",
65
+ "default": 0,
66
+ "description": ["Maximum number of sequences to download. Set to",
67
+ "0 to download all."]
68
+ },
69
+ {
70
+ "opt": "--recover",
71
+ "description": "If set, tries to recover a previous FastA."
72
+ },
73
+ {
74
+ "name": "URL",
75
+ "opt": "--url",
76
+ "arg": "string",
77
+ "default": "http://api.metagenomics.anl.gov/m5nr",
78
+ "description": "URL for M5nr API."
79
+ },
80
+ {
81
+ "opt": "--quiet",
82
+ "description": "Run quietly (no STDERR output)."
83
+ }
84
+ ]
85
+ },
86
+ {
87
+ "task": "EBIseq2tax.rb",
88
+ "description": ["Maps a list of EBI-supported IDs to their corresponding",
89
+ "NCBI taxonomy using EBI RESTful API."],
90
+ "warn": ["Avoid using this script on millions of entries at a time,",
91
+ "since each entry elicits requests to EBI and NCBI servers."],
92
+ "requires": [
93
+ { "ruby_gem": "nokogiri" }
94
+ ],
95
+ "see_also": ["NCBIacc2tax.rb"],
96
+ "help_arg": "--help",
97
+ "options": [
98
+ {
99
+ "name": "IDs",
100
+ "opt": "--ids",
101
+ "arg": "string",
102
+ "description": "Comma-separated list of EBI IDs.",
103
+ "note": "Required unless 'Input file' is passed."
104
+ },
105
+ {
106
+ "name": "Input file",
107
+ "opt": "--infile",
108
+ "arg": "in_file",
109
+ "description": ["Raw text file containing the list of EBI IDs,",
110
+ "one per line."],
111
+ "note": "Required unless 'IDs' is passed."
112
+ },
113
+ {
114
+ "opt": "--database",
115
+ "arg": "string",
116
+ "default": "uniprotkb",
117
+ "description": "EBI database defining the EBI IDs."
118
+ },
119
+ {
120
+ "opt": "--ranks",
121
+ "arg": "string",
122
+ "description": "Comma-delimited list of taxonomic ranks to report.",
123
+ "default": "superkingdom,phylum,class,order,family,genus,species"
124
+ },
125
+ {
126
+ "opt": "--noheader",
127
+ "description": "Do not includ a header in the output."
128
+ },
129
+ {
130
+ "opt": "--taxids",
131
+ "description": "Return Taxonomy IDs instead of scientific names."
132
+ },
133
+ {
134
+ "opt": "--quiet",
135
+ "description": "Run quietly."
136
+ }
137
+ ]
138
+ },
139
+ {
140
+ "task": "RefSeq.download.bash",
141
+ "description": ["Downloads a collection of sequences and/or annotations",
142
+ "from NCBI's RefSeq."],
143
+ "help_arg": "",
144
+ "requires": [
145
+ {
146
+ "description": "curl",
147
+ "test": "curl --version"
148
+ }
149
+ ],
150
+ "options": [
151
+ {
152
+ "name": "Organism",
153
+ "arg": "string",
154
+ "mandatory": true,
155
+ "description": ["The organism to download (e.g.,",
156
+ "Streptococcus_pneumoniae)."]
157
+ },
158
+ {
159
+ "name": "Extension",
160
+ "arg": "string",
161
+ "mandatory": true,
162
+ "default": ".*.gz",
163
+ "description": ["Extension to download. Common extensions include",
164
+ ".fna.gz (genomic sequences), .faa.gz (protein sequences),",
165
+ ".gff.gz (annotations), and .*.gz (all data)."]
166
+ },
167
+ {
168
+ "name": "Level",
169
+ "arg": "string",
170
+ "mandatory": true,
171
+ "default": "Any",
172
+ "description": ["Use only genomes with this assembly level. Common",
173
+ "levels are 'Complete Genome' and 'Contig'. By default, any",
174
+ "assembly level is allowed ('Any')."]
175
+ },
176
+ {
177
+ "name": "Directory",
178
+ "arg": "out_dir",
179
+ "description": ["Directory where the files are to be downladed.",
180
+ "By default, same as 'Organism'."]
181
+ }
182
+ ]
183
+ },
184
+ {
185
+ "task": "SRA.download.bash",
186
+ "description": ["Downloads the set of runs from a project, sample, or",
187
+ "experiment in SRA."],
188
+ "help_arg": "",
189
+ "requires": [
190
+ {
191
+ "description": "curl",
192
+ "test": "curl --version"
193
+ }
194
+ ],
195
+ "options": [
196
+ {
197
+ "name": "SRA ID",
198
+ "arg": "string",
199
+ "mandatory": true,
200
+ "description": "ID of the SRA Project, Sample, or Experiment."
201
+ },
202
+ {
203
+ "name": "dir",
204
+ "arg": "out_dir",
205
+ "description": ["Directory where the files are to be downladed. By",
206
+ "default, same as 'SRA ID'."]
207
+ }
208
+ ]
209
+ },
210
+ {
211
+ "task": "gi2tax.rb",
212
+ "description": ["Maps a list of NCBI GIs to their corresponding taxonomy",
213
+ "using the NCBI EUtilities."],
214
+ "warn": ["Avoid using this script on millions of entries at a time,",
215
+ "since each entry elicits two requests to NCBI's servers.",
216
+ "*IMPORTANT NOTE*: NCBI is phasing out support for GIs. Please use",
217
+ "acc.ver instead with NCBIacc2tax.rb."],
218
+ "requires": [
219
+ { "ruby_gem": "nokogiri" },
220
+ { "ruby_gem": "json" }
221
+ ],
222
+ "see_also": ["NCBIacc2tax.rb"],
223
+ "help_arg": "--help",
224
+ "options": [
225
+ {
226
+ "name": "GIs",
227
+ "opt": "--gis",
228
+ "arg": "string",
229
+ "description": "Comma-separated list of GIs.",
230
+ "note": "Required unless 'Input file' is passed."
231
+ },
232
+ {
233
+ "name": "Input file",
234
+ "opt": "--infile",
235
+ "arg": "in_file",
236
+ "description": ["Raw text file containing the list of GIs, one per",
237
+ "line."],
238
+ "note": "Required unless 'GIs' is passed."
239
+ },
240
+ {
241
+ "opt": "--protein",
242
+ "description": ["Use if the GIs are proteins. Otherwise, GIs are",
243
+ "assumed to be from the Nuccore Database."]
244
+ },
245
+ {
246
+ "opt": "--ranks",
247
+ "arg": "string",
248
+ "description": "Taxonomic ranks to report, separated by commas.",
249
+ "default": "superkingdom,phylum,class,order,family,genus,species"
250
+ },
251
+ {
252
+ "name": "No header",
253
+ "opt": "--noheader",
254
+ "description": "Do not include a header in the output."
255
+ },
256
+ {
257
+ "name": "Tax IDs",
258
+ "opt": "--taxids",
259
+ "description": "Return Taxonomy IDs instead of scientific names."
260
+ },
261
+ {
262
+ "name": "Exact GI",
263
+ "opt": "--exact-gi",
264
+ "description": ["Returns only taxonomy associated with the exact GI",
265
+ "passed. By default, it attempts to update accession versions if",
266
+ "possible."]
267
+ },
268
+ {
269
+ "opt": "--ignore-missing",
270
+ "description": ["Does not report missing GIs in the output file. By",
271
+ "default, it reports GI and empty values for all other columns."]
272
+ },
273
+ {
274
+ "opt": "--quiet",
275
+ "description": "Run quietly."
276
+ },
277
+ ">",
278
+ {
279
+ "arg": "out_file",
280
+ "mandatory": true,
281
+ "description": ["Tab-delimited table with GIs and taxonomic",
282
+ "classification."]
283
+ }
284
+ ]
285
+ },
286
+ {
287
+ "task": "NCBIacc2tax.rb",
288
+ "description": ["Maps a list of NCBI accessions to their corresponding",
289
+ "taxonomy using the NCBI EUtilities."],
290
+ "warn": ["Avoid using this script on millions of entries at a time,",
291
+ "since each entry elicits two requests to NCBI's servers."],
292
+ "requires": [
293
+ { "ruby_gem": "nokogiri" },
294
+ { "ruby_gem": "json" }
295
+ ],
296
+ "see_also": ["EBIseq2tax.rb"],
297
+ "help_arg": "--help",
298
+ "options": [
299
+ {
300
+ "name": "Accessions",
301
+ "opt": "--acc",
302
+ "arg": "string",
303
+ "description": "Comma-separated list of accessions.",
304
+ "note": "Required unless 'Input file' is passed."
305
+ },
306
+ {
307
+ "name": "Input file",
308
+ "opt": "--infile",
309
+ "arg": "in_file",
310
+ "description": ["Raw text file containing the list of accessions,",
311
+ "one per line."],
312
+ "note": "Required unless 'Accessions' is passed."
313
+ },
314
+ {
315
+ "opt": "--protein",
316
+ "description": ["Use if the accessions are proteins. Otherwise,",
317
+ "accessions are assumed to be from the Nuccore Database."]
318
+ },
319
+ {
320
+ "opt": "--ranks",
321
+ "arg": "string",
322
+ "description": "Taxonomic ranks to report, separated by commas.",
323
+ "default": "superkingdom,phylum,class,order,family,genus,species"
324
+ },
325
+ {
326
+ "name": "No header",
327
+ "opt": "--noheader",
328
+ "description": "Do not include a header in the output."
329
+ },
330
+ {
331
+ "name": "Tax IDs",
332
+ "opt": "--taxids",
333
+ "description": "Return Taxonomy IDs instead of scientific names."
334
+ },
335
+ {
336
+ "opt": "--ignore-missing",
337
+ "description": ["Does not report missing accessions in the output",
338
+ "file. By default, it reports GI and empty values for all other",
339
+ "columns."]
340
+ },
341
+ {
342
+ "opt": "--quiet",
343
+ "description": "Run quietly."
344
+ },
345
+ ">",
346
+ {
347
+ "arg": "out_file",
348
+ "mandatory": true,
349
+ "description": ["Tab-delimited table with accessions and taxonomic",
350
+ "classification."]
351
+ }
352
+ ]
353
+ }
354
+ ]
355
+ }
@@ -0,0 +1,454 @@
1
+ {
2
+ "tasks": [
3
+ {
4
+ "task": "aai.rb",
5
+ "description": ["Calculates the Average Amino acid Identity between two",
6
+ "genomes."],
7
+ "help_arg": "--help",
8
+ "see_also": ["ani.rb", "rbm.rb"],
9
+ "cite": [
10
+ ["Konstantinidis & Tiedje, 2005, JBac",
11
+ "http://dx.doi.org/10.1128%2FJB.187.18.6258-6264.2005"],
12
+ ["Altschul et al, 2000, JMB",
13
+ "http://dx.doi.org/10.1016/S0022-2836(05)80360-2"]
14
+ ],
15
+ "options": [
16
+ {
17
+ "name": "Sequence 1",
18
+ "opt": "--seq1",
19
+ "arg": "in_file",
20
+ "mandatory": true,
21
+ "description": "FastA file containing the genome 1 (proteins).",
22
+ "note": ["Alternatively, you can supply the NCBI-acc of a genome",
23
+ " (nucleotides) with the format ncbi:CP014272 instead of files."]
24
+ },
25
+ {
26
+ "name": "Sequence 2",
27
+ "opt": "--seq2",
28
+ "arg": "in_file",
29
+ "mandatory": true,
30
+ "description": "FastA file containing the genome 2.",
31
+ "note": ["Alternatively, you can supply the NCBI-acc of a genome",
32
+ " (nucleotides) with the format ncbi:NC_004337 instead of files."]
33
+ },
34
+ {
35
+ "name": "Length",
36
+ "opt": "--len",
37
+ "arg": "integer",
38
+ "description": "Minimum alignment length (in aa).",
39
+ "default": 0
40
+ },
41
+ {
42
+ "name": "Length fraction",
43
+ "opt": "--len-fraction",
44
+ "arg": "float",
45
+ "description": ["Minimum alignment length as a fraction of the",
46
+ "shorter sequence (range 0-1)."],
47
+ "default": 0.0
48
+ },
49
+ {
50
+ "name": "Identity",
51
+ "opt": "--id",
52
+ "arg": "float",
53
+ "description": "Minimum alignment identity (in %).",
54
+ "default": 20.0
55
+ },
56
+ {
57
+ "name": "Bit-score",
58
+ "opt": "--bitscore",
59
+ "arg": "float",
60
+ "description": "Minimum bit score (in bits).",
61
+ "default": 0.0
62
+ },
63
+ {
64
+ "opt": "--hits",
65
+ "arg": "float",
66
+ "description": "Minimum number of hits.",
67
+ "default": 50.0
68
+ },
69
+ {
70
+ "name": "Nucleotides",
71
+ "opt": "--nucl",
72
+ "description": ["The input sequences are nucleotides (genes), not",
73
+ "proteins."]
74
+ },
75
+ {
76
+ "name": "Max ACTG",
77
+ "opt": "--max-actg",
78
+ "arg": "float",
79
+ "default": 0.95,
80
+ "description": ["Maximum fraction of ACTGN in the sequences before",
81
+ "assuming nucleotides."]
82
+ },
83
+ {
84
+ "name": "Executables",
85
+ "opt": "--bin",
86
+ "arg": "in_dir",
87
+ "description": ["Path to the directory containing the binaries of",
88
+ "the search program."]
89
+ },
90
+ {
91
+ "opt": "--program",
92
+ "arg": "select",
93
+ "values": ["blast+","blast","blat"],
94
+ "default": "blast+",
95
+ "description": "Search program to be used.",
96
+ "note": ["Make sure that you have installed the search program you",
97
+ "want to use. If you have downloaded the program, but it's not",
98
+ "installed, please use the Executables option above."]
99
+ },
100
+ {
101
+ "opt": "--threads",
102
+ "arg": "integer",
103
+ "description": "Number of parallel threads to be used.",
104
+ "default": 1
105
+ },
106
+ {
107
+ "name": "SQLite3 DB",
108
+ "opt": "--sqlite3",
109
+ "arg": "out_file",
110
+ "description": ["Path to the SQLite3 database to create (or update)",
111
+ "with the results."]
112
+ },
113
+ {
114
+ "name": "Name 1",
115
+ "opt": "--name1",
116
+ "arg": "string",
117
+ "description": ["Name of Sequence 1 to use in SQLite3 DB. By default",
118
+ "determined by filename."]
119
+ },
120
+ {
121
+ "name": "Name 2",
122
+ "opt": "--name2",
123
+ "arg": "string",
124
+ "description": ["Name of Sequence 2 to use in SQLite3 DB. By default",
125
+ "determined by filename."]
126
+ },
127
+ {
128
+ "name": "Don't save RBM",
129
+ "opt": "--no-save-rbm",
130
+ "description": ["Don't save the reciprocal best matches in the",
131
+ "--sqlite3 database."]
132
+ },
133
+ {
134
+ "opt": "--lookup-first",
135
+ "description": ["Indicates if the AAI should be looked up first in",
136
+ "the database. Requires SQLite3 DB, Auto, Name 1, and Name 2.",
137
+ "Incompatible with Result, Tab, Out, and RBM."]
138
+ },
139
+ {
140
+ "name": "Precision",
141
+ "opt": "--dec",
142
+ "arg": "integer",
143
+ "default": 2,
144
+ "description": "Decimal positions to report."
145
+ },
146
+ {
147
+ "name": "RBM",
148
+ "opt": "--rbm",
149
+ "arg": "out_file",
150
+ "description": "Saves a file with the reciprocal best matches."
151
+ },
152
+ {
153
+ "opt": "--out",
154
+ "arg": "out_file",
155
+ "description": ["Saves a file describing the alignments used for",
156
+ "two-way AAI."]
157
+ },
158
+ {
159
+ "name": "Result",
160
+ "opt": "--res",
161
+ "arg": "out_file",
162
+ "description": "Saves a file with the final results."
163
+ },
164
+ {
165
+ "opt": "--tab",
166
+ "arg": "out_file",
167
+ "description": ["Saves a file with the final two-way results in a",
168
+ "tab-delimited form. The columns are (in that order): AAI,",
169
+ "standard deviation, proteins used, proteins in the smallest",
170
+ "genome."]
171
+ },
172
+ {
173
+ "opt": "--auto",
174
+ "description": ["ONLY outputs the AAI value in STDOUT (or nothing,",
175
+ "if calculation fails)."]
176
+ },
177
+ {
178
+ "opt": "--quiet",
179
+ "description": "Run quietly (no STDERR output)."
180
+ }
181
+ ]
182
+ },
183
+ {
184
+ "task": "ani.rb",
185
+ "description": ["Calculates the Average Nucleotide Identity between two",
186
+ "genomes."],
187
+ "help_arg": "--help",
188
+ "see_also": ["aai.rb","rbm.rb"],
189
+ "cite": [
190
+ ["Konstantinidis & Tiedje, 2005, PNAS",
191
+ "http://dx.doi.org/10.1073%2Fpnas.0409727102"],
192
+ ["Altschul et al, 2000, JMB",
193
+ "http://dx.doi.org/10.1016/S0022-2836(05)80360-2"]
194
+ ],
195
+ "options": [
196
+ {
197
+ "name": "Sequence 1",
198
+ "opt": "--seq1",
199
+ "arg": "in_file",
200
+ "mandatory": true,
201
+ "description": "FastA file containing the genome 1.",
202
+ "note": ["Alternatively, you can supply an NCBI-acc with the format",
203
+ "ncbi:CP014272 instead of files."]
204
+ },
205
+ {
206
+ "name": "Sequence 2",
207
+ "opt": "--seq2",
208
+ "arg": "in_file",
209
+ "mandatory": true,
210
+ "description": "FastA file containing the genome 2.",
211
+ "note": ["Alternatively, you can supply an NCBI-acc with the format",
212
+ "ncbi:AE005174 instead of files."]
213
+ },
214
+ {
215
+ "name": "Window",
216
+ "opt": "--win",
217
+ "arg": "integer",
218
+ "description": "Window size in the ANI calculation (in bp).",
219
+ "default": 1000
220
+ },
221
+ {
222
+ "opt": "--step",
223
+ "arg": "integer",
224
+ "description": "Step size in the ANI calculation (in bp).",
225
+ "default": 200
226
+ },
227
+ {
228
+ "name": "Length",
229
+ "opt": "--len",
230
+ "arg": "integer",
231
+ "description": "Minimum alignment length (in bp).",
232
+ "default": 700
233
+ },
234
+ {
235
+ "name": "Identity",
236
+ "opt": "--id",
237
+ "arg": "float",
238
+ "description": "Minimum alignment identity (in %).",
239
+ "default": 70.0
240
+ },
241
+ {
242
+ "opt": "--hits",
243
+ "arg": "integer",
244
+ "description": "Minimum number of hits.",
245
+ "default": 50
246
+ },
247
+ {
248
+ "name": "No correction",
249
+ "opt": "--nocorrection",
250
+ "description": "Report values without post-hoc correction."
251
+ },
252
+ {
253
+ "name": "Min ACTG",
254
+ "opt": "--min-actg",
255
+ "arg": "float",
256
+ "default": 0.95,
257
+ "description": ["Minimum fraction of ACTGN in the sequences before",
258
+ "assuming proteins."]
259
+ },
260
+ {
261
+ "name": "Executables",
262
+ "opt": "--bin",
263
+ "arg": "in_dir",
264
+ "description": ["Directory containing the binaries of the search",
265
+ "program."]
266
+ },
267
+ {
268
+ "opt": "--program",
269
+ "arg": "select",
270
+ "values": ["blast+", "blast", "blat"],
271
+ "default": "blast+",
272
+ "description": "Search program to be used.",
273
+ "note": ["Make sure that you have installed the search program you",
274
+ "want to use. If you have downloaded the program, but it's not",
275
+ "installed, please use the Executables option above."]
276
+ },
277
+ {
278
+ "opt": "--threads",
279
+ "arg": "integer",
280
+ "description": "Number of parallel threads to be used.",
281
+ "default": 1
282
+ },
283
+ {
284
+ "name": "SQLite3 DB",
285
+ "opt": "--sqlite3",
286
+ "arg": "out_file",
287
+ "description": ["Path to the SQLite3 database to create (or update)",
288
+ "with the results."]
289
+ },
290
+ {
291
+ "name": "Name 1",
292
+ "opt": "--name1",
293
+ "arg": "string",
294
+ "description": ["Name of Sequence 1 to use in SQLite3 DB. By default",
295
+ "it's determined by the filename."]
296
+ },
297
+ {
298
+ "name": "Name 2",
299
+ "opt": "--name2",
300
+ "arg": "string",
301
+ "description": ["Name of Sequence 2 to use in SQLite3 DB. By default",
302
+ "it's determined by the filename."]
303
+ },
304
+ {
305
+ "name": "Don't save regions",
306
+ "opt": "--no-save-regions",
307
+ "description": "Don't save the fragments in the SQLite3 database."
308
+ },
309
+ {
310
+ "name": "Don't save RBM",
311
+ "opt": "--no-save-rbm",
312
+ "description": ["Don't save the reciprocal best matches in the",
313
+ "--sqlite3 database."]
314
+ },
315
+ {
316
+ "opt": "--lookup-first",
317
+ "description": ["Indicates if the ANI should be looked up first in",
318
+ "the database. Requires SQLite3 DB, Auto, Name 1, and Name 2.",
319
+ "Incompatible with Result, Tab, and Out."]
320
+ },
321
+ {
322
+ "name": "Precision",
323
+ "opt": "--dec",
324
+ "arg": "integer",
325
+ "description": "Decimal positions to report.",
326
+ "default": 2
327
+ },
328
+ {
329
+ "opt": "--out",
330
+ "arg": "out_file",
331
+ "description": ["Saves a file describing the alignments used for",
332
+ "two-way ANI."]
333
+ },
334
+ {
335
+ "name": "Result",
336
+ "opt": "--res",
337
+ "arg": "out_file",
338
+ "description": "Saves a file with the final results."
339
+ },
340
+ {
341
+ "opt": "--tab",
342
+ "arg": "out_file",
343
+ "description": ["Saves a file with the final two-way results in a",
344
+ "tab-delimited form. The columns are (in that order): ANI,",
345
+ "standard deviation, fragments used, fragments in the smallest",
346
+ "genome."]
347
+ },
348
+ {
349
+ "opt": "--auto",
350
+ "description": ["ONLY outputs the ANI value in STDOUT (or nothing,",
351
+ "if calculation fails)."]
352
+ },
353
+ {
354
+ "opt": "--quiet",
355
+ "description": "Run quietly (no STDERR output)."
356
+ }
357
+ ]
358
+ },
359
+ {
360
+ "task": "rbm.rb",
361
+ "description": ["Finds the reciprocal best matches between two sets of",
362
+ "sequences."],
363
+ "help_arg": "--help",
364
+ "cite":[
365
+ ["Altschul et al, 2000, JMB",
366
+ "http://dx.doi.org/10.1016/S0022-2836(05)80360-2"]
367
+ ],
368
+ "options": [
369
+ {
370
+ "name": "Sequence 1",
371
+ "opt": "--seq1",
372
+ "arg": "in_file",
373
+ "mandatory": true,
374
+ "description": "FastA file containing the genome 1."
375
+ },
376
+ {
377
+ "name": "Sequence 2",
378
+ "opt": "--seq2",
379
+ "arg": "in_file",
380
+ "mandatory": true,
381
+ "description": "FastA file containing the genome 2."
382
+ },
383
+ {
384
+ "name": "Nucleotides",
385
+ "opt": "--nucl",
386
+ "description": ["Sequences are assumed to be nucleotides (proteins",
387
+ "by default)."]
388
+ },
389
+ {
390
+ "name": "Length",
391
+ "opt": "--len",
392
+ "arg": "integer",
393
+ "description": "Minimum alignment length (in residues).",
394
+ "default": 0
395
+ },
396
+ {
397
+ "name": "Fraction",
398
+ "opt": "--fract",
399
+ "arg": "float",
400
+ "default": 0.0,
401
+ "description": ["Minimum alignment length (as a fraction of the",
402
+ "query). If set, requires BLAST+ (see Program)."]
403
+ },
404
+ {
405
+ "name": "Identity",
406
+ "opt": "--id",
407
+ "arg": "float",
408
+ "description": "Minimum alignment identity (in %).",
409
+ "default": 0.0
410
+ },
411
+ {
412
+ "name": "Bit score",
413
+ "opt": "--score",
414
+ "arg": "float",
415
+ "default": 0.0,
416
+ "description": "Minimum alignment score (in bits)."
417
+ },
418
+ {
419
+ "name": "Executables",
420
+ "opt": "--bin",
421
+ "arg": "in_dir",
422
+ "description": ["Directory containing the binaries of the search",
423
+ "program."]
424
+ },
425
+ {
426
+ "opt": "--program",
427
+ "arg": "select",
428
+ "values": ["blast+", "blast", "blat"],
429
+ "default": "blast+",
430
+ "description": "Search program to be used. Default: blast+.",
431
+ "note": ["Make sure that you have installed the search program you",
432
+ "want to use. If you have downloaded the program, but it's not",
433
+ "installed, please use the Executables option above."]
434
+ },
435
+ {
436
+ "opt": "--threads",
437
+ "arg": "integer",
438
+ "description": "Number of parallel threads to be used.",
439
+ "default": 1
440
+ },
441
+ {
442
+ "opt": "--quiet",
443
+ "description": "Run quietly (no STDERR output)."
444
+ },
445
+ ">",
446
+ {
447
+ "arg": "out_file",
448
+ "mandatory": true,
449
+ "description": "Reciprocal Best Matches in BLAST tabular format."
450
+ }
451
+ ]
452
+ }
453
+ ]
454
+ }