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

Jbrowse2 #5695

Closed
wants to merge 89 commits into from
Closed
Show file tree
Hide file tree
Changes from 59 commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
15a045a
add jbrowse2 - sorta works a bit - bed and reference only
fubar2 Dec 24, 2023
d6053b6
Merge branch 'galaxyproject:main' into jbrowse2
fubar2 Dec 24, 2023
8e9529c
got some things working...bed, gff, bw, ..
fubar2 Dec 24, 2023
046944a
Merge branch 'jbrowse2' of github.com:fubar2/tools-iuc into jbrowse2
fubar2 Dec 24, 2023
2523972
updated bcbio-gff ;0 to 0.7.0 - bcbiogff stopped at 0.6.6
fubar2 Dec 25, 2023
50ee399
more or less working - doesn't open default session although it's in …
fubar2 Dec 26, 2023
2f1cfd9
odd. failing planemo test but runs fine.
fubar2 Dec 26, 2023
316d2a2
profile 22.05 breaks with boolean instead of select parameters for co…
fubar2 Dec 27, 2023
d9aa1cc
passes planemo tests and lint now :)
fubar2 Dec 27, 2023
4c9c181
minor cleanup
fubar2 Dec 27, 2023
7bced94
fixed shed.yml :(
fubar2 Dec 27, 2023
dc084d0
get rid of some cruft.
fubar2 Dec 27, 2023
66a28d5
and more cruft
fubar2 Dec 27, 2023
40d8d67
Must remove jbrowse-from-dir.xml because it will always fail linting …
fubar2 Dec 27, 2023
7e416e5
shuffling lines to appease the robot pedants.
fubar2 Dec 27, 2023
84bf4b9
robot pedants will always win.
fubar2 Dec 27, 2023
bb3cce8
thought this was done
fubar2 Dec 27, 2023
7395b5b
whoopsie - "fixed" the wrong shed.yml :(
fubar2 Dec 27, 2023
db83b8b
evil twins
fubar2 Dec 27, 2023
d7f3624
fix readme.rst - didn't see it :(
fubar2 Dec 27, 2023
0340aa0
fix cp
fubar2 Dec 27, 2023
2825ddd
cannot get sample vcf to work - header problem reported - tweaking ad…
fubar2 Dec 27, 2023
c8f5d9b
Update jbrowse2.xml
bgruening Dec 27, 2023
2534eb3
style formatting
bgruening Dec 27, 2023
9bf5779
add profile version and fix version command
bgruening Dec 27, 2023
214c9c4
flake8 hanging indents fixed...
fubar2 Dec 27, 2023
7303f99
Merge branch 'jbrowse2' of github.com:fubar2/tools-iuc into jbrowse2
fubar2 Dec 27, 2023
2a6a74d
testing maf
fubar2 Dec 28, 2023
9834e0e
maf now added - runs and seems to make a track of 3.maf from test-dat…
fubar2 Dec 28, 2023
eb8e452
adding files to branch
fubar2 Dec 28, 2023
0ebd0ce
add jbrowse2 - sorta works a bit - bed and reference only
fubar2 Dec 24, 2023
94c4b9a
got some things working...bed, gff, bw, ..
fubar2 Dec 24, 2023
9e52c0c
updated bcbio-gff ;0 to 0.7.0 - bcbiogff stopped at 0.6.6
fubar2 Dec 25, 2023
bd3dc60
more or less working - doesn't open default session although it's in …
fubar2 Dec 26, 2023
e30d3a1
odd. failing planemo test but runs fine.
fubar2 Dec 26, 2023
c0e2c9f
profile 22.05 breaks with boolean instead of select parameters for co…
fubar2 Dec 27, 2023
c880c19
passes planemo tests and lint now :)
fubar2 Dec 27, 2023
6ade364
minor cleanup
fubar2 Dec 27, 2023
86942c0
fixed shed.yml :(
fubar2 Dec 27, 2023
7f5bc3a
get rid of some cruft.
fubar2 Dec 27, 2023
136ac1e
and more cruft
fubar2 Dec 27, 2023
5f43e3f
Must remove jbrowse-from-dir.xml because it will always fail linting …
fubar2 Dec 27, 2023
6fbfae0
shuffling lines to appease the robot pedants.
fubar2 Dec 27, 2023
b8c49dc
robot pedants will always win.
fubar2 Dec 27, 2023
adc6142
thought this was done
fubar2 Dec 27, 2023
62eb033
whoopsie - "fixed" the wrong shed.yml :(
fubar2 Dec 27, 2023
7ec0460
evil twins
fubar2 Dec 27, 2023
8a7f103
fix readme.rst - didn't see it :(
fubar2 Dec 27, 2023
9b92344
fix cp
fubar2 Dec 27, 2023
5f4d47d
cannot get sample vcf to work - header problem reported - tweaking ad…
fubar2 Dec 27, 2023
d2b8255
flake8 hanging indents fixed...
fubar2 Dec 27, 2023
ae792f2
Update jbrowse2.xml
bgruening Dec 27, 2023
f89a898
style formatting
bgruening Dec 27, 2023
2d7445c
add profile version and fix version command
bgruening Dec 27, 2023
5a899ea
testing maf
fubar2 Dec 28, 2023
0e05b8c
maf now added - runs and seems to make a track of 3.maf from test-dat…
fubar2 Dec 28, 2023
4f28353
adding files to branch
fubar2 Dec 28, 2023
e9e4055
Merge branch 'jb2maf' of github.com:fubar2/tools-iuc into jb2maf
fubar2 Dec 28, 2023
479f1b5
flake8 satisfied
fubar2 Dec 28, 2023
14fe257
maf seems to work with some test data - naming of chromosomes and ref…
fubar2 Dec 29, 2023
83332f6
flakery fixed
fubar2 Dec 29, 2023
31db6d2
Update tools/jbrowse2/jbrowse2.xml
fubar2 Dec 29, 2023
d7ce5b0
fixed broken test.
fubar2 Dec 29, 2023
544a45a
creating branch with hic ready to test
fubar2 Dec 30, 2023
02cc9a1
hic works!
fubar2 Jan 2, 2024
c92d3bf
HiC working - the HiC file and the reference now served from a URL so…
fubar2 Jan 2, 2024
e974cd0
odd. passes planemo lint here but fails on ci
fubar2 Jan 2, 2024
5e0160f
trying removing profile= from tool to see if planemo lint stops compl…
fubar2 Jan 2, 2024
7f5407d
nope. not the problem. profile restored.
fubar2 Jan 2, 2024
b95607b
fixes to restore maf functionality. Now have blast, maf, bed, bam, gf…
fubar2 Jan 2, 2024
142757c
fix flake8 complaints. Still fails - some CI planemo lint failure?
fubar2 Jan 2, 2024
3aaf7c3
fixes for blastxml_to_gapped_gff3.py - works with a PR submitted to b…
fubar2 Jan 3, 2024
8fc7579
remove test_data from JBrowse clone - much smaller archive now.
fubar2 Jan 3, 2024
8d61ab8
fix bogus import for flake8
fubar2 Jan 3, 2024
7a046aa
add tabix for bed to see if empty seqtk telo track still causes troub…
fubar2 Jan 3, 2024
a271829
datatypes_conf fix
fubar2 Jan 3, 2024
c7078f1
Merge branch 'galaxyproject:main' into jbrowse2
fubar2 Jan 3, 2024
b7f5308
added datatypes_conf.xml :( no wonder it didn't work
fubar2 Jan 3, 2024
642d906
Merge branch 'jbrowse2' of github.com:fubar2/tools-iuc into jbrowse2
fubar2 Jan 3, 2024
45ada3a
datatypes_conf.xml content is now ignored so remove.
fubar2 Jan 3, 2024
07484de
Changes to allow minimal to use URLs where possible and complete to i…
fubar2 Jan 4, 2024
7619432
big cleanup.
fubar2 Jan 5, 2024
83bcdf8
odd. lint failed.
fubar2 Jan 5, 2024
9455446
fix flake error and lint
fubar2 Jan 5, 2024
92edea2
local flake differs
fubar2 Jan 5, 2024
fa4f248
fix odd problem with spaces in reference names - should be chosen wit…
fubar2 Jan 5, 2024
a63ff31
fixes to deal with different directory structures in conda environmen…
fubar2 Jan 5, 2024
a206c3b
passes tests in biocontainers at last.
fubar2 Jan 5, 2024
023f360
Merge branch 'galaxyproject:main' into jbrowse2
fubar2 Jan 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions tools/jbrowse2/.shed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
categories:
- Sequence Analysis
description: JBrowse2 Genome Browser integrated as a Galaxy Tool
homepage_url: https://jbrowse.org
long_description: |
JBrowse2 is a fast, extensible JS+HTML5 genome browser.

This repository contains a couple of tools aimed at building up a complete
JBrowse2 Genome Browser deployment from raw data files such as gff3, bed, bam,
vcf, blastxml, and more...

The tools produce a ready-to-deploy HTML file and associated processed
datasets, allowing visualization of the genome either from within Galaxy, or
outside of Galaxy.

The tool must be whitelisted for HTML content. If BAM files are displayed, it
must be served from an apache or nginx server implementing sendfile.

https://jbrowse.org
name: jbrowse2
owner: iuc
remote_repository_url: https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2
type: unrestricted
18 changes: 18 additions & 0 deletions tools/jbrowse2/all_fasta.loc.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#This file lists the locations and dbkeys of all the fasta files
#under the "genome" directory (a directory that contains a directory
#for each build). The script extract_fasta.py will generate the file
#all_fasta.loc. This file has the format (white space characters are
#TAB characters):
#
#<unique_build_id> <dbkey> <display_name> <file_path>
#
#So, all_fasta.loc could look something like this:
#
#apiMel3 apiMel3 Honeybee (Apis mellifera): apiMel3 /path/to/genome/apiMel3/apiMel3.fa
#hg19canon hg19 Human (Homo sapiens): hg19 Canonical /path/to/genome/hg19/hg19canon.fa
#hg19full hg19 Human (Homo sapiens): hg19 Full /path/to/genome/hg19/hg19full.fa
#
#Your all_fasta.loc file should contain an entry for each individual
#fasta file. So there will be multiple fasta files for each build,
#such as with hg19 above.
#
1 change: 1 addition & 0 deletions tools/jbrowse2/blastxml_to_gapped_gff3.py
22 changes: 22 additions & 0 deletions tools/jbrowse2/config.json.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"configuration": {
"rpc": {
"defaultDriver": "WebWorkerRpcDriver",
"drivers": {
"MainThreadRpcDriver": {},
"WebWorkerRpcDriver": {}
}
},
"logoPath": {
"locationType": "UriLocation",
"uri": ""
}
},
"plugins": [],
"assemblies": [],
"tracks": [],
"internetAccounts": [],
"aggregateTextSearchAdapters": [],
"connections": [],
"defaultSession": {}
}
8 changes: 8 additions & 0 deletions tools/jbrowse2/convertMAF.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
# https://github.com/cmdcolin/jbrowse-plugin-mafviewer/blob/master/bin/convert.sh
# MAF file must contain the species name and chromosome name
# e.g. hg38.chr1 in the sequence identifiers.
$3/maf2bed.pl $2 < $1 > `basename $1`.bed
sort -k1,1 -k2,2n `basename $1`.bed > `basename $1`.sorted.bed
bgzip `basename $1`.sorted.bed
tabix -p bed `basename $1`.sorted.bed.gz
1 change: 1 addition & 0 deletions tools/jbrowse2/gff3_rebase.py
Loading