RumimiR_smallRNAs.py

Python programme pour petits ARNs - Céline BOURDON, 06/07/2020 10:44

Télécharger (412 octets)

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

    
5

    
6
for lines in open("Nveaux_miRs.txt", "r"):
7
        nommiR=lines.strip().split()[1]
8
        seqmiR=lines.strip().split()[0]
9
        for lines in open("Ts_smallRNAs.txt", "r"):
10
                seqsmallRNA=lines.strip().split()[1]
11
                nomsmall=lines.strip().split()[2]
12
                if seqmiR in seqsmallRNA:
13
                        print (nommiR, seqmiR, nomsmall)
14
input("Fin")