about std.csv and derived format
bioinfornatics
bioinfornatics at fedoraproject.org
Wed Feb 29 03:42:11 PST 2012
Dear,
I would like to parse this file:
http://genome.ucsc.edu/goldenPath/help/ItemRGBDemo.txt
struct Bed{
string chrom; // 0
size_t chromStart; // 1
size_t chromEnd; // 2
string name; // 3
size_t score; // 4
char strand; // 5
size_t thickStart; // 6
size_t thickEnd; // 7
size_t[3] itemRgb; // 8
size_t blockCount; // 9
size_t blockSizes; // 10
size_t blockStarts; // 11
}
In more fields 3 to 11 are optional. Then you can have:
* field 0 - 3
* field 0 - 4
* field 0 - 5
... to 0 - 12
More information about the Digitalmars-d-learn
mailing list