Workflow: LSU-from-tablehits.cwl

Fetched 2020-04-08 16:31:52 GMT
children parents
Workflow as SVG
  • Selected
  • Default Values
  • Nested Workflows
  • Tools
  • Inputs/Outputs

Inputs

ID Type Title Doc
table_hits File output of infernal's cmsearch

Steps

ID Runs Label Doc
grep
pull-LSUs.cwl (CommandLineTool)
extract_lsu_coords
extract-coords-from-cmsearch.cwl (CommandLineTool)

The awk script takes the output of Infernal's cmsearch so-called fmt=1 mode and makes it suitable for use by esl-sfetch, a sequence selector

Reading the user's guide for Infernal, Version 1.1.2; July 2016 http://eddylab.org/infernal/Userguide.pdf#page=60 we see that the relevant fields in the cmsearch output are: (column number: explanation) 1: The name of the target sequence or profile 3: The name of the query sequence or profile 8: The start of the alignment of this hit with respect to the sequence, numbered 1..L for a sequence of L residues. 9: The end of the alignment of this hit with respect to the sequence, numbered 1..L for a sequence of L residues

Likewise the format esl-sfetch wants is: <newname> <from> <to> <source seqname>

Putting it all together we see that the newname (which esl-sfetch with output using) is a concatenation of the original name, the sequence number, and the coordinates.

Outputs

ID Type Label Doc
LSU_coordinates File
Permalink: https://w3id.org/cwl/view/git/4d2e0a49a7581fb2a73c60a6833e8cb97a282e55/tools/LSU-from-tablehits.cwl