code: def bedInterval(self, who):
          "return a BED6 entry, thus DOES coordinate conversion for minus strands"
  
          if who == 't':
              st, en = self.tStart, self.tEnd
              if self.tStrand == '-':
                  st, en = self.tSize-en, self.tSize-st
              return (self.tName, st, en, self.id, self.score, self.tStrand)
          else:
              st, en = self.qStart, self.qEnd
              if self.qStrand == '-':
                  st, en = self.qSize-en, self.qSize-st
                  assert en-st == self.qEnd - self.qStart
              return (self.qName, st, en, self.id, self.score, self.qStrandf bedInterval(self, who):
          "return a BED6 entry, thus DOES coordinate conversion for minus strands"
  
          if who == 't':
              st, en = self.tStart, self.tEnd
              if self.tStrand == '-':
                  st, en = self.tSize-en, self.tSize-st
              return (self.tName, st, en, self.id, self.score, self.tStrand)
          else:
              st, en = self.qStart, self.qEnd
              if self.qStrand == '-':
                  st, en = self.qSize-en, self.qSize-st
                  assert en-st == self.qEnd - self.qStart
              return (self.qName, st, en, self.id, self.score, self.qStrand)
docs: return a BED6 entry, thus DOES coordinate conversion for minus strands