vendredi 31 janvier 2020

How to filter the specific entries within a with a specific pattern over certain value?

I have a data file containing the following information: I am interested to retrieve only the entries where the pattern

len:XXXX is greater than 200

TY_DN106_c0_g2::TY_DN106_c0_g2_i1::g.1::m.1 type:internal len:123 gc:universal TY_DN106_c0_g2_i1:1-366(+) TY_DN106_c0_g2::TY_DN106_c0_g2_i1::g.2::m.2 type:internal len:213 gc:universal TY_DN106_c0_g2_i1:366-1(-) TY_DN108_c0_g1::TY_DN108_c0_g1_i1::g.3::m.3 type:5partial len:513 gc:universal TY_DN108_c0_g1_i1:3-341(+)

How could I do it in Python or other scripting language??

Aucun commentaire:

Enregistrer un commentaire