Skip to content

Script which extracts a number of columns from a text file while ignoring headers. Basically awk for those who can't use awk.

License

Notifications You must be signed in to change notification settings

Pappulab/colgrab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

colgrab

Script which extracts a single numerical columns from a text file while ignoring headers. Will convert numbers in scientific notation into floating point notation.

This is especially useful for pulling data out of CAMPARI or GROMACS output files for further analysis. The nice thing is it carries out numerical conversion implicitly - meaning you can take data which is in scientific format in a file and floating point format are dropped out.

Say you want the energies

Example - CAMPARI energy

colgrab -f __ENERGY.dat

will print each energy line to STDOUT.

Example - GROMACS energy

colgrab -f energy.xvg

will print each energy line to STDOUT.

About

Script which extracts a number of columns from a text file while ignoring headers. Basically awk for those who can't use awk.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages