Skip to content

Commit 26a64fa

Browse files
committed
Temp edit to load Trichuris data files
1 parent e974e23 commit 26a64fa

File tree

1 file changed

+47
-22
lines changed

1 file changed

+47
-22
lines changed

.github/workflows/reload_demo_data.yml

Lines changed: 47 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -80,29 +80,54 @@ jobs:
8080
8181
apollo jbrowse set-config /data/config.json
8282
83-
apollo assembly get | apollo assembly delete --verbose --assembly -
84-
apollo file get | apollo file delete
83+
apollo assembly add-from-fasta -a "Trichuris muris" -f /data/trichuris_muris.PRJEB126.WBPS19.genomic_softmasked.fa.gz
84+
apollo assembly add-from-fasta -a "Trichuris trichiura" -f /data/trichuris_trichiura.PRJEB535.WBPS19.genomic_softmasked.fa.gz
8585
86-
apollo assembly \
87-
add-from-fasta \
88-
/data/schistosoma_haematobium.TD2_PRJEB44434.WBPS19.genomic.fa.gz \
89-
--fai /data/schistosoma_haematobium.TD2_PRJEB44434.WBPS19.genomic.fa.gz.fai \
90-
--gzi /data/schistosoma_haematobium.TD2_PRJEB44434.WBPS19.genomic.fa.gz.gzi \
91-
--assembly 'Schistosoma haematobium'
86+
apollo feature import -a "Trichuris muris" -d /data/trichuris_muris.PRJEB126.WBPS19.annotations.gff3
87+
apollo feature import -a "Trichuris trichiura" -d /data/trichuris_trichiura.PRJEB535.WBPS19.annotations.gff3
9288
93-
apollo assembly \
94-
add-from-fasta \
95-
/data/schistosoma_mansoni.PRJEA36577.WBPS19.genomic.fa.gz \
96-
--fai /data/schistosoma_mansoni.PRJEA36577.WBPS19.genomic.fa.gz.fai \
97-
--gzi /data/schistosoma_mansoni.PRJEA36577.WBPS19.genomic.fa.gz.gzi \
98-
--assembly 'Schistosoma mansoni'
89+
MURIS_ID=$(
90+
yarn dev assembly get |
91+
jq --raw-output '.[] | select(.name=="Trichuris muris")._id'
92+
)
9993
100-
apollo feature \
101-
import \
102-
/data/schistosoma_haematobium.TD2_PRJEB44434.WBPS19.annotations.genes.gff3 \
103-
--assembly 'Schistosoma haematobium'
94+
TRICHIURA_ID=$(
95+
yarn dev assembly get |
96+
jq --raw-output '.[] | select(.name=="Trichuris trichiura")._id'
97+
)
10498
105-
apollo feature \
106-
import \
107-
/data/schistosoma_mansoni.PRJEA36577.WBPS19.annotations.genes.gff3 \
108-
--assembly 'Schistosoma mansoni'
99+
apollo jbrowse get-config > /data/config.json
100+
101+
jbrowse add-track \
102+
http://localhost:3001/trichuris_muris.PRJEB126.WBPS19_vs_trichuris_trichiura.PRJEB535.WBPS19.paf \
103+
--name "T. muris vs T. trichiura tblastx" \
104+
--assemblyNames "${MURIS_ID},${TRICHIURA_ID}" \
105+
--force
106+
apollo jbrowse set-config /data/config.json
107+
108+
# apollo assembly get | apollo assembly delete --verbose --assembly -
109+
# apollo file get | apollo file delete
110+
111+
# apollo assembly \
112+
# add-from-fasta \
113+
# /data/schistosoma_haematobium.TD2_PRJEB44434.WBPS19.genomic.fa.gz \
114+
# --fai /data/schistosoma_haematobium.TD2_PRJEB44434.WBPS19.genomic.fa.gz.fai \
115+
# --gzi /data/schistosoma_haematobium.TD2_PRJEB44434.WBPS19.genomic.fa.gz.gzi \
116+
# --assembly 'Schistosoma haematobium'
117+
118+
# apollo assembly \
119+
# add-from-fasta \
120+
# /data/schistosoma_mansoni.PRJEA36577.WBPS19.genomic.fa.gz \
121+
# --fai /data/schistosoma_mansoni.PRJEA36577.WBPS19.genomic.fa.gz.fai \
122+
# --gzi /data/schistosoma_mansoni.PRJEA36577.WBPS19.genomic.fa.gz.gzi \
123+
# --assembly 'Schistosoma mansoni'
124+
125+
# apollo feature \
126+
# import \
127+
# /data/schistosoma_haematobium.TD2_PRJEB44434.WBPS19.annotations.genes.gff3 \
128+
# --assembly 'Schistosoma haematobium'
129+
130+
# apollo feature \
131+
# import \
132+
# /data/schistosoma_mansoni.PRJEA36577.WBPS19.annotations.genes.gff3 \
133+
# --assembly 'Schistosoma mansoni'

0 commit comments

Comments
 (0)