You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Alex,
I tried to get around the need to modify the gtf files from gencode by using their gff3 files directly which seem to be more strictly defined. But I am puzzled by differences between gtf2bed-converted gencode v21 versus gff2bed-converted gencode v35 outputs:
Is there a way to get gene names into a dedicated BED column? Could I instruct gff2bed to extract gene_name values into a dedicated column?
The runtime help for convert2bed and actually gff2bed doesn't help me to understand what fields it acts upon and which not. Would you please clarify the runtime help text a bit more?
Thank you,
The text was updated successfully, but these errors were encountered:
The gtf2bed script (or convert2bed --input=gtf cannot or should not be used for converting GFF3, or vice versa, as the formats are different, especially for attributes and other metadata.
In v2.4.40 (in development), the gtf2bed and gff2bed conversion scripts now support copying a subset of reserved attributes to the ID field by keyname.
By default, gtf2bed and gff2bed will parse the attributes string and copy the gene_id value to the output ID field (i.e., fourth column).
The --attribute-key option can be used to copy over gene_name, transcript_name, and several other attributes.
More information is available via convert2bed --help-gtf, convert2bed --help-gff, gtf2bed --help,gff2bed --help, or the online documentation.
Hi Alex,
I tried to convert a GFF3 file into a BED one (using convert2bed and gff2bed) but the fourth column appears to only have . instead of reporting the ID. My GFF3 file looks as follows:
Hi Alex,
I tried to get around the need to modify the gtf files from gencode by using their gff3 files directly which seem to be more strictly defined. But I am puzzled by differences between gtf2bed-converted gencode v21 versus gff2bed-converted gencode v35 outputs:
Is there a way to get gene names into a dedicated BED column? Could I instruct gff2bed to extract
gene_name
values into a dedicated column?The runtime help for
convert2bed
and actuallygff2bed
doesn't help me to understand what fields it acts upon and which not. Would you please clarify the runtime help text a bit more?Thank you,
The text was updated successfully, but these errors were encountered: