Exemplo n.º 1
0
    def test_merge_tfo(self):
        txp = RNADNAInteractionSet(organism="hg19", filename=sample_txp)
        txp.merge_tfo()

        print(map(len, txp.merged.values()))
Exemplo n.º 2
0
 def test_filter_tts(self):
     txp = RNADNAInteractionSet(organism="hg19", filename=sample_txp)
     g = GenomicRegionSet("g")
     s = GenomicRegion(chrom="chr2", initial=74000000, final=75000000)
     g.add(s)
     result = txp.count_tts(g)
Exemplo n.º 3
0
 def test_unique_tfo(self):
     txp = RNADNAInteractionSet(organism="hg19", filename=sample_txp)
     txp.unique_tfo()
Exemplo n.º 4
0
 def test_filter_tfo(self):
     txp = RNADNAInteractionSet(organism="hg19", filename=sample_txp)
     txp.filter_tfo(start=500, end=1000, output=False, adverse=True)
Exemplo n.º 5
0
 def test_count_tfo(self):
     txp = RNADNAInteractionSet(organism="hg19", filename=sample_txp)
Exemplo n.º 6
0
    def test_read_txp(self):
        txp = RNADNAInteractionSet(organism="hg19", filename=sample_txp)

        a = len(txp)
        b = txp[3]
Exemplo n.º 7
0
 def test_sort_tts(self):
     txp = RNADNAInteractionSet(organism="hg19", filename=sample_txp)
     txp.sort_tts()
Exemplo n.º 8
0
    def test_merge_tfo(self):
    	txp = RNADNAInteractionSet(organism="hg19", filename=sample_txp)
    	txp.merge_tfo()

    	print(map(len, txp.merged.values()))
Exemplo n.º 9
0
 def test_unique_tfo(self):
 	txp = RNADNAInteractionSet(organism="hg19", filename=sample_txp)
 	txp.unique_tfo()
Exemplo n.º 10
0
 def test_filter_tts(self):
 	txp = RNADNAInteractionSet(organism="hg19", filename=sample_txp)
 	g = GenomicRegionSet("g")
 	s = GenomicRegion(chrom="chr2", initial=74000000, final=75000000)
 	g.add(s)
 	result = txp.count_tts(g)
Exemplo n.º 11
0
 def test_filter_tfo(self):
 	txp = RNADNAInteractionSet(organism="hg19", filename=sample_txp)
 	txp.filter_tfo(start=500,end=1000, output=False, adverse=True)
Exemplo n.º 12
0
 def test_sort_tts(self):
     txp = RNADNAInteractionSet(organism="hg19", filename=sample_txp)
 	txp.sort_tts()