How to find first non-uppercase letter in the string using python
<p>I'm a python newbie but have programmed a while in other languages. I have a long string of DNA (lower case) and AA sequences (upper case). Further at the start of the file I have a protein name all in upper case. Thus my file looks like this.</p>

<p>PROTEINNAMEatcgatcg... JFENVKDFDFLK</p>

<p>I need to find the first non-uppercase letter in the string so I can then cut out the protein name. Thus, what I would want from the above is:</p>

<p>atcgatcg... JFENVKDFDFLK</p>

<p>I can do this with a loop but that seems like overkill and inefficient. Is there a simply python way to do it?</p>

<p>I can get all the uppercase letters using re.findall("[A-Z]",mystring) but then I would need to do a comparison to see where the result differs from the original string.</p>

<p>Thanks!</p>
