Hi! I'm a bit new to the whole bioinformatics community and I'm working with MAF's stored in a .frq file that looks like this:
CHROM POS N_ALLELES N_CHR {ALLELE:FREQ}
AE014298.5 5694 2 0 AAAAAAAAAAAAAACCAGC:-nan AAAAAAAAAAGTTAAAAAAATAAAACCAGC:-nan
AE014298.5 51946 2 0 A:-nan G:-nan
I'm having a bit of trouble trying to read-in this file in R and was wondering if anyone had any advice for reading in such a table because the header contains 5 values and the actual table has 6 values.
Also get rid of the curly braces in the col5 header
{}