You don't even need per perl. Just do:
grep -v 'no hits' output.txt
____________________________________________
Chris Morris
chris.morris from stfc.ac.uk
Tel: +44 1925 603689 Fax: +44 1925 603825
Mobile: 07921-717915
http://pims.instruct-fp7.eu/
STFC, Daresbury Lab, Daresbury, Warrington, UK, WA4 4AD
> -----Original Message-----
> From: comp-bio-bounces from oat.bio.indiana.edu [mailto:comp-bio-
>bounces from oat.bio.indiana.edu] On Behalf Of kennerqq
> Sent: 28 September 2009 19:53
> To: comp-bio from magpie.bio.indiana.edu> Subject: [Computational-biology] Perl script in miRanda microRNA data
output
>> Hi all,
>> I used miRanda software to predict the microRNA target from 3'UTR.
It come
> up with a large file which includes those "hits" and "no hits" lines.
Since
> it is too big to handle, i want to remove the "no hits" lines. I heard
that
> using a simple Perl Script can easily get rid of "no hits" lines in
the
> document. Unfortunately, I do not know how to use it. Does anybody
have a
> clue?
>> Thanks a lot,
>> Ken
> _______________________________________________
> Comp-bio mailing list
>Comp-bio from net.bio.net>http://www.bio.net/biomail/listinfo/comp-bio--
Scanned by iCritical.