#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# AnnotatorDistanceCheck . setUp ( self ) #NEWLINE# outfile = open ( self . workspace , 'w' ) #NEWLINE# e = GTF . Entry ( ) #NEWLINE# ( e . contig , e . strand , e . gene_id , e . transcript_id ) = ( 'chr1' , '+' , 'gene1' , 'trans1' ) #NEWLINE# ( e . start , e . end ) = ( 0 , 1000 ) #NEWLINE# outfile . write ( ( str ( e ) + '\n' ) ) #NEWLINE# ( e . start , e . end ) = ( 3000 , 4000 ) #NEWLINE# outfile . write ( ( str ( e ) + '\n' ) ) #NEWLINE# ( e . contig , e . strand , e . gene_id , e . transcript_id ) = ( 'chr1' , '+' , 'gene2' , 'trans1' ) #NEWLINE# ( e . start , e . end ) = ( 10000 , 11000 ) #NEWLINE# outfile . write ( ( str ( e ) + '\n' ) ) #NEWLINE# ( e . start , e . end ) = ( 13000 , 14000 ) #NEWLINE# outfile . write ( ( str ( e ) + '\n' ) ) #NEWLINE# ( e . contig , e . strand , e . gene_id , e . transcript_id ) = ( 'chr1' , '-' , 'gene3' , 'trans1' ) #NEWLINE# ( e . start , e . end ) = ( 20000 , 21000 ) #NEWLINE# outfile . write ( ( str ( e ) + '\n' ) ) #NEWLINE# ( e . start , e . end ) = ( 23000 , 24000 ) #NEWLINE# outfile . write ( ( str ( e ) + '\n' ) ) #NEWLINE# outfile . close ( )