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

find ortholog internal issue #2

Open
badoi opened this issue Sep 25, 2019 · 1 comment
Open

find ortholog internal issue #2

badoi opened this issue Sep 25, 2019 · 1 comment

Comments

@badoi
Copy link
Contributor

badoi commented Sep 25, 2019

I'm getting this issue running the post-processing file a couple minutes into running.

`
(base) [bnphan@compute-1-13 20190924_mm10ToHg38_halLiftover]$ MOUSEBGGZ='/projects/pfenninggroup/machineLearningForComputationalBiology/gwasEnrichments/background/mouseDHS/mm10_univ_dhs_ucsc.bed.gz'
(base) [bnphan@compute-1-13 20190924_mm10ToHg38_halLiftover]$ MOUSEBG='/projects/pfenninggroup/machineLearningForComputationalBiology/gwasEnrichments/background/mouseDHS/mm10_univ_dhs_ucsc.bed'
(base) [bnphan@compute-1-13 20190924_mm10ToHg38_halLiftover]$ MOUSEBGGZ='/projects/pfenninggroup/machineLearningForComputationalBiology/gwasEnrichments/background/mouseDHS/mm10_univ_dhs_ucsc.bed.gz'
(base) [bnphan@compute-1-13 20190924_mm10ToHg38_halLiftover]$ MOUSEBG='/projects/pfenninggroup/machineLearningForComputationalBiology/gwasEnrichments/background/mouseDHS/mm10_univ_dhs_ucsc.bed'
(base) [bnphan@compute-1-13 20190924_mm10ToHg38_halLiftover]$ HALLIFTEDTILE='/home/bnphan/projects/20190924_mm10ToHg38_halLiftover/bed/mm10_univ_dhs_ucsc_halLifted2hg38.bed'
(base) [bnphan@compute-1-13 20190924_mm10ToHg38_halLiftover]$ MAXSCOREFILE='/home/bnphan/projects/20190924_mm10ToHg38_halLiftover/bed/mm10_univ_dhs_ucsc_maxScorePosition.bed'
(base) [bnphan@compute-1-13 20190924_mm10ToHg38_halLiftover]$ HALLIFTEDSFILE='/home/bnphan/projects/20190924_mm10ToHg38_halLiftover/bed/mm10_univ_dhs_ucsc_maxscorePosition_halLifted2hg38.bed'
(base) [bnphan@compute-1-13 20190924_mm10ToHg38_halLiftover]$ OUTFILE='/home/bnphan/projects/20190924_mm10ToHg38_halLiftover/bed/mm10_univ_dhs_ucsc_halLifted2hg38_orthologs.bed'
(base) [bnphan@compute-1-13 20190924_mm10ToHg38_halLiftover]$ python /home/bnphan/src/halLiftover-postprocessing/orthologFind.py \

-max_len 1000 -min_len 50 -protect_dist 5
-qFile $MOUSEBG
-tFile $HALLIFTEDTILE
-sFile $HALLIFTEDSFILE
-oFile $OUTFILE
Traceback (most recent call last):
File "/home/bnphan/src/halLiftover-postprocessing/orthologFind.py", line 427, in
main(sys.argv[1:])
File "/home/bnphan/src/halLiftover-postprocessing/orthologFind.py", line 421, in main
ortholog_find(file_H,max_len,alen,min_len,blen,int(args.protect_dist));
File "/home/bnphan/src/halLiftover-postprocessing/orthologFind.py", line 353, in ortholog_find
make_hist(file_H[3],file_H[3],2500)
File "/home/bnphan/src/halLiftover-postprocessing/orthologFind.py", line 238, in make_hist
plt.figure(1)
File "/home/bnphan/miniconda3/lib/python3.7/site-packages/matplotlib/pyplot.py", line 545, in figure
**kwargs)
File "/home/bnphan/miniconda3/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 3252, in new_figure_manager
return cls.new_figure_manager_given_figure(num, fig)
File "/home/bnphan/miniconda3/lib/python3.7/site-packages/matplotlib/backends/_backend_tk.py", line 950, in new_figure_manager_given_figure
window = tk.Tk(className="matplotlib")
File "/home/bnphan/miniconda3/lib/python3.7/tkinter/init.py", line 2023, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display "localhost:10.0"
`

@imk1
Copy link
Contributor

imk1 commented Jan 22, 2020

Did you ssh in with --x11? If not, try that and see if that solves the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants