<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.python.bio.general">
    <title>gmane.comp.python.bio.general</title>
    <link>http://permalink.gmane.org/gmane.comp.python.bio.general</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.bio.general/7035"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.bio.general/7034"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.bio.general/7033"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.bio.general/7032"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.bio.general/7031"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.bio.general/7030"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.bio.general/7029"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.bio.general/7028"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.bio.general/7027"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.bio.general/7026"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.bio.general/7025"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.bio.general/7024"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.bio.general/7023"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.bio.general/7022"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.bio.general/7021"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.bio.general/7020"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.bio.general/7019"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.bio.general/7018"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.bio.general/7017"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.bio.general/7016"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.bio.general/7035">
    <title>Re: [Biopython] Legacy blast XML parser returns prematurelyStopIteration</title>
    <link>http://permalink.gmane.org/gmane.comp.python.bio.general/7035</link>
    <description>&lt;pre&gt;On Wed, May 16, 2012 at 10:32 AM, Martin Mokrejs
&amp;lt;mmokrejs&amp;lt; at &amp;gt;fold.natur.cuni.cz&amp;gt; wrote:

Could you file a bug here and attach the complete XML test case please?
http://redmine.open-bio.org/projects/biopython

Our XML parser should handle both NCBI  'legacy' BLAST and BLAST+

Thanks,

Peter

_______________________________________________
Biopython mailing list  -  Biopython&amp;lt; at &amp;gt;lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/biopython

&lt;/pre&gt;</description>
    <dc:creator>Peter Cock</dc:creator>
    <dc:date>2012-05-16T09:48:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.bio.general/7034">
    <title>[Biopython] Legacy blast XML parser returns prematurelyStopIteration</title>
    <link>http://permalink.gmane.org/gmane.comp.python.bio.general/7034</link>
    <description>&lt;pre&gt;Hi,
  I am parsing some blast 2.2.24 XML output and the last record I get is the one from
iteration 124. I see that entry is followed by a new &amp;lt;Iteration_iter-num&amp;gt; section which
is probably the culprit. I will try newer legacy blast but still, biopython could maybe
overcome this bug in XML input?



blastall -p blastn -A 4 -i SRR068315.fasta -d my_targets.fasta -F 0 -S 1 -r 2 -e 10e-30 -m 7

&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;!DOCTYPE BlastOutput PUBLIC "-//NCBI//NCBI BlastOutput/EN" "http://www.ncbi.nlm.nih.gov/dtd/NCBI_BlastOutput.dtd"&amp;gt;
&amp;lt;BlastOutput&amp;gt;
  &amp;lt;BlastOutput_program&amp;gt;blastn&amp;lt;/BlastOutput_program&amp;gt;
  &amp;lt;BlastOutput_version&amp;gt;blastn 2.2.24 [Aug-08-2010]&amp;lt;/BlastOutput_version&amp;gt;
  &amp;lt;BlastOutput_reference&amp;gt;~Reference: Altschul, Stephen F., Thomas L. Madden, Alejandro A. Schaffer, ~Jinghui Zhang, Zheng Zhang, Webb Miller, and David J. Lipman (1997), ~&amp;amp;quot;Gapped BLAST and PSI-BLAST: a new generation of protein database search~programs&amp;amp;quot;,  Nucleic Acids Res. 25:3389-3402.&amp;lt;/BlastOutput_reference&amp;gt;
  &amp;lt;BlastOutput_db&amp;gt;my_targets&lt;/pre&gt;</description>
    <dc:creator>Martin Mokrejs</dc:creator>
    <dc:date>2012-05-16T09:32:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.bio.general/7033">
    <title>Re: [Biopython] parsing genbank file</title>
    <link>http://permalink.gmane.org/gmane.comp.python.bio.general/7033</link>
    <description>&lt;pre&gt;You might try looking for sequences here

ftp://ftp.ncbi.nlm.nih.gov/genomes/Bacteria/Deinococcus_radiodurans_R1_uid57665/

David

-----Original Message-----
From: biopython-bounces&amp;lt; at &amp;gt;lists.open-bio.org [mailto:biopython-bounces&amp;lt; at &amp;gt;lists.open-bio.org] On Behalf Of Peter Cock
Sent: Monday, May 14, 2012 9:49 AM
To: Anubrata Das
Cc: biopython&amp;lt; at &amp;gt;lists.open-bio.org
Subject: Re: [Biopython] parsing genbank file

