Bioconductor / AnnotationForge

Tools for building SQLite-based annotation data packages
https://bioconductor.org/packages/AnnotationForge
4 stars 9 forks source link

"The 1st column must always be the gene ID 'GID'" error in makeOrgPackage #50

Closed LichengXX closed 6 months ago

LichengXX commented 1 year ago

I ran the makeOrgPackage Rscript with the following command: makeOrgPackage(gene_info=gene_info,go=gene2go,ko=gene2ko,pathway=gene2pathway, version="0.1", maintainer = "name my_email", author = "name my_email", outputDir = ".", tax_id="4081", genus="Iaaa", speceis="TAG", goTable="go")

However, the program reports an error indicating that Error in .makeOrgPackage(data, version = version, maintainer = maintainer, : The 1st column must always be the gene ID 'GID' But the first column of my dataframe file is all 'GID' and the ids are uniform, as follows: image I have changed the other parameters and all produce the same error, which suggests that it is these dataframe files that are the problem.But I don't know what's wrong with my dataframe file. Can anyone help me please? Much appreciated.

jmacdon commented 1 year ago

@LichengXX This isn't the correct place for questions like this. Instead please post at support.bioconductor.org, and also use dput on a small portion of all your input data.frames so people can try to diagnose.