view utils/outconv.awk @ 18:e4d75f9efb90 draft

planemo upload commit b'4303231da9e48b2719b4429a29b72421d24310f4\n'-dirty
author nick
date Thu, 02 Feb 2017 18:44:31 -0500
parents af383638de66
children
line wrap: on
line source


substr($0, 1, 1) == ">" {
  header = $0
  split(header, fields1, ".")
  split(fields1[2], fields2)
  mate = fields2[1]
  if (mate == target) {
    print fields1[1]" "fields2[2]
  }
  next
}
{
  if (mate == target) {
    print
  }
}