RumimiR_hsammu.py

Python programme pour microARNs humains et murins - Céline BOURDON, 06/07/2020 10:44

Télécharger (492 octets)

 
1
# Programme RumimiRhsammu
2
#!/usr/local/bioinfo/src/python/current/python
3
# -*- coding: utf-8 -*-
4

    
5
for lines in open("Nveaux_miRs.txt", "r"):
6
    nommiR=lines.strip().split()[1]
7
    seqmiR=lines.strip().split()[0]
8
    for lines in open("Ts_hsammu.txt", "r"):
9
        nomhsammu=lines.strip().split()[0]
10
        seqhsammu=lines.strip().split()[1]
11
        
12
        if seqhsammu in seqmiR or seqmiR in seqhsammu:
13
            print (nommiR, seqmiR, nomhsammu, seqhsammu)
14
input("Fin")