This code is by no means mine. It's made by guys building proteininspector.
Here you will find simple wrappers and, above all, installation instructions. This is intended for people who, like me, never touched golang and want to keep it that way.
- Get golang (like they describe here: https://golang.org/doc/install)
- Get this github repo.
- Navigate to where the *.go files are.
- To compile of whatever golang does with the source files, run
bash find . -type f -name "*.go" -exec go build {} \;
- copy the output to some bin and chmod +x them. Damn, maybe even add them to PATH.
Assuming you did not change the names of the compilation (or whatever) output, to print the first scan of a spectrum spec.raw to a file haha.txt just do
printspectrum -sn 1 -raw spec.raw > haha.txt
If you don't know, how many scans are there, use the countscans script
countscans -raw spec.raw
This work could not be achieved if it wasn't for the continuous trolling of three guys from Warsaw. Buggers!
Voila! Look ma', almost no golang exposure!