dosorio / Peptides

An R package to calculate indices and theoretical physicochemical properties of peptides and protein sequences.
80 stars 21 forks source link

generalized read and plot.xvg #10

Closed jspaezp closed 7 years ago

jspaezp commented 7 years ago

Hello, I attempted to modify the treatment of the .xvg files implementing

Let me know if those are found to be useful of if any modification should be done.

dosorio commented 7 years ago

Hi Juan, I am agree with the generalization of the x axis for the read.xvg function (I already made the change in the develop branch some days ago) All others changes are very useful! Thank you so much! However, I try to maintain the Peptides package without dependencies. Would you change the code to don't use plyr as a dependency?

jspaezp commented 7 years ago

Done In addition i was wondering whether it would be useful to add a statement that tests whether the provided file is actually an xvg file ... let me know if you have any insights about it. Best

dosorio commented 7 years ago

Thanks for the changes! They will be added in the next version of Peptides. About the XVG format standard, I know that GromacsWrapper implementation (Python based) has a full function to validate and read xvg files. You can check it at: http://pydoc.net/Python/GromacsWrapper/0.3.2/gromacs.fileformats.xvg/