On Mon, May 14, 2012 at 1:03 PM, Anubrata Das &amp;lt;anubratadas&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:

Probably your GenBank file only contains one record (for the
whole of chr1). You could use Bio.SeqIO.read(...) in this case:

from Bio import SeqIO
record = SeqIO.parse(r"C:\Dr1.gb","genbank")
print record.id
print len(record.features)

Peter
_______________________________________________
Biopython mailing list  -  Biopython&amp;lt; at &amp;gt;lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/biopython


_______________________________________________
Biopython mailing list  -  Biopython&amp;lt; at &amp;gt;lists.open-bio.org
http://lists.open-bio.org/mailman/li&lt;/pre&gt;</description>
    <dc:creator>Lapointe, David</dc:creator>
    <dc:date>2012-05-14T14:00:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.bio.general/7032">
    <title>Re: [Biopython] parsing genbank file</title>
    <link>http://permalink.gmane.org/gmane.comp.python.bio.general/7032</link>
    <description>&lt;pre&gt;
Probably your GenBank file only contains one record (for the
whole of chr1). You could use Bio.SeqIO.read(...) in this case:

from Bio import SeqIO
record = SeqIO.parse(r"C:\Dr1.gb","genbank")
print record.id
print len(record.features)

Peter
_______________________________________________
Biopython mailing list  -  Biopython&amp;lt; at &amp;gt;lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/biopython

&lt;/pre&gt;</description>
    <dc:creator>Peter Cock</dc:creator>
    <dc:date>2012-05-14T13:48:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.bio.general/7031">
    <title>[Biopython] parsing genbank file</title>
    <link>http://permalink.gmane.org/gmane.comp.python.bio.general/7031</link>
    <description>&lt;pre&gt;i am new to biopython. i wanted to parse through individual records
