Exemple #1
0
static
void IlluminaFileInfo_init(IlluminaFileInfo* file)
{
    assert(file);
    file->ready = false;
    pstring_clear(&file->name);
    memset(file->coord, 0, sizeof(file->coord));
    IlluminaRead_Init(&file->read, false);
}
Exemple #2
0
static
void FileReadData_init(FileReadData* read, bool name_only)
{
    pstring_clear(&read->name);
    pstring_clear(&read->barcode);
    IlluminaRead_Init(&read->read, name_only);
    if( !name_only ) {
        read->ready = false;
    }
}