INNER CODE UNIT · C

byte

dpryan79/MethylDackel · common.c:253

                byte = config->bw_data[chrom][index];
            }
        }
        else
        {
            byte = 0; //if not a valid chrom, mappability is N/A i.e. 0
        }
        unsigned char mask = 1 << offset;
        unsigned char val = (byte & mask) >> offset;
        data[i] = val;
        if(offset == 7) //at end of byte
        {
            index++;
            offset = 0;
        }
        else
        {
            offset++;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…