from the genbank file of deinococcus radiodurans chromosome 1
sequence.for e.g i wanted the list of identifiers for each record
['NC_001263.1']
but i would get only one master entry. then if i wanted to parse thru
individual records
SeqRecord(seq=UnknownSeq(2648638, alphabet = IUPACAmbiguousDNA(),
character = 'N'), id='NC_001263.1', name='NC_001263',
description='Deinococcus radiodurans R1 chromosome 1, complete
sequence.', dbxrefs=['Project:57665'])

Traceback (most recent call last):
  File "&amp;lt;pyshell#25&amp;gt;", line 1, in &amp;lt;module&amp;gt;
   record.next()
StopIteration
i get this output.
please tell me the correct method
regards
&lt;/pre&gt;</description>
    <dc:creator>Anubrata Das</dc:creator>
    <dc:date>2012-05-14T12:03:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.bio.general/7030">
    <title>Re: [Biopython] .ent versus .pdb files?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.bio.general/7030</link>
    <description>&lt;pre&gt;Hi Mark,

Nope, not at all.

Cheers,

João
No dia 13 de Mai de 2012 08:55, "Mark Livingstone" &amp;lt;
livingstonemark&amp;lt; at &amp;gt;gmail.com&amp;gt; escreveu:


_______________________________________________
Biopython mailing list  -  Biopython&amp;lt; at &amp;gt;lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/biopython
&lt;/pre&gt;</description>
    <dc:creator>João Rodrigues</dc:creator>
    <dc:date>2012-05-13T09:16:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.bio.general/7029">
    <title>[Biopython] .ent versus .pdb files?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.bio.general/7029</link>
    <description>&lt;pre&gt;Hi Guys,

I have a bunch of files which appear to be pdb file-like but have the
.ent file extension. Is there any difference of significance to
Bio.PDB?

Thanks in advance,

MarkL
_______________________________________________
Biopython mailing list  -  Biopython&amp;lt; at &amp;gt;lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/biopython

&lt;/pre&gt;</description>
    <dc:creator>Mark Livingstone</dc:creator>
    <dc:date>2012-05-13T06:54:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.bio.general/7028">
    <title>[Biopython] Superposition</title>
    <link>http://permalink.gmane.org/gmane.comp.python.bio.general/7028</link>
    <description>&lt;pre&gt;Hi Guys,

Thanks to Andrew and others for help in my previous message. I have
gone through various incarnations of my code, and suddenly found this
simple code works for the small test I have done.

I am using the datafiles from:

Kellogg, E. H., Leaver-Fay, A., &amp;amp; Baker, D. (2011). Role of
conformational sampling in computing mutation-induced changes in
protein structure and stability. Proteins, 79(3), 830–838.
doi:10.1002/prot.22921

These files have been modified so that there are matched PDBs which
vary only by one mutated residue, and I am trying to  carbon alpha
superimpose the PDB which is the Mutanttype over the Wildtype and save
to a PDB - which I seem to have fluked how to do. I am still working
on the code for directory traversal so I have not tried it on the
hundreds of matched PDBs yet.

Is there anything in this code which is going to bite me? How can I improve it?

------------------------------------------------------------------------------------
#!/usr/bin/env python

# Wildtype (wt) = ref&lt;/pre&gt;</description>
    <dc:creator>Mark Livingstone</dc:creator>
    <dc:date>2012-05-12T02:06:07</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.bio.general/7027">
    <title>Re: [Biopython] Fwd: BlastParsing gives Value Error: Invalid header?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.bio.general/7027</link>
    <description>&lt;pre&gt;Hi Peter,

Peter Cock wrote:

No, not yet.


Yes, "blastall -p blastn ...", the default plaintext pairwise output (-m 0),
version 2.2.24.


Its great that we have GSoC students, would I have some spare time I would mentor
one. Good luck and thanks for your care, Peter!
Martin

_______________________________________________
Biopython mailing list  -  Biopython&amp;lt; at &amp;gt;lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/biopython

&lt;/pre&gt;</description>
    <dc:creator>Martin Mokrejs</dc:creator>
    <dc:date>2012-05-09T18:48:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.bio.general/7026">
    <title>Re: [Biopython] Fwd: BlastParsing gives Value Error: Invalid header?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.bio.general/7026</link>
    <description>&lt;pre&gt;On Wed, May 9, 2012 at 7:01 PM, Martin Mokrejs
&amp;lt;mmokrejs&amp;lt; at &amp;gt;fold.natur.cuni.cz&amp;gt; wrote:

Have you contacted the NCBI about this possible regression?


Could you clarify if you are talking about documentation for calling
the 'legacy'
BLAST command line tools (e.g. blastall), or documentation for parsing the
plain text human readable output (which still exists in BLAST+)?

On a related point, Bow's just done a bit of work updating our plain
text parser to
cope with BLAST+ (specifically changes in BLAST 2.2.25+ and/or 2.2.26+).

One of the aims of Bow's GSoC project will make dealing with the different
BLAST formats a lot simpler.

Peter

_______________________________________________
Biopython mailing list  -  Biopython&amp;lt; at &amp;gt;lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/biopython

&lt;/pre&gt;</description>
    <dc:creator>Peter Cock</dc:creator>
    <dc:date>2012-05-09T18:25:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.bio.general/7025">
    <title>Re: [Biopython] Fwd: BlastParsing gives Value Error: Invalid header?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.bio.general/7025</link>
    <description>&lt;pre&gt;Hi Brad,
  I just got bitten by this myself as well. Could be the legacy blast parser
improved to give clearer error message? E.g. that it failed to find the LOCUS
line or whatever was it looking for? With the legacy BLAST documentation being
gone from current Tutorial it is easy to pick the wrong parser. ;)
  And BTW, please do not drop support for legacy BLAST. I just cannot make BLAST+
give me same alignment, no matter what arguments I use to adjust for the (it gives me
wider alignment than wanted and I can make it a look shorter, but shortening it just
a bit like legacy BLAST output .. is not doable).
  And, took me a while to find old biopython-1.52.tar.gz to lookup the old docs.
Could there be a hyperlink from Tutorial to these unpacked, browseable sources? ;)
I am speaking about http://biopython.org/DIST/docs/tutorial/Tutorial.html#htoc85 .
Thanks,
Martin
  

Brad Chapman wrote:
_______________________________________________
Biopython mailing list  -  Biopython&amp;lt; at &amp;gt;lists.open-bio.org
http://lists.open-bi&lt;/pre&gt;</description>
    <dc:creator>Martin Mokrejs</dc:creator>
    <dc:date>2012-05-09T18:01:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.bio.general/7024">
    <title>[Biopython] GSoC Project Update -- 1</title>
    <link>http://permalink.gmane.org/gmane.comp.python.bio.general/7024</link>
    <description>&lt;pre&gt;Hi everyone,

I just posted my latest blog updated here:
http://bow.web.id/blog/2012/05/warming-up-for-the-coding-period/

To summarize, I've spent most of my time getting to know the programs
I will support better. This has been done by:

