Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edawson/pliib
A hacky little C++ library that holds some useful functions.
https://github.com/edawson/pliib
Last synced: 4 days ago
JSON representation
A hacky little C++ library that holds some useful functions.
- Host: GitHub
- URL: https://github.com/edawson/pliib
- Owner: edawson
- License: mit
- Created: 2015-12-02T16:10:41.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2023-11-30T14:33:45.000Z (12 months ago)
- Last Synced: 2023-11-30T15:36:17.041Z (12 months ago)
- Language: C++
- Homepage:
- Size: 130 KB
- Stars: 3
- Watchers: 1
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
pliib: Some common C++ utility functions for bioinformatics
-------
Eric T Dawson
December 2015![C/C++ CI for pliib](https://github.com/edawson/pliib/workflows/C/C++%20CI%20for%20pliib/badge.svg)
### Functionality
There are two main kinds of functions in this library:
- String manipulation
- Capitalize a string
- Reverse a string
- Reverse compliment a string
- Split a string by a delimiter
- Join a vector of strings by a delimiter- Threadpool-style work functions
- Apply a function to a vector of inputs### Example Usage:
#include "pliib.hpp"
using namespace pliib;// Split a string:
string s = "ACT;TGC;AAA;aNoThErString;"
vector ret;
split(s, ';', ret);
// ret is modified to hold the tokens of s split by semicolons.
// ret = {"ACT", "TGC", "AAA", "aNoThErString"}## License:
MIT### Contact:
Eric T Dawson
github: edawson