Re: [Tutor] large file

2010-06-14 Thread Eduardo Vieira
> Thanks for this thread. This is very helful. I'm learning a lot from you > guys. :) > > - > [url=http://crosspromotion.wizard4u.com/]joint ventures[/url] > > -- > View this message in context: > http://old.nabble.com/-Tutor--large-file-tp28874185p28878191.html > Sent from the Python - tutor

Re: [Tutor] large file

2010-06-14 Thread cristeto1981
Alan Gauld wrote: > > > "Hs Hs" wrote > >> I have a very large file 15Gb. > >> Every two lines are part of one readgroup. >> I want to add two variables to every line. > >> HWUSI-EAS1211_0001:1:1:977:20764#0 RG:Z:2301 >> HWUSI-EAS1211_0001:1:1:977:20764#0RG:Z:2302 >> ... >> Since I c

Re: [Tutor] large file

2010-06-13 Thread Steven D'Aprano
On Mon, 14 Jun 2010 07:45:45 am Hs Hs wrote: > hi: > > I have a very large file 15Gb. Starting from 15th line this file > shows the following lines: > > HWUSI-EAS1211_0001:1:1:977:20764#0 > HWUSI-EAS1211_0001:1:1:977:20764#0 > HWUSI-EAS1521_0001:1:1:978:13435#0 > HWUSI-EAS1521_0001:1:1:978:13435#0

Re: [Tutor] large file

2010-06-13 Thread Alan Gauld
"Hs Hs" wrote I have a very large file 15Gb. Every two lines are part of one readgroup. I want to add two variables to every line. HWUSI-EAS1211_0001:1:1:977:20764#0 RG:Z:2301 HWUSI-EAS1211_0001:1:1:977:20764#0RG:Z:2302 ... Since I cannot read the entire file, I wanted to cat the f

Re: [Tutor] large file

2010-06-13 Thread bob gailer
On 6/13/2010 5:45 PM, Hs Hs wrote: hi: I have a very large file 15Gb. Starting from 15th line this file shows the following lines: HWUSI-EAS1211_0001:1:1:977:20764#0 HWUSI-EAS1211_0001:1:1:977:20764#0 HWUSI-EAS1521_0001:1:1:978:13435#0 HWUSI-EAS1521_0001:1:1:978:13435#0 Every two lines a