Skip to content

Commit e85c179

Browse files
committed
Store JBrowse genome dropdown on bind mount
1 parent 3ebed57 commit e85c179

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,5 @@ RUN curl -Lo /usr/local/bin/faToTwoBit https://hgdownload.soe.ucsc.edu/admin/exe
3737
chmod +x /usr/local/bin/faToTwoBit /usr/local/bin/twoBitToFa
3838
COPY config-template /var/www/html/config
3939
WORKDIR /var/www/html
40+
RUN echo -e "classicMenu = true\ninclude += data/datasets.conf\n\n[aboutThisBrowser]\ntitle = FORCAST" >> jbrowse/jbrowse.conf
4041
CMD service mongodb start && exec apache2-foreground

src/guide-finder/core/get_sequence.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def fetch_sequence(chrom_coord, genome_twobit, output_fasta):
3535
print(err)
3636

3737
if not os.path.isfile(tmp_fasta) or os.path.getsize(tmp_fasta) == 0:
38-
print("twobitToFasta failed: "+" ".join([twobit_to_fa, seq_param, start_param, end_param, genome_twobit, tmp_fasta]))
38+
print("twobitToFasta failed: "+" ".join([seq_param, start_param, end_param, genome_twobit, tmp_fasta]))
3939
sys.exit("sequence is empty for given parameters. Please check your parameters again")
4040

4141
with open(tmp_fasta,"r") as inp_fa, open(output_fasta,"w") as out_fa:

0 commit comments

Comments
 (0)