def run(self): self.getTranscriptDict() valueDict = {aId: seq_lib.convert_strand(self.transcriptDict[aId].strand) for aId in self.transcriptDict} self.dumpValueDict(valueDict)
def run(self): self.getAnnotationDict() self.getAlignmentDict() valueDict = {aId: seq_lib.convert_strand(self.annotationDict[psl_lib.remove_alignment_number(aId)].strand) for aId in self.alignmentDict} self.dumpValueDict(valueDict)