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

adding changes made since 289 was released #233

Merged
merged 9 commits into from
Sep 12, 2023
6 changes: 4 additions & 2 deletions jbrowse2/bin/make_tracks_config.pl
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
$ASSEMBLY ||= 'c_elegans_PRJNA13758';
$S3URL ||= 'https://s3.amazonaws.com/agrjbrowse/MOD-jbrowses/WormBase';

my $SEQUENCE = $ASSEMBLY;
$SEQUENCE =~ s/_P/.P/;

#fetch trackList.json, parse into JSON object
# the ".old" json file is the one that has the includes list
# rather than the trackList.json that is used for JB 1, where
Expand Down Expand Up @@ -54,8 +57,6 @@
$i =~ s/includes\///;
push @includes, $i unless ($i =~ /functions.conf/
or $i =~ /PR.*DNA.json/
or $i =~ /pattern_match_tracks/
or $i =~ /crispr_predictions/
or $i =~ /alphafold/
or $i =~ /expression_patterns/);
}
Expand All @@ -77,6 +78,7 @@
#do the substitutions, then json-ify
$data =~ s/\$RELEASE/$RELEASE/g;
$data =~ s/\$ASSEMBLY/$ASSEMBLY/g;
$data =~ s/\$SEQUENCE/$SEQUENCE/g;
my $json = JSON->new->decode($data);

