Module: BioDSL::AuxHelper
- Included in:
- AlignSeqMothur, AssembleSeqIdba, AssembleSeqRay, AssembleSeqSpades, ClassifySeqMothur, ClusterOtus, FilterRrna, Genecall, PlotHeatmap, PlotHistogram, PlotMatches, PlotResidueDistribution, PlotScores, UchimeRef, Uclust, UsearchGlobal, UsearchLocal, WriteTree
- Defined in:
- lib/BioDSL/helpers/aux_helper.rb
Overview
Namespace for AuxHelper.
Instance Method Summary collapse
-
#aux_exist(command) ⇒ Object
Method that raises if the given command is not found on the system.
Instance Method Details
#aux_exist(command) ⇒ Object
Method that raises if the given command is not found on the system.
39 40 41 42 |
# File 'lib/BioDSL/helpers/aux_helper.rb', line 39 def aux_exist(command) return if BioDSL::Filesys.which(command) fail AuxiliaryError, "command: #{command} not found" end |