Thanks for all the help, Peter's and Hugo's methods worked well in
concatenating multiple lines into a single data structure!
S
On Fri, Feb 10, 2012 at 5:30 PM, Mark Lawrence wrote:
> On 10/02/2012 17:08, Peter Otten wrote:
>
>> Spyros Charonis wrote:
>>
>> Dear python community,
>>>
>>> I have
On 10/02/2012 17:08, Peter Otten wrote:
Spyros Charonis wrote:
Dear python community,
I have a file where I store sequences that each have a header. The
structure of the file is as such:
sp|(some code) =>1st header
AGGCGG
MNKPLOI
.
.
sp|(some code) => 2nd header
AA
Spyros Charonis wrote:
> Dear python community,
>
> I have a file where I store sequences that each have a header. The
> structure of the file is as such:
>
>>sp|(some code) =>1st header
> AGGCGG
> MNKPLOI
> .
> .
>
>>sp|(some code) => 2nd header
> AA
> ...
> .
>
>
On Fri, Feb 10, 2012 at 5:38 PM, Spyros Charonis wrote:
> Dear python community,
>
> I have a file where I store sequences that each have a header. The structure
> of the file is as such:
>
>>sp|(some code) =>1st header
> AGGCGG
> MNKPLOI
> .
> .
>
>>sp|(some code) => 2nd header
>
Dear python community,
I have a file where I store sequences that each have a header. The
structure of the file is as such:
>sp|(some code) =>1st header
AGGCGG
MNKPLOI
.
.
>sp|(some code) => 2nd header
AA
...
.
..
I am looking to implement a logical structure t