rreybeyb / MoAIMS

Efficient software for detection of enriched regions of MeRIP-Seq
0 stars 1 forks source link

Error in '[.data.frame'(filter(df_gtf, type =="gene"),,c("seqnames", : undefined columns selected #8

Open cguetta opened 3 years ago

cguetta commented 3 years ago

Hello,

I am sorry to bother you but i have an error while trying to run moaims: P10ctr_moaims <-moaims(sample_info_file = sample_info_file, gtf_file = gtf_file, strand_specific = 0, is_paired =T, proj_name = 'P10ctr_moaims')

Get bins info.

Error in [.data.frame(filter(df_gtf, type == "gene"), , c("seqnames", : undefined columns selected

I used my own GTF file. I noticed that the same issue was reported before and closed but could not see the solution provided.

Thanks a lot in advance,

Best regards,

Charlotte

dpayne10 commented 2 years ago

Try checking the 9th column of your GTF file to see which attributes are present. It seems that you need to have the "gene_id" attribute present, as well as either "gene_biotype" or "gene_type".

Hopefully this helps.