Skip to content

xinyue123-q/Python-based-polymer-unit-recognition-script-PURS-

Repository files navigation

1.Get polymer-unit.py, polymer-unit-classify. py, structure-identity-tool.py and the input file (test.csv) are placed in the same folder.
2.Run get-polymer-unit. py to get the output file as follows (python get-polymer-unit.py):
 1)ring_total_list.csv :Polymer-units identified from test.csv.
 2)one_hot.csv:One-hot fingerprint for the input file generated by ring_total_list.
 3)number.csv:PUFp for input files generated by ring_total_list (see paper for details).
 4)adjacent_matrix.csv:Adjacency matrix.
 5)node_matrix.csv:Node matrix.
 6)index_data.csv:Polymer-units number for each data.
3.The output file obtained by running polymer-unit-classify. py is as follows(python polymer-unit-classify.py):
 1)ring_df.csv :Record the classification label of each polymer-units.
 2)type_frame.csv:Record the polymer-units type contained in each data.

About

PURS provides the following functions: 1. Polymer-units in a series of SMILES are identified. 2. Establish a database based on polymer-units of input data. 3. Classify the polymer-Unit in the database and provide the structure file of polymer-Unit. 4. Generate polymer-unit molecular fingerprints that can be used for machine learning eigenvalues.

Resources

License

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages