Пример #1
0
    def test_merge_tfo(self):
        txp = RNADNAInteractionSet(organism="hg19", filename=sample_txp)
        txp.merge_tfo()

        print(map(len, txp.merged.values()))
Пример #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)
Пример #3
0
 def test_unique_tfo(self):
     txp = RNADNAInteractionSet(organism="hg19", filename=sample_txp)
     txp.unique_tfo()
Пример #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)
Пример #5
0
 def test_count_tfo(self):
     txp = RNADNAInteractionSet(organism="hg19", filename=sample_txp)
Пример #6
0
    def test_read_txp(self):
        txp = RNADNAInteractionSet(organism="hg19", filename=sample_txp)

        a = len(txp)
        b = txp[3]
Пример #7
0
 def test_sort_tts(self):
     txp = RNADNAInteractionSet(organism="hg19", filename=sample_txp)
     txp.sort_tts()
Пример #8
0
    def test_merge_tfo(self):
    	txp = RNADNAInteractionSet(organism="hg19", filename=sample_txp)
    	txp.merge_tfo()

    	print(map(len, txp.merged.values()))
Пример #9
0
 def test_unique_tfo(self):
 	txp = RNADNAInteractionSet(organism="hg19", filename=sample_txp)
 	txp.unique_tfo()
Пример #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)
Пример #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)
Пример #12
0
 def test_sort_tts(self):
     txp = RNADNAInteractionSet(organism="hg19", filename=sample_txp)
 	txp.sort_tts()