1. Playing around with the programs to see how many different outputs
I can generate.
2. Writing scripts to automate test case generation for each of the programs.
3. Writing wrappers (for programs not yet wrapped by Biopython: FASTA,
HMMER, and BLAT) to ease writing the test case generators.
4. Continuing to complete my proposed SearchIO object naming scheme
(http://bit.ly/searchio-terms)

The test cases, their generators, and the wrappers I've written are
available in my non-Biopython gsoc repo here:
http://github.com/bow/gsoc/. Additionally, I've used the generated
test case to improve a recent bug report and submitted a fix for the
next release.

For the coming weeks prior to coding start, I'm planning to play
around more with XML and SQLite as I will use them in the c&lt;/pre&gt;</description>
    <dc:creator>Wibowo Arindrarto</dc:creator>
    <dc:date>2012-05-09T16:24:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.bio.general/7023">
    <title>Re: [Biopython] PDBParser-chain breaks</title>
    <link>http://permalink.gmane.org/gmane.comp.python.bio.general/7023</link>
    <description>&lt;pre&gt;Oh, there's a caveat to the warnings module -- if a given warning isn't
captured this way the first time, it's never issued again. So, parsing 3BEG
once normally, and again with the setup I gave, won't trigger the warning
again and therefore won't raise an error.

On Wed, May 9, 2012 at 1:39 AM, João Rodrigues &amp;lt;anaryin&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:


_______________________________________________
Biopython mailing list  -  Biopython&amp;lt; at &amp;gt;lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/biopython

&lt;/pre&gt;</description>
    <dc:creator>Eric Talevich</dc:creator>
    <dc:date>2012-05-09T14:31:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.bio.general/7022">
    <title>Re: [Biopython] PDBParser-chain breaks</title>
    <link>http://permalink.gmane.org/gmane.comp.python.bio.general/7022</link>
    <description>&lt;pre&gt;For some reason however, I didn't get the discontinuous error .. That's why
I proposed this alternative.

João [...] Rodrigues
http://nmr.chem.uu.nl/~joao



2012/5/9 Eric Talevich &amp;lt;eric.talevich&amp;lt; at &amp;gt;gmail.com&amp;gt;


_______________________________________________
Biopython mailing list  -  Biopython&amp;lt; at &amp;gt;lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/biopython
&lt;/pre&gt;</description>
    <dc:creator>João Rodrigues</dc:creator>
    <dc:date>2012-05-09T05:39:40</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.bio.general/7021">
    <title>Re: [Biopython] PDBParser-chain breaks</title>
    <link>http://permalink.gmane.org/gmane.comp.python.bio.general/7021</link>
    <description>&lt;pre&gt;The warnings module also lets you convert any warning to an error (or
ignore it, etc.). Use a regular expression to match the warning message:

from Bio import PDB
import warnings
warnings.filterwarnings('error', message='.*discontinuous at.*')
p = PDB.PDBParser()
s = p.get_structure("", "3BEG.pdb")


On Tue, May 8, 2012 at 3:39 PM, João Rodrigues &amp;lt;anaryin&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:


_______________________________________________
Biopython mailing list  -  Biopython&amp;lt; at &amp;gt;lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/biopython

&lt;/pre&gt;</description>
    <dc:creator>Eric Talevich</dc:creator>
    <dc:date>2012-05-09T01:59:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.bio.general/7020">
    <title>Re: [Biopython] PDBParser-chain breaks</title>
    <link>http://permalink.gmane.org/gmane.comp.python.bio.general/7020</link>
    <description>&lt;pre&gt;Of course. Since they throw a warning just make sure to count the warnings,
parse the chain break ones, and if they are more than 0, you have chain
breaks.

Cheers,

João [...] Rodrigues
http://nmr.chem.uu.nl/~joao



2012/5/8 George Devaniranjan &amp;lt;devaniranjan&amp;lt; at &amp;gt;gmail.com&amp;gt;


_______________________________________________
Biopython mailing list  -  Biopython&amp;lt; at &amp;gt;lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/biopython
&lt;/pre&gt;</description>
    <dc:creator>João Rodrigues</dc:creator>
    <dc:date>2012-05-08T19:39:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.bio.general/7019">
    <title>Re: [Biopython] PDBParser-chain breaks</title>
    <link>http://permalink.gmane.org/gmane.comp.python.bio.general/7019</link>
    <description>&lt;pre&gt;Hi João,

Is there a way though to find PDB's with chain breaks? using biopython?

Thank you,
George

On Tue, May 8, 2012 at 3:34 PM, João Rodrigues &amp;lt;anaryin&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:


_______________________________________________
Biopython mailing list  -  Biopython&amp;lt; at &amp;gt;lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/biopython

&lt;/pre&gt;</description>
    <dc:creator>George Devaniranjan</dc:creator>
    <dc:date>2012-05-08T19:37:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.bio.general/7018">
    <title>Re: [Biopython] PDBParser-chain breaks</title>
    <link>http://permalink.gmane.org/gmane.comp.python.bio.general/7018</link>
    <description>&lt;pre&gt;Hi George,

Chain breaks are pretty "harmless" and usually do not represent a faulty
PDB file. The PERMISSIVE flag is for "features" like missing b-factors.

Cheers,

João [...] Rodrigues
http://nmr.chem.uu.nl/~joao



2012/5/8 George Devaniranjan &amp;lt;devaniranjan&amp;lt; at &amp;gt;gmail.com&amp;gt;


_______________________________________________
Biopython mailing list  -  Biopython&amp;lt; at &amp;gt;lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/biopython
&lt;/pre&gt;</description>
    <dc:creator>João Rodrigues</dc:creator>
    <dc:date>2012-05-08T19:34:26</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.bio.general/7017">
    <title>[Biopython] PDBParser-chain breaks</title>
    <link>http://permalink.gmane.org/gmane.comp.python.bio.general/7017</link>
    <description>&lt;pre&gt;Hi,

I thought using PERMISSIVE=0 would raise an exception if I pass a PDB with
chain breaks.
However, nothing like that seems to happen.....

For instance

P=PDBParser(PERMISSIVE=0)
structure=P.get_structure('test', '7ODC.pdb')


7ODC has 3 chain breaks but it does not raise an exception.

Thank you
George
_______________________________________________
Biopython mailing list  -  Biopython&amp;lt; at &amp;gt;lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/biopython

&lt;/pre&gt;</description>
    <dc:creator>George Devaniranjan</dc:creator>
    <dc:date>2012-05-08T19:12:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.bio.general/7016">
    <title>Re: [Biopython] PDBParser</title>
    <link>http://permalink.gmane.org/gmane.comp.python.bio.general/7016</link>
    <description>&lt;pre&gt;Thank you everyone,

I just need the coordinates of certain fragments from PDB files and this
works for me.
I was trying to use the PDBParser only, but thank you for pointing out
PDBIO to me.

Thank you,
George

On Tue, May 8, 2012 at 4:16 AM, João Rodrigues &amp;lt;anaryin&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:


_______________________________________________
Biopython mailing list  -  Biopython&amp;lt; at &amp;gt;lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/biopython

&lt;/pre&gt;</description>
    <dc:creator>George Devaniranjan</dc:creator>
    <dc:date>2012-05-08T12:44:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.bio.general/7015">
    <title>Re: [Biopython] PDBParser</title>
    <link>http://permalink.gmane.org/gmane.comp.python.bio.general/7015</link>
    <description>&lt;pre&gt;Hello George,

You want to write only a part of the PDB file? What do you mean by 'all the
info'? If it is header information as well, then this is not possible, but
coordinates it is. You can do it in two ways:

1. Delete all residues/chains/models that are not part of your region of
interest and then write the structure with PDBIO.

2. Use the 'Select' class from PDBIO.py and trim the region of interest.
For example, for residues 1-10 you could do something like this:

from Bio.PDB import PDBIO
from Bio.PDB import Select

class ResidueFilter(Select):
    def accept_residue(self, residue):
        if residue.id[1] in range(1,11):
            return 1

P = PDBParser()
s = P.get_structure('dummy', 'foo.pdb')

io = PDBIO()

io.set_structure(s)
io.save('foo_1-10.pdb', ResidueFilter())


Check the FAQ for a more detailed explanation:

http://biopython.org/DIST/docs/cookbook/biopdb_faq.pdf

Cheers,

João [...] Rodrigues
http://nmr.chem.uu.nl/~joao



2012/5/8 George Devaniranjan &amp;lt;devaniranjan&amp;lt; at &amp;gt;gmail.com&amp;gt;


______&lt;/pre&gt;</description>
    <dc:creator>João Rodrigues</dc:creator>
    <dc:date>2012-05-08T08:16:44</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.python.bio.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.python.bio.general</link>
  </textinput>
</rdf:RDF>

