-
Notifications
You must be signed in to change notification settings - Fork 198
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
Enhancer in GFF #928
Comments
How did you read in the GFF3 ? If you used the bioperl parser (bin/flatfile-to-json.pl) I would guess enhancer is not being picked up. One possible workaround is using all the options of the flatfile-to-json.pl script to explicitly mention the enhancer.
|
The enhancer doesn't show because it's outside of the transcript
envelope, 52061
- 54689.
I don't know if there's a quick way around it.
…On Mon, Sep 25, 2017 at 11:49 PM, Colin Davenport ***@***.***> wrote:
How did you read in the GFF3 ?
If you used the bioperl parser (bin/flatfile-to-json.pl) I would guess
enhancer is not being picked up.
One possible workaround is using all the options of the
flatfile-to-json.pl script to explicitly mention the enhancer.
Another is to declare the enhancer as a separate feature perhaps not
related with Parent to the gene, but with a note pointing to the gene.
bin/flatfile-to-json.pl \
--trackLabel $gff_name \
--gff $gff3_file \
--out $outdir \
--key $gff_name \
--className transcript \
--type mRNA \
--autocomplete all \
--getSubfeatures \
--subfeatureClasses '{"enhancer":"exon","CDS":"transcript-CDS"}' \
--arrowheadClass 'arrowhead' \
;
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#928 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AJlnARpwdz2C8leqRARn0-jLybffsdX0ks5smJ55gaJpZM4Phf8F>
.
|
one way is to just make it an independent feature.
…On Tue, Sep 26, 2017 at 4:04 PM, Eric Yao ***@***.***> wrote:
The enhancer doesn't show because it's outside of the transcript envelope, 52061
- 54689.
I don't know if there's a quick way around it.
On Mon, Sep 25, 2017 at 11:49 PM, Colin Davenport <
***@***.***> wrote:
> How did you read in the GFF3 ?
>
> If you used the bioperl parser (bin/flatfile-to-json.pl) I would guess
> enhancer is not being picked up.
>
> One possible workaround is using all the options of the
> flatfile-to-json.pl script to explicitly mention the enhancer.
> Another is to declare the enhancer as a separate feature perhaps not
> related with Parent to the gene, but with a note pointing to the gene.
>
> bin/flatfile-to-json.pl \
> --trackLabel $gff_name \
> --gff $gff3_file \
> --out $outdir \
> --key $gff_name \
> --className transcript \
> --type mRNA \
> --autocomplete all \
> --getSubfeatures \
> --subfeatureClasses '{"enhancer":"exon","CDS":"transcript-CDS"}' \
> --arrowheadClass 'arrowhead' \
> ;
>
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#928 (comment)>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/AJlnARpwdz2C8leqRARn0-jLybffsdX0ks5smJ55gaJpZM4Phf8F>
> .
>
|
I'd say the transcript glyph should probably just be extended to draw this enhancer directly, this might be a good small project for somebody looking to dip their toes in the codebase. |
Could this be due to the "enhancer" being specified out of sort order (at the end) and even if it was in sorted order it would occur before the parent feature? If so, has this been fixed by #780 |
I think that making it an independant feature is probably more or less the best way to handle it as @enuggetry said. Making an enhancer or promoter a "subfeature" of the gene parent, but then making it outside the coordinate boundary of the gene, is fairly awkward The rendering system of jbrowse can actually be configured to render things outside the boundary of it's gene using maxFeatureGlyphExpansion but it gets a little weird! An enhancement to this would maybe be having some sort of "relationship" type, but I don't really know how GFF handles this |
@cmdcolin The GFF3 spec (https://github.com/The-Sequence-Ontology/Specifications/blob/master/gff3.md#parent-part_of-relationships) states:
So it would appear that the way this is specified in the GFF3 file provided by @billzt is the correct way to encode this relationship. |
Supporting a GFF file like this:
We manually add an "enhancer" for transcript AT1G01110.1 in front of the main region.
In JBrowse, the transcript can be rendered properly. However we cannot see the enhancer.
While in other genome browser such as IGV, it can render the "enhancer" after we directly load the GFF file:
Is is a bug in JBrowse?
The text was updated successfully, but these errors were encountered: