Collecting package metadata (current_repodata.json): failed
ProxyError: Conda cannot proceed due to an error in your proxy configuration.
Check for typos and other configuration errors in any '.netrc' file in your home directory,
any environment variables ending in '_PROXY', and any other system-wide proxy
configuration settings.
import regex
#ambiguous base list
ambiguous_base_dic = {"N":"ATGC","R":"AG","Y":"TC","K":"GT","M":"AC","S":"GC","W":"AT","B":"CGT","D":"AGT","H":"ACT","V":"ACG"}
#if ambiguous base occured, change to regular expression formatfor word, initial in ambiguous_dic.items():
primer_f = primer_f.replace(word, "["+initial+"]")
#index sequences are allowed one mismatch
primer = r"(^{0})".format(primer_f)+"{e<=1}"#if primer sequence is inside sequence, print out.if regex.findall(primer, sequence):
print(sequence)
$ jupyter notebook --no-browser --port=8888
[I 16:25:24.807 NotebookApp] Serving notebooks from local directory:
[I 16:25:24.807 NotebookApp] Jupyter Notebook 6.1.4is running at:
[I 16:25:24.807 NotebookApp] http://localhost:8888/
[I 16:25:24.807 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
1. PuTTY
2. XShell
수신대상서버의 port = jyupter 실행 port
remote 서버의 port = 사용자 pc에서의 port
위와 같은 설정이라면 브라우져에서 http://localhost:8889 일때 실행 가능함.
jupyter notebook 실행시 나오는 링크는 8888로 설정되어있기 때문에 두 포트 넘버를 같게 하는게 편함.