mikegloudemans / gwas-download

Easily download publicly available GWAS summary statistics.
72 stars 19 forks source link

Allow subdividing individual column entries on more than one split char #32

Open mikegloudemans opened 4 years ago

mikegloudemans commented 4 years ago

Currently they can only be split on a single string; i.e

split "chr1:123049" on the ":" string to get chr and pos

It would be better to allow more than one possible split chars, that we we could split

"chr1:123049_AT" on [":", ""] to extract chr, pos, ref, and alt

This would enable parsing

mikegloudemans commented 4 years ago

Also will enable munging