Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help for gff format #16

Closed
dariober opened this issue Nov 4, 2014 · 2 comments · Fixed by #21
Closed

help for gff format #16

dariober opened this issue Nov 4, 2014 · 2 comments · Fixed by #21

Comments

@dariober
Copy link

dariober commented Nov 4, 2014

Hi- First, thanks for developing bioawk!
I noticed that the description of the gff format from bioawk -c help has 10 fields, last two being "group" and "attribute".

bioawk -c help
...
gff:
    1:seqname 2:source 3:feature 4:start 5:end 6:score 7:filter 8:strand 9:group 10:attribute 
...

Shouldn't there be 9 fields, where the 9th is either called "attribute" or "group"? For reference: https://www.sanger.ac.uk/resources/software/gff/spec.html#t_2 or http://genome.ucsc.edu/FAQ/FAQformat.html#format3

Dario

@dariober
Copy link
Author

dariober commented Nov 4, 2014

Also, if I'm not mistaken the fields "strand" and "filter" (aka frame?) are swapped. I think the fix is in replacing the line in addon.c

{"gff", "seqname", "source", "feature", "start", "end", "score", "filter", "strand", "group", "attribute", NULL}

with

 {"gff", "seqname", "source", "feature", "start", "end", "score", "strand", "filter", "attribute", NULL}

@sahilseth
Copy link

@dariober yes, it seems score and filter are swapped. Submit a pull request, maybe?

dpryan79 added a commit to dpryan79/bioawk that referenced this issue Jun 12, 2017
@lh3 lh3 closed this as completed in #21 Jun 12, 2017
lh3 added a commit that referenced this issue Jun 12, 2017
Fix GFF/GTF column naming, closes #16
ctSkennerton pushed a commit to ctSkennerton/bioawk that referenced this issue May 22, 2019
Fix issues with assigning during concatenation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants