File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1293,16 +1293,16 @@ def has_high_rna_content(chain, threshold=0.8):
1293
1293
remarks = []
1294
1294
remarks .append (f'REMARK rna chain { chain .id } -> { chain_id_new } ' )
1295
1295
1296
+ pdb_file = cif_file .replace ('.cif' , f'_{ chain_id } _n{ chain_id_new } _fCIF.pdb' )
1297
+ print (f'rna chain { chain .id } -> { chain_id_new } { pdb_file } # of atoms: { atom_count } ' )
1298
+
1296
1299
chain .id = chain_id_new
1297
1300
new_model .add (chain )
1298
1301
1299
- pdb_file = cif_file .replace ('.cif' , f'_{ chain_id } _n{ chain_id_new } _fCIF.pdb' )
1300
-
1301
1302
io = PDBIO ()
1302
1303
io .set_structure (new_structure )
1303
1304
1304
1305
io .save (pdb_file )
1305
- print (f'rna chain { chain .id } -> { chain_id_new } # of atoms: { atom_count } { pdb_file } ' )
1306
1306
# open a file add remarks
1307
1307
new_file = ''
1308
1308
with open (pdb_file , 'r' ) as f :
You can’t perform that action at this time.
0 commit comments