I have debugged the error it is due giving the input
stings primer_record.primer_processed_seq
as 5'-AGGCTCTCCCAAAGGTCCCGCCAGCAG-3' I have to trim them
to AGGCTCTCCCAAAGGTCCCGCCAGCAG to satisfy the condition.Niphold thanks for
your suggestions :)

On Sun, Oct 28, 2012 at 3:40 PM, praveen krishna <[email protected]
> wrote:

> record.processed_seq  and record.reverse_seq are strings of length around
> 10,000 to 20,000
> and primer_record.primer_processed_seq is also string of length around 10
> to 20
> This function will extract all the substrings
> 'primer_record.primer_processed_seq' present in record.processed_seq
> and record.reverse_seq
>
> examples:
> primer_record.primer_processed_seq :
>  5'-AGGCTCTCCCAAAGGTCCCGCCAGCAG-3'
> record.processed_seq
> : 
> 5'-GCGCAACGCAATTAATGTGAGTTACCTCACTCATTAGGCACCCCAGGCTTTACACTTTATGCTTCCGGCTCCTATGTTG...........................................-3'
>
> On Sun, Oct 28, 2012 at 3:33 PM, Niphlod <[email protected]> wrote:
>
>> maybe a bit more details about the records you're trying to compare would
>> actually help.
>> Seems that you're trying to see if primer_record.primer_processed_seq is
>> in either record.processed_seq or record.reverse_seq.
>>
>> what are primer_record.primer_processed_seq , record.processed_seq and
>> record.reverse_seq ? (strings, integers, list, etc... ???)
>>
>>
>>
>>  --
>>
>>
>>
>>
>
>

-- 



Reply via email to