miga-base 0.7.24.0 → 0.7.26.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 (295) hide show
  1. checksums.yaml +4 -4
  2. data/lib/miga/cli/action/add.rb +9 -6
  3. data/lib/miga/cli/action/derep_wf.rb +1 -1
  4. data/lib/miga/cli/action/index_wf.rb +4 -2
  5. data/lib/miga/cli/action/init.rb +83 -68
  6. data/lib/miga/cli/action/init/files_helper.rb +2 -1
  7. data/lib/miga/cli/action/option.rb +21 -2
  8. data/lib/miga/cli/action/preproc_wf.rb +7 -5
  9. data/lib/miga/cli/action/wf.rb +40 -24
  10. data/lib/miga/cli/base.rb +16 -5
  11. data/lib/miga/common/with_option.rb +1 -1
  12. data/lib/miga/dataset/result.rb +2 -1
  13. data/lib/miga/project/base.rb +1 -1
  14. data/lib/miga/result.rb +18 -15
  15. data/lib/miga/version.rb +2 -2
  16. data/scripts/essential_genes.bash +17 -1
  17. data/scripts/miga.bash +8 -2
  18. data/test/lair_test.rb +1 -2
  19. data/test/result_test.rb +22 -0
  20. data/utils/distance/base.rb +9 -0
  21. data/utils/distance/commands.rb +183 -81
  22. data/utils/distance/database.rb +68 -9
  23. data/utils/distance/pipeline.rb +14 -18
  24. data/utils/distance/runner.rb +17 -30
  25. data/utils/distance/temporal.rb +4 -2
  26. data/utils/distances.rb +2 -2
  27. data/utils/requirements.txt +5 -5
  28. metadata +5 -272
  29. data/utils/enveomics/Docs/recplot2.md +0 -244
  30. data/utils/enveomics/Examples/aai-matrix.bash +0 -66
  31. data/utils/enveomics/Examples/ani-matrix.bash +0 -66
  32. data/utils/enveomics/Examples/essential-phylogeny.bash +0 -105
  33. data/utils/enveomics/Examples/unus-genome-phylogeny.bash +0 -100
  34. data/utils/enveomics/LICENSE.txt +0 -73
  35. data/utils/enveomics/Makefile +0 -52
  36. data/utils/enveomics/Manifest/Tasks/aasubs.json +0 -103
  37. data/utils/enveomics/Manifest/Tasks/blasttab.json +0 -786
  38. data/utils/enveomics/Manifest/Tasks/distances.json +0 -161
  39. data/utils/enveomics/Manifest/Tasks/fasta.json +0 -766
  40. data/utils/enveomics/Manifest/Tasks/fastq.json +0 -243
  41. data/utils/enveomics/Manifest/Tasks/graphics.json +0 -126
  42. data/utils/enveomics/Manifest/Tasks/mapping.json +0 -67
  43. data/utils/enveomics/Manifest/Tasks/ogs.json +0 -382
  44. data/utils/enveomics/Manifest/Tasks/other.json +0 -829
  45. data/utils/enveomics/Manifest/Tasks/remote.json +0 -355
  46. data/utils/enveomics/Manifest/Tasks/sequence-identity.json +0 -501
  47. data/utils/enveomics/Manifest/Tasks/tables.json +0 -308
  48. data/utils/enveomics/Manifest/Tasks/trees.json +0 -68
  49. data/utils/enveomics/Manifest/Tasks/variants.json +0 -111
  50. data/utils/enveomics/Manifest/categories.json +0 -156
  51. data/utils/enveomics/Manifest/examples.json +0 -154
  52. data/utils/enveomics/Manifest/tasks.json +0 -4
  53. data/utils/enveomics/Pipelines/assembly.pbs/CONFIG.mock.bash +0 -69
  54. data/utils/enveomics/Pipelines/assembly.pbs/FastA.N50.pl +0 -1
  55. data/utils/enveomics/Pipelines/assembly.pbs/FastA.filterN.pl +0 -1
  56. data/utils/enveomics/Pipelines/assembly.pbs/FastA.length.pl +0 -1
  57. data/utils/enveomics/Pipelines/assembly.pbs/README.md +0 -189
  58. data/utils/enveomics/Pipelines/assembly.pbs/RUNME-2.bash +0 -112
  59. data/utils/enveomics/Pipelines/assembly.pbs/RUNME-3.bash +0 -23
  60. data/utils/enveomics/Pipelines/assembly.pbs/RUNME-4.bash +0 -44
  61. data/utils/enveomics/Pipelines/assembly.pbs/RUNME.bash +0 -50
  62. data/utils/enveomics/Pipelines/assembly.pbs/kSelector.R +0 -37
  63. data/utils/enveomics/Pipelines/assembly.pbs/newbler.pbs +0 -68
  64. data/utils/enveomics/Pipelines/assembly.pbs/newbler_preparator.pl +0 -49
  65. data/utils/enveomics/Pipelines/assembly.pbs/soap.pbs +0 -80
  66. data/utils/enveomics/Pipelines/assembly.pbs/stats.pbs +0 -57
  67. data/utils/enveomics/Pipelines/assembly.pbs/velvet.pbs +0 -63
  68. data/utils/enveomics/Pipelines/blast.pbs/01.pbs.bash +0 -38
  69. data/utils/enveomics/Pipelines/blast.pbs/02.pbs.bash +0 -73
  70. data/utils/enveomics/Pipelines/blast.pbs/03.pbs.bash +0 -21
  71. data/utils/enveomics/Pipelines/blast.pbs/BlastTab.recover_job.pl +0 -72
  72. data/utils/enveomics/Pipelines/blast.pbs/CONFIG.mock.bash +0 -98
  73. data/utils/enveomics/Pipelines/blast.pbs/FastA.split.pl +0 -1
  74. data/utils/enveomics/Pipelines/blast.pbs/README.md +0 -127
  75. data/utils/enveomics/Pipelines/blast.pbs/RUNME.bash +0 -109
  76. data/utils/enveomics/Pipelines/blast.pbs/TASK.check.bash +0 -128
  77. data/utils/enveomics/Pipelines/blast.pbs/TASK.dry.bash +0 -16
  78. data/utils/enveomics/Pipelines/blast.pbs/TASK.eo.bash +0 -22
  79. data/utils/enveomics/Pipelines/blast.pbs/TASK.pause.bash +0 -26
  80. data/utils/enveomics/Pipelines/blast.pbs/TASK.run.bash +0 -89
  81. data/utils/enveomics/Pipelines/blast.pbs/sentinel.pbs.bash +0 -29
  82. data/utils/enveomics/Pipelines/idba.pbs/README.md +0 -49
  83. data/utils/enveomics/Pipelines/idba.pbs/RUNME.bash +0 -95
  84. data/utils/enveomics/Pipelines/idba.pbs/run.pbs +0 -56
  85. data/utils/enveomics/Pipelines/trim.pbs/README.md +0 -54
  86. data/utils/enveomics/Pipelines/trim.pbs/RUNME.bash +0 -70
  87. data/utils/enveomics/Pipelines/trim.pbs/run.pbs +0 -130
  88. data/utils/enveomics/README.md +0 -42
  89. data/utils/enveomics/Scripts/AAsubs.log2ratio.rb +0 -171
  90. data/utils/enveomics/Scripts/Aln.cat.rb +0 -163
  91. data/utils/enveomics/Scripts/Aln.convert.pl +0 -35
  92. data/utils/enveomics/Scripts/AlphaDiversity.pl +0 -152
  93. data/utils/enveomics/Scripts/BedGraph.tad.rb +0 -93
  94. data/utils/enveomics/Scripts/BedGraph.window.rb +0 -71
  95. data/utils/enveomics/Scripts/BlastPairwise.AAsubs.pl +0 -102
  96. data/utils/enveomics/Scripts/BlastTab.addlen.rb +0 -63
  97. data/utils/enveomics/Scripts/BlastTab.advance.bash +0 -48
  98. data/utils/enveomics/Scripts/BlastTab.best_hit_sorted.pl +0 -55
  99. data/utils/enveomics/Scripts/BlastTab.catsbj.pl +0 -104
  100. data/utils/enveomics/Scripts/BlastTab.cogCat.rb +0 -76
  101. data/utils/enveomics/Scripts/BlastTab.filter.pl +0 -47
  102. data/utils/enveomics/Scripts/BlastTab.kegg_pep2path_rest.pl +0 -194
  103. data/utils/enveomics/Scripts/BlastTab.metaxaPrep.pl +0 -104
  104. data/utils/enveomics/Scripts/BlastTab.pairedHits.rb +0 -157
  105. data/utils/enveomics/Scripts/BlastTab.recplot2.R +0 -48
  106. data/utils/enveomics/Scripts/BlastTab.seqdepth.pl +0 -86
  107. data/utils/enveomics/Scripts/BlastTab.seqdepth_ZIP.pl +0 -119
  108. data/utils/enveomics/Scripts/BlastTab.seqdepth_nomedian.pl +0 -86
  109. data/utils/enveomics/Scripts/BlastTab.subsample.pl +0 -47
  110. data/utils/enveomics/Scripts/BlastTab.sumPerHit.pl +0 -114
  111. data/utils/enveomics/Scripts/BlastTab.taxid2taxrank.pl +0 -90
  112. data/utils/enveomics/Scripts/BlastTab.topHits_sorted.rb +0 -101
  113. data/utils/enveomics/Scripts/Chao1.pl +0 -97
  114. data/utils/enveomics/Scripts/CharTable.classify.rb +0 -234
  115. data/utils/enveomics/Scripts/EBIseq2tax.rb +0 -83
  116. data/utils/enveomics/Scripts/FastA.N50.pl +0 -56
  117. data/utils/enveomics/Scripts/FastA.extract.rb +0 -152
  118. data/utils/enveomics/Scripts/FastA.filter.pl +0 -52
  119. data/utils/enveomics/Scripts/FastA.filterLen.pl +0 -28
  120. data/utils/enveomics/Scripts/FastA.filterN.pl +0 -60
  121. data/utils/enveomics/Scripts/FastA.fragment.rb +0 -92
  122. data/utils/enveomics/Scripts/FastA.gc.pl +0 -42
  123. data/utils/enveomics/Scripts/FastA.interpose.pl +0 -93
  124. data/utils/enveomics/Scripts/FastA.length.pl +0 -38
  125. data/utils/enveomics/Scripts/FastA.mask.rb +0 -89
  126. data/utils/enveomics/Scripts/FastA.per_file.pl +0 -36
  127. data/utils/enveomics/Scripts/FastA.qlen.pl +0 -57
  128. data/utils/enveomics/Scripts/FastA.rename.pl +0 -65
  129. data/utils/enveomics/Scripts/FastA.revcom.pl +0 -23
  130. data/utils/enveomics/Scripts/FastA.sample.rb +0 -83
  131. data/utils/enveomics/Scripts/FastA.slider.pl +0 -85
  132. data/utils/enveomics/Scripts/FastA.split.pl +0 -55
  133. data/utils/enveomics/Scripts/FastA.split.rb +0 -79
  134. data/utils/enveomics/Scripts/FastA.subsample.pl +0 -131
  135. data/utils/enveomics/Scripts/FastA.tag.rb +0 -65
  136. data/utils/enveomics/Scripts/FastA.wrap.rb +0 -48
  137. data/utils/enveomics/Scripts/FastQ.filter.pl +0 -54
  138. data/utils/enveomics/Scripts/FastQ.interpose.pl +0 -90
  139. data/utils/enveomics/Scripts/FastQ.offset.pl +0 -90
  140. data/utils/enveomics/Scripts/FastQ.split.pl +0 -53
  141. data/utils/enveomics/Scripts/FastQ.tag.rb +0 -63
  142. data/utils/enveomics/Scripts/FastQ.test-error.rb +0 -81
  143. data/utils/enveomics/Scripts/FastQ.toFastA.awk +0 -24
  144. data/utils/enveomics/Scripts/GFF.catsbj.pl +0 -127
  145. data/utils/enveomics/Scripts/GenBank.add_fields.rb +0 -84
  146. data/utils/enveomics/Scripts/HMM.essential.rb +0 -351
  147. data/utils/enveomics/Scripts/HMM.haai.rb +0 -168
  148. data/utils/enveomics/Scripts/HMMsearch.extractIds.rb +0 -83
  149. data/utils/enveomics/Scripts/JPlace.distances.rb +0 -88
  150. data/utils/enveomics/Scripts/JPlace.to_iToL.rb +0 -320
  151. data/utils/enveomics/Scripts/M5nr.getSequences.rb +0 -81
  152. data/utils/enveomics/Scripts/MeTaxa.distribution.pl +0 -198
  153. data/utils/enveomics/Scripts/MyTaxa.fragsByTax.pl +0 -35
  154. data/utils/enveomics/Scripts/MyTaxa.seq-taxrank.rb +0 -49
  155. data/utils/enveomics/Scripts/NCBIacc2tax.rb +0 -92
  156. data/utils/enveomics/Scripts/Newick.autoprune.R +0 -27
  157. data/utils/enveomics/Scripts/RAxML-EPA.to_iToL.pl +0 -228
  158. data/utils/enveomics/Scripts/RecPlot2.compareIdentities.R +0 -32
  159. data/utils/enveomics/Scripts/RefSeq.download.bash +0 -48
  160. data/utils/enveomics/Scripts/SRA.download.bash +0 -57
  161. data/utils/enveomics/Scripts/TRIBS.plot-test.R +0 -36
  162. data/utils/enveomics/Scripts/TRIBS.test.R +0 -39
  163. data/utils/enveomics/Scripts/Table.barplot.R +0 -31
  164. data/utils/enveomics/Scripts/Table.df2dist.R +0 -30
  165. data/utils/enveomics/Scripts/Table.filter.pl +0 -61
  166. data/utils/enveomics/Scripts/Table.merge.pl +0 -77
  167. data/utils/enveomics/Scripts/Table.replace.rb +0 -69
  168. data/utils/enveomics/Scripts/Table.round.rb +0 -63
  169. data/utils/enveomics/Scripts/Table.split.pl +0 -57
  170. data/utils/enveomics/Scripts/Taxonomy.silva2ncbi.rb +0 -227
  171. data/utils/enveomics/Scripts/VCF.KaKs.rb +0 -147
  172. data/utils/enveomics/Scripts/VCF.SNPs.rb +0 -88
  173. data/utils/enveomics/Scripts/aai.rb +0 -418
  174. data/utils/enveomics/Scripts/ani.rb +0 -362
  175. data/utils/enveomics/Scripts/clust.rand.rb +0 -102
  176. data/utils/enveomics/Scripts/gi2tax.rb +0 -103
  177. data/utils/enveomics/Scripts/in_silico_GA_GI.pl +0 -96
  178. data/utils/enveomics/Scripts/lib/data/dupont_2012_essential.hmm.gz +0 -0
  179. data/utils/enveomics/Scripts/lib/data/lee_2019_essential.hmm.gz +0 -0
  180. data/utils/enveomics/Scripts/lib/enveomics.R +0 -1
  181. data/utils/enveomics/Scripts/lib/enveomics_rb/enveomics.rb +0 -24
  182. data/utils/enveomics/Scripts/lib/enveomics_rb/jplace.rb +0 -253
  183. data/utils/enveomics/Scripts/lib/enveomics_rb/og.rb +0 -182
  184. data/utils/enveomics/Scripts/lib/enveomics_rb/remote_data.rb +0 -74
  185. data/utils/enveomics/Scripts/lib/enveomics_rb/seq_range.rb +0 -237
  186. data/utils/enveomics/Scripts/lib/enveomics_rb/stat.rb +0 -30
  187. data/utils/enveomics/Scripts/lib/enveomics_rb/vcf.rb +0 -135
  188. data/utils/enveomics/Scripts/ogs.annotate.rb +0 -88
  189. data/utils/enveomics/Scripts/ogs.core-pan.rb +0 -160
  190. data/utils/enveomics/Scripts/ogs.extract.rb +0 -125
  191. data/utils/enveomics/Scripts/ogs.mcl.rb +0 -186
  192. data/utils/enveomics/Scripts/ogs.rb +0 -104
  193. data/utils/enveomics/Scripts/ogs.stats.rb +0 -131
  194. data/utils/enveomics/Scripts/rbm.rb +0 -146
  195. data/utils/enveomics/Tests/Makefile +0 -10
  196. data/utils/enveomics/Tests/Mgen_M2288.faa +0 -3189
  197. data/utils/enveomics/Tests/Mgen_M2288.fna +0 -8282
  198. data/utils/enveomics/Tests/Mgen_M2321.fna +0 -8288
  199. data/utils/enveomics/Tests/Nequ_Kin4M.faa +0 -2970
  200. data/utils/enveomics/Tests/Xanthomonas_oryzae-PilA.tribs.Rdata +0 -0
  201. data/utils/enveomics/Tests/Xanthomonas_oryzae-PilA.txt +0 -7
  202. data/utils/enveomics/Tests/Xanthomonas_oryzae.aai-mat.tsv +0 -17
  203. data/utils/enveomics/Tests/Xanthomonas_oryzae.aai.tsv +0 -137
  204. data/utils/enveomics/Tests/a_mg.cds-go.blast.tsv +0 -123
  205. data/utils/enveomics/Tests/a_mg.reads-cds.blast.tsv +0 -200
  206. data/utils/enveomics/Tests/a_mg.reads-cds.counts.tsv +0 -55
  207. data/utils/enveomics/Tests/alkB.nwk +0 -1
  208. data/utils/enveomics/Tests/anthrax-cansnp-data.tsv +0 -13
  209. data/utils/enveomics/Tests/anthrax-cansnp-key.tsv +0 -17
  210. data/utils/enveomics/Tests/hiv1.faa +0 -59
  211. data/utils/enveomics/Tests/hiv1.fna +0 -134
  212. data/utils/enveomics/Tests/hiv2.faa +0 -70
  213. data/utils/enveomics/Tests/hiv_mix-hiv1.blast.tsv +0 -233
  214. data/utils/enveomics/Tests/hiv_mix-hiv1.blast.tsv.lim +0 -1
  215. data/utils/enveomics/Tests/hiv_mix-hiv1.blast.tsv.rec +0 -233
  216. data/utils/enveomics/Tests/phyla_counts.tsv +0 -10
  217. data/utils/enveomics/Tests/primate_lentivirus.ogs +0 -11
  218. data/utils/enveomics/Tests/primate_lentivirus.rbm/hiv1-hiv1.rbm +0 -9
  219. data/utils/enveomics/Tests/primate_lentivirus.rbm/hiv1-hiv2.rbm +0 -8
  220. data/utils/enveomics/Tests/primate_lentivirus.rbm/hiv1-siv.rbm +0 -6
  221. data/utils/enveomics/Tests/primate_lentivirus.rbm/hiv2-hiv2.rbm +0 -9
  222. data/utils/enveomics/Tests/primate_lentivirus.rbm/hiv2-siv.rbm +0 -6
  223. data/utils/enveomics/Tests/primate_lentivirus.rbm/siv-siv.rbm +0 -6
  224. data/utils/enveomics/build_enveomics_r.bash +0 -45
  225. data/utils/enveomics/enveomics.R/DESCRIPTION +0 -31
  226. data/utils/enveomics/enveomics.R/NAMESPACE +0 -39
  227. data/utils/enveomics/enveomics.R/R/autoprune.R +0 -155
  228. data/utils/enveomics/enveomics.R/R/barplot.R +0 -184
  229. data/utils/enveomics/enveomics.R/R/cliopts.R +0 -135
  230. data/utils/enveomics/enveomics.R/R/df2dist.R +0 -154
  231. data/utils/enveomics/enveomics.R/R/growthcurve.R +0 -331
  232. data/utils/enveomics/enveomics.R/R/recplot.R +0 -354
  233. data/utils/enveomics/enveomics.R/R/recplot2.R +0 -1631
  234. data/utils/enveomics/enveomics.R/R/tribs.R +0 -583
  235. data/utils/enveomics/enveomics.R/R/utils.R +0 -50
  236. data/utils/enveomics/enveomics.R/README.md +0 -80
  237. data/utils/enveomics/enveomics.R/data/growth.curves.rda +0 -0
  238. data/utils/enveomics/enveomics.R/data/phyla.counts.rda +0 -0
  239. data/utils/enveomics/enveomics.R/man/cash-enve.GrowthCurve-method.Rd +0 -17
  240. data/utils/enveomics/enveomics.R/man/cash-enve.RecPlot2-method.Rd +0 -17
  241. data/utils/enveomics/enveomics.R/man/cash-enve.RecPlot2.Peak-method.Rd +0 -17
  242. data/utils/enveomics/enveomics.R/man/enve.GrowthCurve-class.Rd +0 -25
  243. data/utils/enveomics/enveomics.R/man/enve.TRIBS-class.Rd +0 -46
  244. data/utils/enveomics/enveomics.R/man/enve.TRIBS.merge.Rd +0 -23
  245. data/utils/enveomics/enveomics.R/man/enve.TRIBStest-class.Rd +0 -47
  246. data/utils/enveomics/enveomics.R/man/enve.__prune.iter.Rd +0 -23
  247. data/utils/enveomics/enveomics.R/man/enve.__prune.reduce.Rd +0 -23
  248. data/utils/enveomics/enveomics.R/man/enve.__tribs.Rd +0 -32
  249. data/utils/enveomics/enveomics.R/man/enve.barplot.Rd +0 -91
  250. data/utils/enveomics/enveomics.R/man/enve.cliopts.Rd +0 -57
  251. data/utils/enveomics/enveomics.R/man/enve.col.alpha.Rd +0 -24
  252. data/utils/enveomics/enveomics.R/man/enve.col2alpha.Rd +0 -19
  253. data/utils/enveomics/enveomics.R/man/enve.df2dist.Rd +0 -39
  254. data/utils/enveomics/enveomics.R/man/enve.df2dist.group.Rd +0 -38
  255. data/utils/enveomics/enveomics.R/man/enve.df2dist.list.Rd +0 -40
  256. data/utils/enveomics/enveomics.R/man/enve.growthcurve.Rd +0 -67
  257. data/utils/enveomics/enveomics.R/man/enve.prune.dist.Rd +0 -37
  258. data/utils/enveomics/enveomics.R/man/enve.recplot.Rd +0 -122
  259. data/utils/enveomics/enveomics.R/man/enve.recplot2-class.Rd +0 -45
  260. data/utils/enveomics/enveomics.R/man/enve.recplot2.ANIr.Rd +0 -24
  261. data/utils/enveomics/enveomics.R/man/enve.recplot2.Rd +0 -68
  262. data/utils/enveomics/enveomics.R/man/enve.recplot2.__counts.Rd +0 -25
  263. data/utils/enveomics/enveomics.R/man/enve.recplot2.__peakHist.Rd +0 -21
  264. data/utils/enveomics/enveomics.R/man/enve.recplot2.__whichClosestPeak.Rd +0 -19
  265. data/utils/enveomics/enveomics.R/man/enve.recplot2.changeCutoff.Rd +0 -19
  266. data/utils/enveomics/enveomics.R/man/enve.recplot2.compareIdentities.Rd +0 -41
  267. data/utils/enveomics/enveomics.R/man/enve.recplot2.coordinates.Rd +0 -29
  268. data/utils/enveomics/enveomics.R/man/enve.recplot2.corePeak.Rd +0 -18
  269. data/utils/enveomics/enveomics.R/man/enve.recplot2.extractWindows.Rd +0 -40
  270. data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.Rd +0 -36
  271. data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.__em_e.Rd +0 -19
  272. data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.__em_m.Rd +0 -19
  273. data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.__emauto_one.Rd +0 -27
  274. data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.__mow_one.Rd +0 -41
  275. data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.__mower.Rd +0 -17
  276. data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.em.Rd +0 -43
  277. data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.emauto.Rd +0 -37
  278. data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.mower.Rd +0 -74
  279. data/utils/enveomics/enveomics.R/man/enve.recplot2.peak-class.Rd +0 -59
  280. data/utils/enveomics/enveomics.R/man/enve.recplot2.seqdepth.Rd +0 -27
  281. data/utils/enveomics/enveomics.R/man/enve.recplot2.windowDepthThreshold.Rd +0 -32
  282. data/utils/enveomics/enveomics.R/man/enve.tribs.Rd +0 -59
  283. data/utils/enveomics/enveomics.R/man/enve.tribs.test.Rd +0 -28
  284. data/utils/enveomics/enveomics.R/man/enve.truncate.Rd +0 -27
  285. data/utils/enveomics/enveomics.R/man/growth.curves.Rd +0 -14
  286. data/utils/enveomics/enveomics.R/man/phyla.counts.Rd +0 -13
  287. data/utils/enveomics/enveomics.R/man/plot.enve.GrowthCurve.Rd +0 -63
  288. data/utils/enveomics/enveomics.R/man/plot.enve.TRIBS.Rd +0 -38
  289. data/utils/enveomics/enveomics.R/man/plot.enve.TRIBStest.Rd +0 -38
  290. data/utils/enveomics/enveomics.R/man/plot.enve.recplot2.Rd +0 -111
  291. data/utils/enveomics/enveomics.R/man/summary.enve.GrowthCurve.Rd +0 -19
  292. data/utils/enveomics/enveomics.R/man/summary.enve.TRIBS.Rd +0 -19
  293. data/utils/enveomics/enveomics.R/man/summary.enve.TRIBStest.Rd +0 -19
  294. data/utils/enveomics/globals.mk +0 -8
  295. data/utils/enveomics/manifest.json +0 -9
