I want to lift over the annotation from E. coli release 29 to E. coli release 42. I have followed the steps for an annotation liftover mentioned here. I got the chain file for the final step and ran:
liftOver -gff Escherichia_coli.GCA_000967155.1.gtf Chromosome.chain conversions.gtf unmapped.gtf
However, I get the following warning:
WARNING: -gff is not recommended.
Use 'ldHgGene -out=<file.gp>' and then 'liftOver -genePred <file.gp>'
I would like to heed the warning. However, I don't know how to use the ldHgGene
tool. Here is its help page:
ldHgGene - load database with gene predictions from a gff file.
usage:
ldHgGene database table file(s).gff
options:
-bin Add bin column (now the default)
-nobin don't add binning (you probably don't want this)
-exon=type Sets type field for exons to specific value
-oldTable Don't overwrite what's already in table
-noncoding Forces whole prediction to be UTR
-gtf input is GTF, stop codon is not in CDS
-predTab input is already in genePredTab format
-requireCDS discard genes that don't have CDS annotation
-out=gpfile write output, in genePred format, instead of loading
table. Database is ignored.
-genePredExt create a extended genePred, including frame
information and gene name
-impliedStopAfterCds - implied stop codon in GFF/GTF after CDS
From what I understand, I am trying to give the liftOver tool the annotation in GenePred format instead of GTF format. So I need to convert the GTF format into a GenePred format and that's what the ldHgGene tool is for. So the command should be something like:
ldHgGene Escherichia_coli.GCA_000967155.1.gtf -out=Escherichia_coli.GCA_000967155.1.gp
but this returns nothing. The -out
option does mean that the database
parameter is not needed but the tool still seems to need the parameter table
.
What is the table
parameter?