RumimiR_smallRNAs.py
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") |