Jupyterlab anaconda: Difference between revisions

From Rasulev Lab Wiki
Jump to navigation Jump to search
(Imported from text file)
 
m (Revised formatting)
 
Line 1: Line 1:
__TOC__
__TOC__
<br />


{|
{|
|
|
Log into Jupyter Lab/Notebook you need to open “Anaconda prompt (anaconda3)”
Log into Jupyter Lab/Notebook you need to open “''Anaconda prompt (anaconda3)”''
 
<br />
<br />
 
 
<br />
|
|
It is necessary to open anaconda prompt first by searching in your desktop windows search bar
It is necessary to open anaconda prompt first by searching in your desktop windows search bar
<br />
<br />


It looks like a regular terminal
It looks like a regular terminal
|-
|-
|
| <code>jupyter notebook</code>
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| jupyter notebook
| Type this into the anaconda prompt/terminal and you should
| Type this into the anaconda prompt/terminal and you should
|-
|-
|
| <code>jupyter notebook --notebook-dir D:/MachineLearningPythonBiodegradation</code>
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| jupyter notebook --notebook-dir D:/MachineLearningPythonBiodegradation
| Because our directory fo jupyterlab isn’t where we want, I can specify which directory to open up and that is where my files can go. I am choosing this specific directory on my laptop since it is what I think is best.
| Because our directory fo jupyterlab isn’t where we want, I can specify which directory to open up and that is where my files can go. I am choosing this specific directory on my laptop since it is what I think is best.
|-
|-
|
| <code>jupyter lab --notebook-dir D:/MachineLearningPythonBiodegradation</code>
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| jupyter lab --notebook-dir D:/MachineLearningPythonBiodegradation
| <br />
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| <br />
| <br />
| <br />
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|-
| https://github.com/manuel-calzolari/sklearn-genetic
| https://github.com/manuel-calzolari/sklearn-genetic
| <br />
| <br />
|-
|-
|
| <code>conda install -c conda-forge sklearn-genetic</code>
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| conda install -c conda-forge sklearn-genetic
| <br />
| <br />
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| <br />
| <br />
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|-
| https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LinearRegression.html
| https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LinearRegression.html
| <br />
| <br />
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| <br />
| <br />
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|-
| https://docs.conda.io/projects/conda/en/latest/user-guide/install/linux.html
| https://docs.conda.io/projects/conda/en/latest/user-guide/install/linux.html
Line 323: Line 31:
|-
|-
|
|
|
<code>bash Anaconda-latest-Linux-x86_64.sh</code>
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| <br />
| <br />
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
bash Anaconda-latest-Linux-x86_64.sh


<br />
<br />
| <br />
| <br />
|-
|-
|
| <code>eval &quot;$(/gpfs1/home/meade.erickson/anaconda3/bin/conda shell.bash hook)&quot;</code>
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| eval &quot;$(/gpfs1/home/meade.erickson/anaconda3/bin/conda shell.bash hook)&quot;
| Used this to get conda to work in my environment
| Used this to get conda to work in my environment
|-
|-
|
|
|
Using putty: <code>prime.ccast.ndsu.edu</code>
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| <br />
| <br />
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
Use putti
 
prime.ccast.ndsu.edu
 
<br />
| <br />
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| <br />
| <br />
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| <br />
| <br />
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| <br />
| <br />
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| <br />
| <br />
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| <br />
| <br />
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| <br />
| <br />
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| <br />
| <br />
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| <br />
| <br />
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| <br />
| <br />
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| <br />
| <br />
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| <br />
| <br />
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| <br />
| <br />
| <br />
|-
|-
|
| <code>ls -lisanh</code>
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| ls -lisanh
| gives information on the files in whole directory
| gives information on the files in whole directory
|-
|-
|
| <code>ls -lisanh filename</code>
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| ls -lisanh filename
| gives information on the specific file
| gives information on the specific file
|-
|-
|
| <code>ls -lisan</code>
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| ls -lisan
| gives information on the files in whole directory
| gives information on the files in whole directory
|-
|-
|
| <code>ls -lisan filename</code>
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| ls -lisan filename
| gives information on the specific file
| gives information on the specific file
|-
|-
|
| <code>babel –ixyz file.xyz –opdb file.pdb xyz to pdb</code>
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| babel –ixyz file.xyz –opdb file.pdb xyz to pdb
|
|
Using babel, converts the input file of .xyz to outputfile of .pdb
Using babel, converts the input file of .xyz to outputfile of .pdb
That is where the –ixyz and –opdb comes from
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
| <br />
| <br />
|-
| <br />
| <br />
|-
| <br />
| <br />
|-
| <br />
| <br />
|-
| <br />
| <br />
|-
| <br />
| <br />
|-
| <br />
| <br />
|-
| <br />
| <br />
|}
|}


<br />
<br />
<br />

Latest revision as of 21:00, 26 September 2022

Log into Jupyter Lab/Notebook you need to open “Anaconda prompt (anaconda3)”

It is necessary to open anaconda prompt first by searching in your desktop windows search bar

It looks like a regular terminal

jupyter notebook Type this into the anaconda prompt/terminal and you should
jupyter notebook --notebook-dir D:/MachineLearningPythonBiodegradation Because our directory fo jupyterlab isn’t where we want, I can specify which directory to open up and that is where my files can go. I am choosing this specific directory on my laptop since it is what I think is best.
jupyter lab --notebook-dir D:/MachineLearningPythonBiodegradation
https://github.com/manuel-calzolari/sklearn-genetic
conda install -c conda-forge sklearn-genetic
https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LinearRegression.html
https://docs.conda.io/projects/conda/en/latest/user-guide/install/linux.html

bash Anaconda-latest-Linux-x86_64.sh



eval "$(/gpfs1/home/meade.erickson/anaconda3/bin/conda shell.bash hook)" Used this to get conda to work in my environment

Using putty: prime.ccast.ndsu.edu


ls -lisanh gives information on the files in whole directory
ls -lisanh filename gives information on the specific file
ls -lisan gives information on the files in whole directory
ls -lisan filename gives information on the specific file
babel –ixyz file.xyz –opdb file.pdb xyz to pdb

Using babel, converts the input file of .xyz to outputfile of .pdb