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.
2265 2266 2267 2268 2269 2270 2271 2272 |
# File 'lib/bio/alignment.rb', line 2265 def query(seqs) if seqs then query_alignment(seqs) else exec_local() @exit_status.exitstatus == 0 ? true : false end end |