Method: Bio::Alignment::FactoryTemplate::Simple#query
- Defined in:
- lib/bio/alignment.rb
#query(seqs) ⇒ Object
Executes the program. If seqs is not nil, perform alignment for seqs. If seqs is nil, simply executes the program.
Compatibility note: When seqs is nil, returns true if the program exits normally, and returns false if the program exits abnormally.
2271 2272 2273 2274 2275 2276 2277 2278 |
# File 'lib/bio/alignment.rb', line 2271 def query(seqs) if seqs then query_alignment(seqs) else exec_local(@options) @exit_status.exitstatus == 0 ? true : false end end |