push @tracks, @{$json->{tracks}};
Expand Down
35 changes: 35 additions & 0 deletions jbrowse2/config/track_configs/c_briggsae_PRJNA10731_synteny.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,39 @@
{"tracks":[
{
"assemblyNames" : [
"c_briggsae_PRJNA10731",
"c_nigoni_PRJNA384657"
],
"displays" : [
{
"displayId" : "briggsae_to_nigoni-DotplotDisplay",
"type" : "DotplotDisplay"
},
{
"displayId" : "briggsae_to_nigoni-LinearComparativeDisplay",
"type" : "LinearComparativeDisplay"
},
{
"displayId" : "briggsae_to_nigoni-LinearSyntenyDisplay",
"type" : "LinearSyntenyDisplay"
}
],
"name" : "C. briggsae to C. nigoni",
"adapter" : {
"type" : "PAFAdapter",
"pafLocation" : {
"locationType" : "UriLocation",
"uri" : "https://s3.amazonaws.com/agrjbrowse/MOD-jbrowses/WormBase/synteny_data/c_briggsae.c_nigoni.paf"
},
"queryAssembly" : "c_nigoni_PRJNA384657",
"targetAssembly" : "c_briggsae_PRJNA10731"
},
"category" : [
"Synteny"
],
"trackId" : "briggsae_to_nigoni",
"type" : "SyntenyTrack"
},
{
"category": [
"Synteny"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"adapter": {
"type": "PAFAdapter",
"queryAssembly": "c_remanei_PRJNA53967",
"queryAssembly": "c_elegans_PRJEB28388",
"targetAssembly": "c_elegans_PRJNA275000",
"pafLocation": {
"locationType": "UriLocation",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"tracks": [
{
"type": "FeatureTrack",
"trackId": "c_elegans_PRJNA13758-crispr_cas9_sgrna_predictions",
"name": "CRISPR_Cas9 sgRNA predictions",
"assemblyNames": [
"c_elegans_PRJNA13758"
],
"description": "sgRNA predictions from http://genome.sfu.ca/crispr/. Used by permission.",
"category": [
"Externally Sourced Resources",
"CRISPR predictions"
],
"adapter": {
"type": "NCListAdapter",
"rootUrlTemplate": {
"locationType": "UriLocation",
"uri": "https://s3.amazonaws.com/wormbase-modencode/jbrowse/data/c_elegans/tracks/CRISPR_Cas9 sgRNA predictions/{refseq}/trackData.jsonz"
}
},
"displays": [
{
"type": "LinearBasicDisplay",
"displayId": "crispr_cas9_sgrna_predictions-c_elegans_PRJNA13758-LinearBasicDisplay",
"renderer": {
"type": "SvgFeatureRenderer",
"color1": "gold",
"height": 4,
"showLabels": false,
"showDescriptions": false
}
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
{
"tracks": [
{
"type": "FeatureTrack",
"trackId": "$ASSEMBLY_TTCN_sequence_search",
"name": "Cas12e TTCN PAM sites",
"assemblyNames": [
"$ASSEMBLY"
],
"description": "Cas12e (CasX) PAM sites based on TTCN motif. Computed on the fly at load time.",
"category": [
"Externally Sourced Resources",
"CRISPR predictions"
],
"adapter": {
"type": "SequenceSearchAdapter",
"search": "TTC.",
"sequenceAdapter": {
"type": "BgzipFastaAdapter",
"fastaLocation": {
"locationType": "UriLocation",
"uri": "https://s3.amazonaws.com/wormbase-modencode/fasta/current/$SEQUENCE.WS284.genomic.fa.gz"
},
"faiLocation": {
"locationType": "UriLocation",
"uri": "https://s3.amazonaws.com/wormbase-modencode/fasta/current/$SEQUENCE.WS284.genomic.fa.gz.fai"
},
"gziLocation": {
"locationType": "UriLocation",
"uri": "https://s3.amazonaws.com/wormbase-modencode/fasta/current/$SEQUENCE.WS284.genomic.fa.gz.gzi"
}
}
},
"displays": [
{
"type": "LinearBasicDisplay",
"displayId": "TTCN_sequence_search_$ASSEMBLY-LinearBasicDisplay",
"renderer": {
"type": "SvgFeatureRenderer",
"color1": "SlateBlue",
"height": 4,
"showLabels": false,
"showDescriptions": false
}
}
]
},
{
"type": "FeatureTrack",
"trackId": "$ASSEMBLY_TTN_sequence_search",
"name": "Cas12a TTN PAM sites",
"assemblyNames": [
"$ASSEMBLY"
],
"description": "Cas12a (Cpf1) PAM sites based on TTN motif. Computed on the fly at load time.",
"category": [
"Externally Sourced Resources",
"CRISPR predictions"
],
"adapter": {
"type": "SequenceSearchAdapter",
"search": "TT.",
"sequenceAdapter": {
"type": "BgzipFastaAdapter",
"fastaLocation": {
"locationType": "UriLocation",
"uri": "https://s3.amazonaws.com/wormbase-modencode/fasta/current/$SEQUENCE.WS284.genomic.fa.gz"
},
"faiLocation": {
"locationType": "UriLocation",
"uri": "https://s3.amazonaws.com/wormbase-modencode/fasta/current/$SEQUENCE.WS284.genomic.fa.gz.fai"
},
"gziLocation": {
"locationType": "UriLocation",
"uri": "https://s3.amazonaws.com/wormbase-modencode/fasta/current/$SEQUENCE.WS284.genomic.fa.gz.gzi"
}
}
},
"displays": [
{
"type": "LinearBasicDisplay",
"displayId": "TTN_sequence_search_$ASSEMBLY-LinearBasicDisplay",
"renderer": {
"type": "SvgFeatureRenderer",
"color1": "Indigo",
"height": 4,
"showLabels": false,
"showDescriptions": false
}
}
]
},
{
"type": "FeatureTrack",
"trackId": "$ASSEMBLY_NNGRRT_sequence_search",
"name": "SaCas9 NNGRRT PAM sites",
"assemblyNames": [
"$ASSEMBLY"
],
"description": "Staphylococcus aureus Cas9 PAM sites based on NNGRRT motif. Computed on the fly at load time.",
"category": [
"Externally Sourced Resources",
"CRISPR predictions"
],
"adapter": {
"type": "SequenceSearchAdapter",
"search": "..G[AG][AG]T",
"sequenceAdapter": {
"type": "BgzipFastaAdapter",
"fastaLocation": {
"locationType": "UriLocation",
"uri": "https://s3.amazonaws.com/wormbase-modencode/fasta/current/$SEQUENCE.WS284.genomic.fa.gz"
},
"faiLocation": {
"locationType": "UriLocation",
"uri": "https://s3.amazonaws.com/wormbase-modencode/fasta/current/$SEQUENCE.WS284.genomic.fa.gz.fai"
},
"gziLocation": {
"locationType": "UriLocation",
"uri": "https://s3.amazonaws.com/wormbase-modencode/fasta/current/$SEQUENCE.WS284.genomic.fa.gz.gzi"
}
}
},
"displays": [
{
"type": "LinearBasicDisplay",
"displayId": "NNGRRT_sequence_search_$ASSEMBLY-LinearBasicDisplay",
"renderer": {
"type": "SvgFeatureRenderer",
"color1": "DarkViolet",
"height": 4,
"showLabels": false,
"showDescriptions": false
}
}
]
},
{
"type": "FeatureTrack",
"trackId": "$ASSEMBLY_NGG_sequence_search",
"name": "SpCas9 NGG PAM sites",
"assemblyNames": [
"$ASSEMBLY"
],
"description": "Streptococcus pyogenes Cas9 PAM sites based on NGG motif. Computed on the fly at load time.",
"category": [
"Externally Sourced Resources",
"CRISPR predictions"
],
"adapter": {
"type": "SequenceSearchAdapter",
"search": ".GG",
"sequenceAdapter": {
"type": "BgzipFastaAdapter",
"fastaLocation": {
"locationType": "UriLocation",
"uri": "https://s3.amazonaws.com/wormbase-modencode/fasta/current/$SEQUENCE.WS284.genomic.fa.gz"
},
"faiLocation": {
"locationType": "UriLocation",
"uri": "https://s3.amazonaws.com/wormbase-modencode/fasta/current/$SEQUENCE.WS284.genomic.fa.gz.fai"
},
"gziLocation": {
"locationType": "UriLocation",
"uri": "https://s3.amazonaws.com/wormbase-modencode/fasta/current/$SEQUENCE.WS284.genomic.fa.gz.gzi"
}
}
},
"displays": [
{
"type": "LinearBasicDisplay",
"displayId": "NGG_sequence_search_$ASSEMBLY-LinearBasicDisplay",
"renderer": {
"type": "SvgFeatureRenderer",
"color1": "RebeccaPurple",
"height": 4,
"showLabels": false,
"showDescriptions": false
}
}
]
}
]
}
35 changes: 35 additions & 0 deletions jbrowse2/config/track_configs/c_elegans_PRJNA13758_synteny.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,41 @@
}
]
},
{
"adapter" : {
"type" : "PAFAdapter",
"pafLocation" : {
"uri" : "https://s3.amazonaws.com/agrjbrowse/MOD-jbrowses/WormBase/synteny_data/c_elegans.c_nigoni.paf",
"locationType" : "UriLocation"
},
"queryAssembly" : "c_nigoni_PRJNA384657",
"targetAssembly" : "c_elegans_PRJNA13758"
},
"name" : "C. elegans N2 to C. nigoni",
"displays" : [
{
"type" : "DotplotDisplay",
"displayId" : "N2_to_nigoni-DotplotDisplay"
},
{
"type" : "LinearComparativeDisplay",
"displayId" : "N2_to_nigoni-LinearComparativeDisplay"
},
{
"displayId" : "N2_to_nigoni-LinearSyntenyDisplay",
"type" : "LinearSyntenyDisplay"
}
],
"assemblyNames" : [
"c_nigoni_PRJNA384657",
"c_elegans_PRJNA13758"
],
"type" : "SyntenyTrack",
"trackId" : "N2_to_nigoni",
"category" : [
"Synteny"
]
},
{
"category": [
"Synteny"
Expand Down
Loading