Question: Jbrowse configuration file for specific usage
gravatar for misko.cervenansky
6 months ago by
misko.cervenansky0 wrote:

Hello, i am looking for help with visualization of my files from Chado database in Jbrowse. I am using but i am not able to write configuration file that suits my need. I am going for view like in volvox test data, but i also need name labels for subfeatures. I am able to get close to this using subfeatures, or subparts, but i have no idea how to enable subfeature name labels. Example, but does not have name labels If i use just everything as features i am getting all the information i need, but i would like it in nicely in one row. My current visualization Thanks for your time, appreciating any help.

Yours sincerely Michal.

sequence assembly genome • 351 views
ADD COMMENTlink modified 5 months ago by colindaven950 • written 6 months ago by misko.cervenansky0

Can you describe exactly what you are looking for? What about your data screenshot is incorrect? Does your data contain subfeatures and parent features? What do you mean by "subfeature name labels"? Definitely encourage posting on jbrowse github or jbrowse mailing list just since we don't always see jbrowse questions from this forum :)

ADD REPLYlink written 5 months ago by cmdcolin1.1k

Hello misko.cervenansky!

It appears that your post has been cross-posted to another site:

This is typically not recommended as it runs the risk of annoying people in both communities.

You should at least mention where you posted your question also.

ADD REPLYlink modified 6 months ago • written 6 months ago by finswimmer9.0k

Do you mean that you want subfeature labels such as exons to be displayed ? I've never seen this done before. Are you sure the exon labels are also present in the database ? Using GFF3, I have seen labels such as ID, Name, Description and Note to be displayed slightly differently, experimentation is highly recommended.

As far as I know, the volvox sample data are prepared from a GFF3 and or GTF, so this might be dealt with differently. Could be wrong though. I have never used a Chado D I'm afraid.

Using GFF3 or GTF, I think JBrowse can only deal with one subfeature type per feature. I generally use mRNA as feature (not gene) and exon as subfeature.

ADD REPLYlink written 5 months ago by colindaven950
gravatar for colindaven
5 months ago by
Hannover Medical School
colindaven950 wrote:

For what it's worth, here's my script which inserts subfeatures from (properly formatted) GFF3.

## Add tracks to JBrowse and print all subfeatures eg CDS and exons separately. 
## You must be in the same directory 

## Now supply the following GFF3 variable on the command line as argument 1, sh file.gff3
echo "Input file: " $1

## Do not change this paragraph
cd $jbrowse


## Uncomment the (only one) JBrowse instance directory you want to add data with to.

# Do not change this
bin/ \
        --trackLabel $gff_name \
        --gff $gff3_file \
        --out $outdir \
        --key $gff_name  \
        --className transcript \
        --type mRNA \
        --autocomplete all \
        --getSubfeatures \
        --subfeatureClasses '{"exon":"exon","CDS":"transcript-CDS"}' \
        --arrowheadClass 'arrowhead' \

#       --subfeatureClasses '{"mRNA":"mRNA","exon":"exon","CDS":"CDS"}' \
#       --subfeatureClasses '{"mRNA" : "mRNA", "exon": "exon", "CDS": "CDS", "five_prime_UTR": "five_prime_UTR", "three_prime_UTR": "three_prime_UTR"}' \
ADD COMMENTlink modified 5 months ago • written 5 months ago by colindaven950
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1353 users visited in the last hour