Re: [Tutor] extract information from txtfile

2011-10-05 Thread Alan Gauld
On 04/10/11 21:00, Anna Olofsson wrote: The table looks something like this, but with many more columns and rows: # chr Pos ID REF ALT . . . . . . . . . . . 1 13645 - C T . . . . . I want to extract certain data from this table above and make it to a sentence looking something like this: chr1:

Re: [Tutor] extract information from txtfile

2011-10-05 Thread bob gailer
On 10/4/2011 4:00 PM, Anna Olofsson wrote: Hi, I'm a beginner at Python and I'm trying to extract some information from a textfile where I have a lot of data. The table looks something like this, but with many more columns and rows: # chr Pos ID REFALT . . . . . . .

[Tutor] extract information from txtfile

2011-10-04 Thread Anna Olofsson
Hi, I'm a beginner at Python and I'm trying to extract some information from a textfile where I have a lot of data. The table looks something like this, but with many more columns and rows: # chr Pos ID REFALT . . . . . . . . . . . 1 13645 -