# Protein PDB/CIF text file reader that can fold a same section into one line

Is there a software that can recognise the protein PDB/CIF files, and fold multiple lines of a same section into one line, so that it is easier to handle? I need to understand the format in CIF so as to create my own CIF file.

For example, when Notepad++ is used to read a .py file, it can fold the same section into one line.

So for a PDB/CIF file, e.g. all the atom lines for a same chain can be folded into one line, and I can expand it if needed.

Like this picture, assuming "This PC" is the whole protein, while the other objects are the different chains.

• You could try opening the PDBXML version of the file in an XML viewer that lets you collapse sections. – jgreener Apr 29 '20 at 9:48
• Thank you, the PDBXML file is 10 times the size of a CIF file. The 5TX1 has 100 MB. Can you recommend a software that is good for PDBXML? – lanselibai Apr 30 '20 at 3:09