@@ -1,161 +0,0 @@
1
- {
2
- "tasks": [
3
- {
4
- "task": "TRIBS.test.R",
5
- "description": ["Estimates the empirical difference between all the",
6
- "distances in a set of objects and a subset, together with its",
7
- "statistical significance."],
8
- "help_arg": "--help",
9
- "requires": [
10
- { "r_package": "optparse" },
11
- { "r_package": "enveomics.R" }
12
- ],
13
- "see_also": ["TRIBS.plot-test.R"],
14
- "options": [
15
- {
16
- "opt": "--dist",
17
- "arg": "in_file",
18
- "mandatory": true,
19
- "description": "A tab-delimited matrix of distances."
20
- },
21
- {
22
- "opt": "--selection",
23
- "arg": "in_file",
24
- "mandatory": true,
25
- "description": "A list of names with the selection to evaluate."
26
- },
27
- {
28
- "opt": "--replicates",
29
- "arg": "integer",
30
- "default": 1000,
31
- "description": "Number of replications per point."
32
- },
33
- {
34
- "opt": "--summary-fx",
35
- "arg": "string",
36
- "description": ["Function to summarize the distance distributions in",
37
- "a given replicate. By default, the median distance is estimated."]
38
- },
39
- {
40
- "opt": "--dist-method",
41
- "arg": "string",
42
- "default": "euclidean",
43
- "description": ["Distance method between random points and samples",
44
- "in the transformed space. See the R function 'dist'."]
45
- },
46
- {
47
- "opt": "--dimensions",
48
- "arg": "integer",
49
- "description": ["Dimensions to use in the NMDS. By default, 5% of",
50
- "the selection length."]
51
- },
52
- {
53
- "opt": "--threads",
54
- "arg": "integer",
55
- "default": 2,
56
- "description": "Number of threads to use."
57
- },
58
- {
59
- "opt": "--verbosity",
60
- "arg": "integer",
61
- "default": 1,
62
- "description": ["Verbosity. Use 0 to run quietly, increase for",
63
- "additional information."]
64
- },
65
- {
66
- "arg": "out_file",
67
- "mandatory": true,
68
- "description": "Output file with the TRIBS test R object."
69
- },
70
- {
71
- "name": "Bins",
72
- "arg": "integer",
73
- "default": 50,
74
- "description": "Number of bins to evaluate in the range of distances."
75
- }
76
- ]
77
- },
78
- {
79
- "task": "TRIBS.plot-test.R",
80
- "description": "Plots an `enve.TRIBStest` object.",
81
- "requires": [
82
- { "r_package": "optparse" },
83
- { "r_package": "enveomics.R" }
84
- ],
85
- "see_also": ["TRIBS.test.R"],
86
- "help_arg": "--help",
87
- "options": [
88
- {
89
- "name": "Input TRIBS Test",
90
- "opt": "--x",
91
- "arg": "in_file",
92
- "mandatory": true,
93
- "description": "'enve.TRIBStest' object to plot."
94
- },
95
- {
96
- "opt": "--type",
97
- "arg": "select",
98
- "values": ["overlap","difference"],
99
- "default": "overlap",
100
- "description": ["What to plot. 'overlap' generates a plot of the two",
101
- "contrasting empirical PDFs (to compare against each other),",
102
- "'difference' produces a plot of the differences between the",
103
- "empirical PDFs (to compare against zero)."]
104
- },
105
- {
106
- "opt": "--col",
107
- "arg": "string",
108
- "default": "#00000044",
109
- "description": "Main color of the plot if type='difference'."
110
- },
111
- {
112
- "opt": "--col1",
113
- "arg": "string",
114
- "description": ["First color of the plot if 'Type' is overlap. 'Col'",
115
- "by default."]
116
- },
117
- {
118
- "opt": "--col2",
119
- "arg": "string",
120
- "default": "#44001144",
121
- "description": "Second color of the plot if 'Type' is overlap."
122
- },
123
- {
124
- "opt": "--ylab",
125
- "arg": "string",
126
- "default": "Probability",
127
- "description": "Y-axis label."
128
- },
129
- {
130
- "opt": "--xlim",
131
- "arg": "string",
132
- "description": "X-axis limits, separate values by comma."
133
- },
134
- {
135
- "opt": "--ylim",
136
- "arg": "string",
137
- "description": "Y-axis limits, separate values by comma."
138
- },
139
- {
140
- "arg": "out_file",
141
- "mandatory": true,
142
- "description": "Output file in PDF format."
143
- },
144
- {
145
- "name": "Width",
146
- "arg": "float",
147
- "default": 7.0,
148
- "mandatory": true,
149
- "description": "Width of the plot in inches."
150
- },
151
- {
152
- "name": "Height",
153
- "arg": "float",
154
- "default": 7.0,
155
- "mandatory": true,
156
- "description": "Height of the plot in inches."
157
- }
158
- ]
159
- }
160
- ]
161
- }
@@ -1,766 +0,0 @@
1
- {
2
- "tasks": [
3
- {
4
- "task": "FastA.N50.pl",
5
- "description": ["Calculates the N50 value of a set of sequences.",
6
- "Alternatively, it can calculate other N** values. It also calculates",
7
- "the total number of sequences and the total added length."],
8
- "help_arg": "",
9
- "see_also": ["FastA.length.pl"],
10
- "options": [
11
- {
12
- "name": "Sequences",
13
- "arg": "in_file",
14
- "mandatory": true,
15
- "description": "A FastA file containing the sequences."
16
- },
17
- {
18
- "name": "Minimum length",
19
- "arg": "integer",
20
- "description": "Minimum length to take into consideration.",
21
- "default": 0
22
- },
23
- {
24
- "name": "NXX",
25
- "arg": "integer",
26
- "description": "Value NXX to calculate.",
27
- "default": 50
28
- }
29
- ]
30
- },
31
- {
32
- "task": "FastA.filter.pl",
33
- "description": "Extracts a subset of sequences from a FastA file.",
34
- "help_arg": "-h",
35
- "see_also": ["FastQ.filter.pl"],
36
- "options": [
37
- {
38
- "opt": "-r",
39
- "description": ["Reverse list. Extracts sequences NOT present in the",
40
- "list."]
41
- },
42
- {
43
- "opt": "-q",
44
- "description": "Runs quietly."
45
- },
46
- {
47
- "name": "List",
48
- "arg": "in_file",
49
- "mandatory": true,
50
- "description": "List of sequences to extract."
51
- },
52
- {
53
- "name": "Sequences",
54
- "arg": "in_file",
55
- "mandatory": true,
56
- "description": "FastA file containing the superset of sequences."
57
- },
58
- ">",
59
- {
60
- "name": "Subset",
61
- "arg": "out_file",
62
- "mandatory": true,
63
- "description": "FastA file to be created."
64
- }
65
- ]
66
- },
67
- {
68
- "task": "FastA.filterLen.pl",
69
- "description": "Filters a multi-FastA file by length.",
70
- "requires": [ { "perl_lib": "Bio::SeqIO" } ],
71
- "cite": [["Stajich et al, 2002, GRes",
72
- "http://dx.doi.org/10.1101/gr.361602"]],
73
- "help_arg": "",
74
- "options": [
75
- {
76
- "arg": "in_file",
77
- "mandatory": true,
78
- "description": "Input FastA file."
79
- },
80
- {
81
- "name": "Minimum length",
82
- "arg": "integer",
83
- "mandatory": true,
84
- "description": "Minimum length to report a sequence."
85
- },
86
- ">",
87
- {
88
- "arg": "out_file",
89
- "mandatory": true,
90
- "description": "Filtered FastA file."
91
- }
92
- ]
93
- },
94
- {
95
- "task": "FastA.filterN.pl",
96
- "description": ["Filter sequences by N-content and presence of long",
97
- "homopolymers."],
98
- "help_arg": "",
99
- "options": [
100
- {
101
- "name": "Sequences",
102
- "arg": "in_file",
103
- "mandatory": true,
104
- "description": "Input file in FastA format."
105
- },
106
- {
107
- "name": "Content",
108
- "arg": "float",
109
- "default": 0.5,
110
- "mandatory": true,
111
- "description": ["A number between 0 and 1 indicating the maximum",
112
- "proportion of Ns (1 to turn off, 0.5 by default)."]
113
- },
114
- {
115
- "name": "Stretch",
116
- "arg": "integer",
117
- "default": 100,
118
- "description": ["A number indicating the maximum number of",
119
- "consecutive identical nucleotides allowed (0 to turn off, 100 by",
120
- "default)."]
121
- },
122
- ">",
123
- {
124
- "name": "Filtered",
125
- "arg": "out_file",
126
- "mandatory": true,
127
- "description": "Filtered set of sequences."
128
- }
129
- ]
130
- },
131
- {
132
- "task": "FastA.gc.pl",
133
- "description": "Estimates the G+C content of sequences.",
134
- "help_arg": "",
135
- "options": [
136
- {
137
- "name": "seqs.fa",
138
- "arg": "in_file",
139
- "multiple_sep": " ",
140
- "mandatory": true,
141
- "description": "One or more FastA files."
142
- },
143
- ">",
144
- {
145
- "name": "gc.txt",
146
- "arg": "out_file",
147
- "mandatory": true,
148
- "description": "A table with the G+C content of the sequences."
149
- }
150
- ]
151
- },
152
- {
153
- "task": "FastA.interpose.pl",
154
- "description": ["Interpose sequences in FastA format from two files into",
155
- "one output file. If more than two files are provided, the script will",
156
- "interpose all the input files."],
157
- "see_also": ["FastA.split.rb","FastQ.interpose.pl"],
158
- "warn": ["Please note that this script will check for the consistency of",
159
- "the names (assuming a pair of related reads contains the same name",
160
- "varying only in a trailing slash (/) followed by a digit. If you want",
161
- "to turn this feature off just set the checking period to zero. If",
162
- "you want to decrease the sampling period (to speed the script up) or",
163
- "increase it (to make it more sensitive to errors) just change the ",
164
- "checking period accordingly."],
165
- "help_arg": "",
166
- "options": [
167
- {
168
- "name": "Checking period",
169
- "opt": "-T",
170
- "arg": "integer",
171
- "default": 1000,
172
- "description": "Sampling period for names evaluation."
173
- },
174
- {
175
- "arg": "out_file",
176
- "mandatory": true,
177
- "description": "Output FastA file."
178
- },
179
- {
180
- "name": "Input FastA 1",
181
- "arg": "in_file",
182
- "mandatory": true,
183
- "description": "First FastA file."
184
- },
185
- {
186
- "name": "Input FastA 2",
187
- "arg": "in_file",
188
- "mandatory": true,
189
- "description": "Second FastA file."
190
- },
191
- {
192
- "name": "Additional FastA",
193
- "arg": "in_file",
194
- "multiple_sep": " ",
195
- "description": "Any additional FastA files (or none)."
196
- }
197
- ]
198
- },
199
- {
200
- "task": "FastA.length.pl",
201
- "description": "Returns the length of sequences in (multi-)FastA.",
202
- "see_also": ["FastA.N50.pl"],
203
- "help_arg": "",
204
- "options": [
205
- {
206
- "arg": "in_file",
207
- "multiple_sep": " ",
208
- "mandatory": true,
209
- "description": "One or more FastA files."
210
- },
211
- ">",
212
- {
213
- "arg": "out_file",
214
- "mandatory": true,
215
- "description": "A table with the lengths of the sequences."
216
- }
217
- ]
218
- },
219
- {
220
- "task": "FastA.mask.rb",
221
- "description": "Mask sequence region(s) in a FastA file.",
222
- "help_arg": "--help",
223
- "options": [
224
- {
225
- "opt": "--in",
226
- "arg": "in_file",
227
- "mandatory": true,
228
- "description": "Input FastA file."
229
- },
230
- {
231
- "opt": "--out",
232
- "arg": "out_file",
233
- "mandatory": true,
234
- "description": "Output FastA file."
235
- },
236
- {
237
- "opt": "--regions",
238
- "arg": "string",
239
- "mandatory": true,
240
- "description": ["Regions to mask separated by commas.",
241
- "Each region must be in the format \"sequence_id:from..to\"."]
242
- },
243
- {
244
- "opt": "--symbol",
245
- "arg": "string",
246
- "default": "N",
247
- "description": "Character used to mask the region(s)."
248
- },
249
- {
250
- "opt": "--trim",
251
- "description": ["Trim masked regions extending to the edge of a",
252
- "sequence."]
253
- },
254
- {
255
- "opt": "--wrap",
256
- "arg": "integer",
257
- "default": 70,
258
- "description": ["Line length to wrap sequences. Use 0 to generate",
259
- "1-line sequences."]
260
- }
261
- ]
262
- },
263
- {
264
- "task": "FastA.qlen.pl",
265
- "description": ["Calculates the quartiles of the length in a set of",
266
- "sequences. The Q2 is also known as the median. Q0 is the minimum",
267
- "length, and Q4 is the maximum length. It also calculates TOTAL, the",
268
- "added length of the sequences in the file, and AVG, the average",
269
- "length."],
270
- "help_arg": "",
271
- "options": [
272
- {
273
- "name": "Sequences",
274
- "arg": "in_file",
275
- "mandatory": true,
276
- "description": "A FastA file containing the sequences."
277
- },
278
- {
279
- "name": "Minimum Length",
280
- "arg": "integer",
281
- "default": 0,
282
- "description": "The minimum length to take into consideration."
283
- }
284
- ]
285
- },
286
- {
287
- "task": "FastA.rename.pl",
288
- "description": "Renames a set of sequences in FastA format.",
289
- "help_arg": "-h",
290
- "options": [
291
- {
292
- "name": "Filter list",
293
- "opt": "-f",
294
- "description": "Ignore sequences NOT present in the list."
295
- },
296
- {
297
- "name": "Quiet",
298
- "opt": "-q",
299
- "description": "Runs quietly."
300
- },
301
- {
302
- "name": "List.txt",
303
- "arg": "in_file",
304
- "mandatory": true,
305
- "description": ["Tab-delimited list of sequences, with the original",
306
- "ID in the first column and the ID to use in the second."]
307
- },
308
- {
309
- "name": "Seqs.fa",
310
- "arg": "in_file",
311
- "mandatory": true,
312
- "description": "FastA file containing the superset of sequences."
313
- },
314
- ">",
315
- {
316
- "name": "Renamed.fa",
317
- "arg": "out_file",
318
- "mandatory": true,
319
- "description": "FastA file to be created."
320
- }
321
- ]
322
- },
323
- {
324
- "task": "FastA.revcom.pl",
325
- "description": "Reverse-complement sequences in FastA format.",
326
- "requires": [ { "perl_lib": "Bio::SeqIO" } ],
327
- "cite": [["Stajich et al, 2002, GRes",
328
- "http://dx.doi.org/10.1101/gr.361602"]],
329
- "help_arg": "--help",
330
- "options": [
331
- "<",
332
- {
333
- "arg": "in_file",
334
- "mandatory": true,
335
- "description": "Input file in FastA format."
336
- },
337
- ">",
338
- {
339
- "arg": "out_file",
340
- "mandatory": true,
341
- "description": "Output file in FastA format."
342
- }
343
- ]
344
- },
345
- {
346
- "task": "FastA.sample.rb",
347
- "description": ["Samples a random set of sequences from a multi-FastA",
348
- "file."],
349
- "help_arg": "--help",
350
- "see_also": "FastA.subsample.pl",
351
- "options": [
352
- {
353
- "name": "Input File",
354
- "opt": "--in",
355
- "arg": "in_file",
356
- "mandatory": true,
357
- "description": "Input FastA file."
358
- },
359
- {
360
- "name": "Output file",
361
- "opt": "--out",
362
- "arg": "out_file",
363
- "mandatory": true,
364
- "description": "Output FastA file."
365
- },
366
- {
367
- "opt": "--fraction",
368
- "arg": "float",
369
- "description": ["Fraction of sequences to sample [0-1].",
370
- "Mandatory unless Number is provided."]
371
- },
372
- {
373
- "opt": "--number",
374
- "arg": "integer",
375
- "description": ["Number of sequences to sample.",
376
- "Mandatory unless -f is provided."]
377
- },
378
- {
379
- "opt": "--replacement",
380
- "description": "Sample with replacement."
381
- },
382
- {
383
- "opt": "--quiet",
384
- "description": "Run quietly (no STDERR output)."
385
- }
386
- ]
387
- },
388
- {
389
- "task": "FastA.slider.pl",
390
- "description": "Slices sequences in fixed- or variable-length windows.",
391
- "help_arg": "-help",
392
- "options": [
393
- {
394
- "opt": "-seq",
395
- "arg": "in_file",
396
- "mandatory": true,
397
- "description": "Input file in FastA format."
398
- },
399
- {
400
- "opt": "-out",
401
- "arg": "out_file",
402
- "mandatory": true,
403
- "description": "Output file in FastA format."
404
- },
405
- {
406
- "opt": "-win",
407
- "arg": "integer",
408
- "default": 18,
409
- "description": "Window size."
410
- },
411
- {
412
- "opt": "-step",
413
- "arg": "integer",
414
- "default": 1,
415
- "description": "Step size."
416
- },
417
- {
418
- "name": "Length error",
419
- "opt": "-lerr",
420
- "arg": "integer",
421
- "default": 2,
422
- "description": "Expected error in chunks length."
423
- },
424
- {
425
- "opt": "-comm",
426
- "arg": "select",
427
- "values": [0,1],
428
- "default": 0,
429
- "description": ["Generate FastA comments (leaded by semi-colon) to",
430
- "separate input sequences. Set to 0 for no-comments, to 1 for",
431
- "comments."]
432
- },
433
- {
434
- "opt": "-short",
435
- "arg": "select",
436
- "values": [0,1],
437
- "default": 0,
438
- "description": ["Use chunks shorter than the window size 'as is'.",
439
- "Set to 0 to discard those chunks, to 1 to use them."]
440
- }
441
- ]
442
- },
443
- {
444
- "task": "FastA.split.rb",
445
- "description": ["Evenly splits a multi-FastA file into multiple",
446
- "multi-FastA files."],
447
- "see_also": ["FastA.interpose.pl","FastQ.split.pl"],
448
- "help_arg": "--help",
449
- "options": [
450
- {
451
- "opt": "--input",
452
- "arg": "in_file",
453
- "mandatory": true,
454
- "description": "Input FastA file."
455
- },
456
- {
457
- "opt": "--prefix",
458
- "arg": "out_file",
459
- "mandatory": true,
460
- "description": "Prefix of output FastA files."
461
- },
462
- {
463
- "opt": "--number",
464
- "arg": "integer",
465
- "default": 12,
466
- "description": "Number of output files to produce."
467
- },
468
- {
469
- "opt": "--zero-padded",
470
- "description": "Use zero-padded numbers as output index."
471
- },
472
- {
473
- "opt": "--lowercase-letters",
474
- "description": "Use lowercase letters as output index."
475
- },
476
- {
477
- "name": "Output format",
478
- "opt": "--out",
479
- "arg": "string",
480
- "default": "%s.%s.fa",
481
- "description": ["Format of output filenames, where %s are replaced",
482
- "by prefix and index."]
483
- },
484
- {
485
- "opt": "--quiet",
486
- "description": "Run quietly (no STDERR output)."
487
- }
488
- ]
489
- },
490
- {
491
- "task": "FastA.split.pl",
492
- "description": "Splits a FastA file into two or more files.",
493
- "warn": "Deprecated in favor of FastA.split.rb.",
494
- "see_also": ["FastA.split.rb","FastA.interpose.pl","FastQ.split.pl"],
495
- "help_arg": "",
496
- "options": [
497
- {
498
- "arg": "in_file",
499
- "mandatory": true,
500
- "description": "Input file in FastA format."
501
- },
502
- {
503
- "name": "Out base",
504
- "arg": "out_file",
505
- "mandatory": true,
506
- "description": ["Prefix for the name of the output files. It will be",
507
- "appended with .<i>.fa, where <i> is a consecutive number starting",
508
- "in 1."]
509
- },
510
- {
511
- "name": "Number of files",
512
- "arg": "integer",
513
- "default": 12,
514
- "description": "Number of files to generate."
515
- }
516
- ]
517
- },
518
- {
519
- "task": "FastA.subsample.pl",
520
- "description": "Subsamples a set of sequences.",
521
- "help_arg": "-h",
522
- "see_also": "FastA.sample.rb",
523
- "options": [
524
- {
525
- "name": "Fraction",
526
- "opt": "-f",
527
- "arg": "string",
528
- "default": "10",
529
- "description": ["Fraction of the library to be sampled (as",
530
- "percentage). It can include several values (separated by comma),",
531
- "as well as ranges of values in the form 'from-to/by'. For",
532
- "example, the -f value 1-5/1,10-50/10,75,99 will produce 12",
533
- "subsamples with expected fractions 1%, 2%, 3%, 4%, 5%, 10%, 20%,",
534
- "30%, 40%, 50%, 75%, and 99%."]
535
- },
536
- {
537
- "name": "Replicates",
538
- "opt": "-r",
539
- "arg": "integer",
540
- "default": 1,
541
- "description": "Number of replicates per fraction."
542
- },
543
- {
544
- "name": "Out base",
545
- "opt": "-o",
546
- "arg": "out_file",
547
- "description": ["Prefix of the output files to be created. The",
548
- "output files will have a suffix of the form",
549
- "'.fraction-replicate.fa', where 'fraction' is the percentage",
550
- "sampled and 'replicate' is an increasing integer for replicates",
551
- "of the same fraction. By default: Path to the input file."]
552
- },
553
- {
554
- "name": "Force",
555
- "opt": "-F",
556
- "description": "Force overwriting output file(s)."
557
- },
558
- {
559
- "name": "Zeroes",
560
- "opt": "-z",
561
- "description": ["Include leading zeroes in the numeric parts of the",
562
- "output files (e.g., file.002.50-01.fa instead of file.2.50-1.fa),",
563
- "so that alphabetic sorting of files reflects the sampled",
564
- "fraction."]
565
- },
566
- {
567
- "name": "Quiet",
568
- "opt": "-q",
569
- "description": "Run quietly."
570
- },
571
- {
572
- "arg": "in_file",
573
- "mandatory": true,
574
- "multiple_sep": " ",
575
- "description": "Input multi-FastA file(s)."
576
- }
577
- ]
578
- },
579
- {
580
- "task": "FastA.tag.rb",
581
- "description": "Generates easy-to-parse tagged reads from FastA files.",
582
- "see_also": ["FastQ.tag.rb"],
583
- "help_arg": "--help",
584
- "options": [
585
- {
586
- "name": "Input file",
587
- "opt": "--in",
588
- "arg": "in_file",
589
- "mandatory": true,
590
- "description": "FastA file containing the sequences."
591
- },
592
- {
593
- "name": "Output file",
594
- "opt": "--out",
595
- "arg": "out_file",
596
- "mandatory": true,
597
- "description": "FastA file to create."
598
- },
599
- {
600
- "opt": "--prefix",
601
- "arg": "string",
602
- "description": "Prefix to use in all IDs."
603
- },
604
- {
605
- "opt": "--suffix",
606
- "arg": "string",
607
- "description": "Suffix to use in all IDs."
608
- },
609
- {
610
- "opt": "--defline",
611
- "description": "Keep the original defline after a space."
612
- },
613
- {
614
- "opt": "--list",
615
- "arg": "in_file",
616
- "description": "Reads a list of IDS."
617
- },
618
- {
619
- "opt": "--quiet",
620
- "description": "Run quietly (no STDERR output)."
621
- }
622
- ]
623
- },
624
- {
625
- "task": "FastA.per_file.pl",
626
- "description": ["Extracts all the sequences in a multi-FastA into",
627
- "multiple single-FastA files."],
628
- "see_also": "FastA.split.rb",
629
- "help_arg": "",
630
- "options": [
631
- {
632
- "arg": "out_dir",
633
- "mandatory": true,
634
- "description": "Output directory for the individual files."
635
- },
636
- {
637
- "arg": "in_file",
638
- "mandatory": true,
639
- "multiple_sep": " ",
640
- "description": "Input multi-FastA file(s)."
641
- }
642
- ]
643
- },
644
- {
645
- "task": "FastA.extract.rb",
646
- "description": ["Extracts a list of sequences and/or coordinates from",
647
- "multi-FastA files."],
648
- "help_arg": "--help",
649
- "options": [
650
- {
651
- "name": "Input file",
652
- "opt": "--in",
653
- "arg": "in_file",
654
- "mandatory": true,
655
- "description": "Input FastA file."
656
- },
657
- {
658
- "name": "Output file",
659
- "opt": "--out",
660
- "arg": "out_file",
661
- "mandatory": true,
662
- "description": "Output FastA file."
663
- },
664
- {
665
- "name": "Coordinates",
666
- "opt": "--coords",
667
- "arg": "string",
668
- "description": ["Comma-delimited list of coordinates (mandatory",
669
- "unless -C is passed).",
670
- "The format of the coordinates is SEQ:FROM..TO or SEQ:FROM~LEN:",
671
- "SEQ: Sequence ID, or * (asterisk) to extract range from all",
672
- "sequences",
673
- "FROM: Integer, position of the first base to include (can be",
674
- "negative)",
675
- "TO: Integer, last base to include (can be negative)",
676
- "LEN: Length of the range to extract."]
677
- },
678
- {
679
- "name": "Coordinates file",
680
- "opt": "--coords-file",
681
- "arg": "in_file",
682
- "description": ["File containing the coordinates, one per line.",
683
- "Each line must follow the format described for Coordinates."]
684
- },
685
- {
686
- "opt": "--quiet",
687
- "description": "Run quietly (no STDERR output)."
688
- }
689
- ]
690
- },
691
- {
692
- "task": "FastA.fragment.rb",
693
- "description": ["Simulates incomplete (fragmented) drafts from complete",
694
- "genomes."],
695
- "help_arg": "--help",
696
- "options": [
697
- {
698
- "name": "Input file",
699
- "opt": "--in",
700
- "arg": "in_file",
701
- "mandatory": true,
702
- "description": "FastA file containing the complete sequences."
703
- },
704
- {
705
- "name": "Output file",
706
- "opt": "--out",
707
- "arg": "out_file",
708
- "mandatory": true,
709
- "description": "FastA to create."
710
- },
711
- {
712
- "opt": "--completeness",
713
- "arg": "float",
714
- "mandatory": true,
715
- "description": ["Fraction of genome completeness to simulate from 0",
716
- "to 1."]
717
- },
718
- {
719
- "name": "Minimum length",
720
- "opt": "--minlen",
721
- "arg": "integer",
722
- "description": "Minimum fragment length to report.",
723
- "default": 500
724
- },
725
- {
726
- "opt": "--sorted",
727
- "description": ["Keep fragments sorted as in the input file. By",
728
- "default, fragments are shuffled."]
729
- },
730
- {
731
- "opt": "--quiet",
732
- "description": "Run quietly (no STDERR output)."
733
- }
734
- ]
735
- },
736
- {
737
- "task": "FastA.wrap.rb",
738
- "description": "Wraps sequences in a FastA to a given line length.",
739
- "help_arg": "--help",
740
- "options": [
741
- {
742
- "name": "Input FastA",
743
- "opt": "--in",
744
- "arg": "in_file",
745
- "mandatory": true,
746
- "description": "Input FastA file."
747
- },
748
- {
749
- "name": "Output FastA",
750
- "opt": "--out",
751
- "arg": "out_file",
752
- "mandatory": true,
753
- "description": "Output FastA file."
754
- },
755
- {
756
- "name": "Wrap length",
757
- "opt": "--wrap",
758
- "arg": "integer",
759
- "description": ["Line length to wrap sequences. Use 0 to generate",
760
- "1-line sequences."],
761
- "default": 70
762
- }
763
- ]
764
- }
765
- ]
766
- }