<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nanobiodata.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sysadmin</id>
	<title>Rasulev Lab Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nanobiodata.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sysadmin"/>
	<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/wiki/Special:Contributions/Sysadmin"/>
	<updated>2026-05-14T12:13:42Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Statistical_Machine_Learning&amp;diff=151</id>
		<title>Statistical Machine Learning</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Statistical_Machine_Learning&amp;diff=151"/>
		<updated>2023-03-20T11:14:42Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Added LLM section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== &amp;lt;span&amp;gt;Overview&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
A crash course to enable gentle introduction into the machine learning techniques and its applications into data science. &lt;br /&gt;
&lt;br /&gt;
Topics Covered: &lt;br /&gt;
&lt;br /&gt;
* Basic Concepts &lt;br /&gt;
* Data Models &lt;br /&gt;
* Machine Learning &lt;br /&gt;
* ML Techniques &lt;br /&gt;
* Software Toolkit &lt;br /&gt;
* Continued Learning&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span&amp;gt;Basic Concepts&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== Definitions: ===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Statistical Machine Learning&#039;&#039;&#039; is a set of tools used to model and understand complex data sets &lt;br /&gt;
* &#039;&#039;&#039;Data Science&#039;&#039;&#039; is a set of techniques in computing to support the analysis of data &lt;br /&gt;
** Not very useful without some domain knowledge: it is important to &#039;&#039;know your data&#039;&#039;. &lt;br /&gt;
* Includes analytic techniques: &lt;br /&gt;
** descriptive statistics &lt;br /&gt;
** data visualization &lt;br /&gt;
** statistical machine learning &lt;br /&gt;
** neural networks&lt;br /&gt;
** actor-environment models &lt;br /&gt;
* Also includes computational techniques: &lt;br /&gt;
** database administration &lt;br /&gt;
** management of information systems &lt;br /&gt;
** parallelization &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\rightarrow&amp;lt;/math&amp;gt; high performance computing&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Basic Concepts ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
==== Knowing your data ====&lt;br /&gt;
Technical definition: &lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt; represent a number of distinct &#039;&#039;&#039;observations&#039;&#039;&#039;, and let &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;p&amp;lt;/math&amp;gt; represent a number of &#039;&#039;&#039;predictors&#039;&#039;&#039; Then, our observed data &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{X}&amp;lt;/math&amp;gt; is an &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n\times p&amp;lt;/math&amp;gt; matrix with row observation vectors &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\vec{x}_{1..n}&amp;lt;/math&amp;gt; and column predictor vectors &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\vec{x}_{1..p}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
In addition, we will also have &#039;&#039;&#039;response&#039;&#039;&#039; variable(s) &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{Y}&amp;lt;/math&amp;gt;, which is a made up of some &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt;-length vectors. &lt;br /&gt;
&lt;br /&gt;
So, our combined dataset consists of &amp;lt;math&amp;gt;[(\vec{x}_1,\vec{y}_1),(\vec{x}_2, \vec{y}_2),...,(\vec{x}_n,\vec{y}_n)]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Our Mission&#039;&#039;&#039;: determine relationships between &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{X}&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{Y}&amp;lt;/math&amp;gt; which are mathematically sound, leading to better understanding&lt;br /&gt;
&lt;br /&gt;
Typically a table has columns as features, rows as entries&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Entries&#039;&#039;&#039; might be &#039;&#039;&#039;numeric&#039;&#039;&#039; or &#039;&#039;&#039;categorical&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Data sources are either &#039;&#039;&#039;Structured&#039;&#039;&#039; or &#039;&#039;&#039;Unstructured&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
* Unstructured data will require some transformation. &lt;br /&gt;
&lt;br /&gt;
Some data may also be &#039;&#039;&#039;time series&#039;&#039;&#039; taking a sampling of points over time, contributing to a 3-dimensional &#039;&#039;&#039;Data Cub&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Several techniques can be used to reduce complex data: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;numeric representation&#039;&#039;&#039; mapping of categorical information into numbers. &lt;br /&gt;
* &#039;&#039;&#039;scaling&#039;&#039;&#039; redefine a new range for a predictor vector. &lt;br /&gt;
* &#039;&#039;&#039;normalization&#039;&#039;&#039; redefine a predictor by its mean and standard deviation, giving a normal distribution of values. &lt;br /&gt;
* &#039;&#039;&#039;dimension reduction&#039;&#039;&#039; lose fine grain of data, but gain understandability. &lt;br /&gt;
* &#039;&#039;&#039;feature extraction&#039;&#039;&#039; a data mining technique in which we can generate new predictors from known information&lt;br /&gt;
&lt;br /&gt;
==== Modeling ====&lt;br /&gt;
What is a model?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Very well-known model&#039;&#039;&#039;: Gravity is a functional model between masses, distances, and force. &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;F = G\frac{m_1m_2}{r^2} \rightarrow g = \frac{G M}{r^2} \rightarrow v(t) = v(0) - gt.&amp;lt;/math&amp;gt; &#039;&#039;&#039;&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;k = Ae^{\frac{E_a}{K_b T}}.&amp;lt;/math&amp;gt;Statistics definition&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X = (\vec{x}_1, \vec{x}_2, ..., \vec{x}_p)&amp;lt;/math&amp;gt; each of length &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt;, and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = (\vec{y})&amp;lt;/math&amp;gt; of length &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt;, then for &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt;, there exists a function with a &#039;&#039;&#039;systematic&#039;&#039;&#039; &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f&amp;lt;/math&amp;gt; and &#039;&#039;&#039;error term&#039;&#039;&#039; &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\varepsilon&amp;lt;/math&amp;gt;: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;Y = f(X) + \varepsilon&amp;lt;/math&amp;gt;Why do we even estimate &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f&amp;lt;/math&amp;gt; at all? &#039;&#039;&#039;Prediction&#039;&#039;&#039; or &#039;&#039;&#039;Inference&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Predictive models&#039;&#039;&#039; create an estimator &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\hat{f}&amp;lt;/math&amp;gt; which we can use to estimate &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; using a sample &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; from a larger population: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\hat{ Y} = \hat{f}(X)&amp;lt;/math&amp;gt; With error: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;E(Y - \hat{Y})^2 = [f(X) - \hat{f}(X)]^2 + \varepsilon&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Inference models&#039;&#039;&#039; are primarily interested in how &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; is affected by &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
* What predictors associated with response? &lt;br /&gt;
* What is the relationship of predictors to response? &lt;br /&gt;
* What is the overall nature of relationship between &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; and the predictors.&lt;br /&gt;
&lt;br /&gt;
==== Signal vs Noise ====&lt;br /&gt;
Consider &#039;&#039;&#039;precision&#039;&#039;&#039; and &#039;&#039;&#039;accuracy&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
* Both contribute into data set &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;noise:&#039;&#039;&#039; variation in data which detracts from constructing &#039;&#039;&#039;information&#039;&#039;&#039;, as opposed to &#039;&#039;&#039;signal&#039;&#039;&#039;–data which is representative of a system under study and contains information. &lt;br /&gt;
&lt;br /&gt;
High signal to noise allows us to minimize &#039;&#039;&#039;reducible error&#039;&#039;&#039;, caused by sampling technique. &lt;br /&gt;
&lt;br /&gt;
Different than &#039;&#039;&#039;irreducible error&#039;&#039;&#039;, created by factors we are not measuring.&lt;br /&gt;
&lt;br /&gt;
==== Error and Fit ====&lt;br /&gt;
In Modeling In the terms of modeling, precision of a model is referred to &#039;&#039;&#039;variance&#039;&#039;&#039; and the accuracy of a model its degree of &#039;&#039;&#039;bias&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Generally, overly complex models generate high variance, and can &#039;&#039;&#039;over-fit&#039;&#039;&#039; to input data, making the model useless to new data.&lt;br /&gt;
&lt;br /&gt;
Generally, &#039;&#039;&#039;Mean Square Error&#039;&#039;&#039; or MSE, used to determine goodness-of-fit for model calibration: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;MSE = \frac{1}{n}\sum^n_{i=1}(y_i - \hat{f}(x_i))^2&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Error rate used in classification: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{1}{n} \sum^n_{i=1} I(y_i \ne \hat{y}_i)&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
However for reporting, &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R^2&amp;lt;/math&amp;gt; statistic is more often used, because it gives a value between 0 and 1 useful to determine how much of variance in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; is explained by variance in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt;: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R^2 = 1 - \frac{\sum(y_i - \hat{y}_i)^2}{\sum(y_i - \bar{y})^2} = \frac{RSS}{TSS}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example functions relating &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
* A linear function: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = \beta_0 + \beta_1 X + \varepsilon&amp;lt;/math&amp;gt; &lt;br /&gt;
* A polynomial: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = \beta_0 + \beta_1 X + \beta_2 X + ... + \varepsilon&amp;lt;/math&amp;gt; &lt;br /&gt;
* A natural function: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = e^{-\alpha_0 X^{\alpha_1}} + \varepsilon&amp;lt;/math&amp;gt; &lt;br /&gt;
* A logistical function: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;p = \frac{ e^{\beta_0 + \beta_1 X} }{1 + e^{\beta_0 + \beta_1 X} }&amp;lt;/math&amp;gt; &lt;br /&gt;
* A series of nested &amp;lt;code&amp;gt;if&amp;lt;/code&amp;gt; statements &lt;br /&gt;
* A series of differential equations: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;x&#039; = x_n - \bar{x}_n: y&#039; = y_n - \beta_n x_n&#039;&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Why Machine Learning? ====&lt;br /&gt;
Types of Questions: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Exact Solution is known&#039;&#039;&#039; normal coding problems, linear models, and classical statistics. &lt;br /&gt;
* &#039;&#039;&#039;Exact Solution is unknown, but can be extracted with work&#039;&#039;&#039; work with systems experts and domain knowledge to create code. &lt;br /&gt;
* &#039;&#039;&#039;Exact Solution is known, but not yet conveyable&#039;&#039;&#039; ML is useful. &lt;br /&gt;
* &#039;&#039;&#039;Exact Solution not known by humans&#039;&#039;&#039; ML and/or Deep Learning needed&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Example:&#039;&#039; consider a prediction of temperature: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Knowledge Based Models&#039;&#039;&#039; &lt;br /&gt;
** Physics and atmospheric science based model. &lt;br /&gt;
** Up to differential equations on chaotic systems. &lt;br /&gt;
** As fine granularity of prediction increases, number of factors and density of data quickly becomes too much for most humans to consider &lt;br /&gt;
* &#039;&#039;&#039;Data Driven Models&#039;&#039;&#039; &lt;br /&gt;
** Use ML to provide &#039;&#039;&#039;iterative&#039;&#039;&#039; gain to reduce error &lt;br /&gt;
*** Known data→model creation→point toward new factors.&lt;br /&gt;
** Uses a split in training and testing data, or sum of error to move toward the correct answer.&lt;br /&gt;
** Human researchers more free to find more data, improve prediction, develop theories&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span&amp;gt;Techniques&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Machine Learning in General ===&lt;br /&gt;
&#039;&#039;&#039;Supervised Learning:&#039;&#039;&#039; the model estimates, error verifies &lt;br /&gt;
&lt;br /&gt;
* If incorrect, needs user input for correction.&lt;br /&gt;
* &#039;&#039;Example&#039;&#039;: a computer vision system trained to find features in images via user annotated images. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Unsupervised Learning:&#039;&#039;&#039; Clustering/Grouping of similar items&lt;br /&gt;
&lt;br /&gt;
* Need a similarity measure via feature vectors and ability to adjust weights &lt;br /&gt;
* &#039;&#039;Example&#039;&#039;: Taste prediction algorithms used in web advertising. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reinforced Learning&#039;&#039;&#039; Model estimates a sequence of guesses &lt;br /&gt;
&lt;br /&gt;
* Correct if and only if the entire sequence or a parameterized output scoring&lt;br /&gt;
* Instant feedback but high compute cost &lt;br /&gt;
* &#039;&#039;Example&#039;&#039;: Game-play in actor-environment model&lt;br /&gt;
&lt;br /&gt;
=== Types of Problems and Output ===&lt;br /&gt;
&#039;&#039;&#039;Numeric&#039;&#039;&#039; function maps &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; and output is in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mathbb{R}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Categorization&#039;&#039;&#039; non-orderable sorting &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Clustering&#039;&#039;&#039; finding principle ways groups differ &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Anomaly Detection&#039;&#039;&#039; finding data points which are out of the ordinary &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Actor Models&#039;&#039;&#039; real-time decision making or detailed simulation&lt;br /&gt;
&lt;br /&gt;
=== Predictive Models ===&lt;br /&gt;
Predictive ML models which are also Linear: &lt;br /&gt;
&lt;br /&gt;
* Utilize a split of training and test data: test-training or &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt;-fold cross-validation &lt;br /&gt;
* use a function mapping of one or more independent variables to the dependent variables, then re-evaluate to reduce error Includes techniques for mixed model reduction&lt;br /&gt;
* Reduction of the number of predictors via &#039;&#039;&#039;Lasso&#039;&#039;&#039;, &#039;&#039;&#039;Ridge&#039;&#039;&#039;, and &#039;&#039;&#039;Elastic Net&#039;&#039;&#039; techniques&lt;br /&gt;
&lt;br /&gt;
=== Feature-vector based models ===&lt;br /&gt;
Nested &amp;lt;code&amp;gt;if&amp;lt;/code&amp;gt; statements try to find decision boundaries by distance between independent data and dependent outcome features have weighted probability most information by Bayesian inference&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Decision Trees&#039;&#039;&#039; can be used to create decision models for linearly separable data effectively a neural network with one neuron&lt;br /&gt;
* &#039;&#039;&#039;Random Forest&#039;&#039;&#039; utilizes a number of differently-tuned trees trees provide consensus voting-based approach for non-linearly separable data smaller tree depth typically prevents over-fit&lt;br /&gt;
&lt;br /&gt;
=== Clustering ===&lt;br /&gt;
Groups data into cluster such that distance within clusters is small, and between differing groups is large &lt;br /&gt;
&lt;br /&gt;
Works with any well-defined &amp;amp;quot;distance&amp;amp;quot; function: Euclidean, Hamming, Inner Product, etc. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;k-Means Clustering:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
* choose &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt; number of clusters randomly distribute &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt; points, &#039;&#039;&#039;centroids&#039;&#039;&#039;, into feature space &lt;br /&gt;
* divide and classify data by distance to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt; centroids &lt;br /&gt;
* move centroids based on center of groups repeats until convergence to some epsilon value&lt;br /&gt;
* where points no longer move across iterations &lt;br /&gt;
* &#039;&#039;&#039;Goodness of Fit&#039;&#039;&#039; for &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;N-M&amp;lt;/math&amp;gt; possible values of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt;, an inflection in overall likelihood ratio given by probability function for set&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;K-nearest Neighbors:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Creates a probabilistic decision boundary within a feature space between &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;K&amp;lt;/math&amp;gt; centroids&lt;br /&gt;
&lt;br /&gt;
Unsupervised system to find structures of data works on majority voting system&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradient Boosting:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
System attempts to find the direction and vector of change in a dimensional field, and follow these iteratively to find local extrema. &lt;br /&gt;
&lt;br /&gt;
Most use some &#039;&#039;&#039;Quasi-Newton Method&#039;&#039;&#039; for finding extrema for faster centroid convergence. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Support Vector Machine:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Also known as SVM, applies a classifier into high-dimensional data to split points into groups some use a &#039;&#039;&#039;kernel trick.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Generates the inner product space of two arbitrary-dimensional numeric matrix spaces, showing the shape of data&lt;br /&gt;
&lt;br /&gt;
=== Genetic Algorithms ===&lt;br /&gt;
Utilize some adversarial scoring method of initially randomized vectors:&lt;br /&gt;
&lt;br /&gt;
* ’survivors’ become the basis of new models similar iterative concept to gradient methods.&lt;br /&gt;
* Does not have to understand topology of space requires creator to specify scoring for the machine .&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Convolutional Neural Networks:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Utilize iterative scoring between training and testing, along with &#039;&#039;&#039;gradient descent&#039;&#039;&#039; on a number of layered, weighted vectors to extract features from a complex data set. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Vision Systems&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Take high throughput data and simplify before work is done &#039;&#039;ex&#039;&#039;: 1080p @ 60fps &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\rightarrow&amp;lt;/math&amp;gt; 240x360 @ 15fps, broken into component channels Gaussian blur filter kernel applied to high-res images Edge detection via double threshold ML or CNN used past this to determine actual features&lt;br /&gt;
&lt;br /&gt;
==== Large Language Models ====&lt;br /&gt;
Large language models (LLMs) are stochastic systems which attempt to capture the &#039;shape&#039; of a language (a recursively enumerable language by [[wikipedia:Chomsky_hierarchy|Chomsky Hierarchy]]) by pulling successive tokens from a &#039;&#039;&#039;bag of words model&#039;&#039;&#039;; in this system, a corpus of text is transformed into a mathematical space of the tokens, which are substrings of the input language, and weights, which are a cosine similarity between tokens in a Hilbert space. In other words, a large language model is a function which descends the gradient of this space, and uses probability to arrive at what word goes next in a given completion. This mathematical loss minimization is performed sequentially as the text is generated, in what is known as &#039;&#039;&#039;self-attention&#039;&#039;&#039;, which relates different positions of text sequence in order to compute a representation of the sequence. This function takes the form:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\sum_{t=1}^T P(x_t | \vec{x}_{&amp;lt;t} \vec{x}_{i:j} )&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where tokens are generated until limit &#039;&#039;&#039;T&#039;&#039;&#039; is reached, and where there is a probability of another token generated as a function of previous tokens and the input. This functional setup is called an &#039;&#039;&#039;encoder-decoder&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
So, based on the corpus, and given an input, an encoder-decoder will try to create a response given an input. Usually, encoder-decoders are further trained by a process called &#039;&#039;&#039;Reinforcement Learning from Human Feedback&#039;&#039;&#039; (RLHF), in which human feedback is given in an iterative process until the underlying language weights prefer the trained preferences.&lt;br /&gt;
&lt;br /&gt;
====== To consider in regard to LLMs: ======&lt;br /&gt;
&lt;br /&gt;
* They are stochastic word generator machines, and contain structure, rather than problem solving logic.&lt;br /&gt;
* They are typically computationally expensive to run.&lt;br /&gt;
* They are typically monstrously computationally expensive to train.&lt;br /&gt;
* If equipped with enough memory for self-attention, they become a Turing Machine with Type-0 Grammar. &lt;br /&gt;
* They may occasionally generate incorrect information.&lt;br /&gt;
* They &#039;&#039;&#039;hallucinate&#039;&#039;&#039;, generating nonsense (verbal noise) when confronted with unexpected text not encountered in training. &lt;br /&gt;
* Because the attention of a model is limited, LLMs perform badly with large multi-step processes which require dense context.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Software Toolkit ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== Python ===&lt;br /&gt;
General purpose programming language with many libraries Interpreted language: each line is run one at a time by a virtual machine.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Dependency Structure&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;system&#039;&#039; vs &#039;&#039;user&#039;&#039; python &lt;br /&gt;
&lt;br /&gt;
virtualenv: &amp;lt;code&amp;gt;$ python3 -m venv /path/to/new/environment&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
pip libraries &amp;lt;code&amp;gt;$ pip list outdated format=freeze | grep -v | cut -d=&amp;quot; &amp;quot; -f1 | xargs -n1 pip install -U&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Anaconda ====&lt;br /&gt;
separate virtualenv system specifically for data science:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Spyder&#039;&#039;&#039; IDE with visual output &lt;br /&gt;
* &#039;&#039;&#039;JupyterLabs&#039;&#039;&#039; notes with data visualizations &lt;br /&gt;
* &#039;&#039;&#039;Orange&#039;&#039;&#039; visual IDE for stats exploration&lt;br /&gt;
* &amp;lt;code&amp;gt;pandas, NumPy, and SciPy&amp;lt;/code&amp;gt; libraries for data serialization and numerical work in python &lt;br /&gt;
* &amp;lt;code&amp;gt;matplotlib&amp;lt;/code&amp;gt; for data visualization &lt;br /&gt;
* &amp;lt;code&amp;gt;scikit-learn&amp;lt;/code&amp;gt; main library for ML &lt;br /&gt;
* &amp;lt;code&amp;gt;DASK&amp;lt;/code&amp;gt; distributed abstraction layer with &amp;lt;code&amp;gt;pandas&amp;lt;/code&amp;gt; grammar to easily distribute python tasks into 1-1000 compute nodes &lt;br /&gt;
* &amp;lt;code&amp;gt;PyTorch, and TensorFlow&amp;lt;/code&amp;gt; deep learning and CNN generation systems massive compute overhead to train models require data map reduction and or imputation to run well&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== R language ===&lt;br /&gt;
Statistical programming language: interpreter invokes compiled C or FORTRAN.&lt;br /&gt;
&lt;br /&gt;
Also works within Jupyter notebook for instant visualization, if wanted.&lt;br /&gt;
&lt;br /&gt;
Open-source and extended by the Comprehensive R Archive Network (CRAN), which includes extensive documentation.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;rmarkdown&amp;lt;/code&amp;gt; format a document from R with optional LaTeXbindings &lt;br /&gt;
* &amp;lt;code&amp;gt;tidyverse&amp;lt;/code&amp;gt; &lt;br /&gt;
** &amp;lt;code&amp;gt;dplyr&amp;lt;/code&amp;gt; grammar for mass data manipulation &lt;br /&gt;
** &amp;lt;code&amp;gt;ggplot2&amp;lt;/code&amp;gt; a library for creating graphs and visualizations &lt;br /&gt;
* &amp;lt;code&amp;gt;doparallel&amp;lt;/code&amp;gt; cost-free abstraction, pooling of CPU threads &lt;br /&gt;
* &amp;lt;code&amp;gt;mlr&amp;lt;/code&amp;gt; interface to a large number of classification and regression techniques &lt;br /&gt;
* &amp;lt;code&amp;gt;shiny&amp;lt;/code&amp;gt; provides ability to create web servers similar to NodeJS or Python Flaskl&lt;br /&gt;
&lt;br /&gt;
=== Intel MKL (Math Kernel Library) ===&lt;br /&gt;
Improves performance for Fast Fourier Transforms, linear algebra operations, vector math, deep neural networks, and kernel solvers. &lt;br /&gt;
&lt;br /&gt;
Default math backend for NumPy, SciPy, and MATLAB &lt;br /&gt;
&lt;br /&gt;
Not hardware agnostic: chooses slowest solvers for non-Intel chips by default &lt;br /&gt;
&lt;br /&gt;
=== OpenBLAS and LAPACK ===&lt;br /&gt;
&#039;&#039;&#039;LAPACK&#039;&#039;&#039; (Linear Algebra PACKage) provides APIs much like MKL &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;OpenBLAS&#039;&#039;&#039; (Basic Linear Algebra Subprograms) extends LAPACK with optimizations for parallel computing &lt;br /&gt;
&lt;br /&gt;
Default for R and Biopython&lt;br /&gt;
&lt;br /&gt;
=== Message Passing Interface (MPI) ===&lt;br /&gt;
Supported by all major compilers (Intel and OpenMP implementations) &lt;br /&gt;
&lt;br /&gt;
An API supporting shared-memory multiprocessing provides backend for many parallel computing systems, allowing for multi-threaded access &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;ex&#039;&#039;: &amp;lt;code&amp;gt;mpirun -np $NUM_PROC /path/to/coolProgram &amp;amp;lt; $INPUT &amp;amp;gt; /path/to/output&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== GNU Parallel ===&lt;br /&gt;
simple vectorization of loops over processors for non-multithreaded processes &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;ex&#039;&#039;: &amp;lt;code&amp;gt;parallel -j $NUM_PROC /path/to/thescript.sh ::: 1..n ::: 1..m&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CUDA/OpenCL ===&lt;br /&gt;
Nvidia-specific &#039;&#039;&#039;CUDA&#039;&#039;&#039; and open-source &#039;&#039;&#039;OpenCL&#039;&#039;&#039; provide a hardware abstracting API for using GPU for compute tasks &lt;br /&gt;
&lt;br /&gt;
must-have for Pytorch or TensorFlow workloads &lt;br /&gt;
&lt;br /&gt;
Nomenclature Divergence &lt;br /&gt;
&lt;br /&gt;
* CUDA thread = OpenCL work item = CPU lane &lt;br /&gt;
* CUDA multiprocessor = OpenCL compute unit = CPU&lt;br /&gt;
&lt;br /&gt;
=== High Performance Computers ===&lt;br /&gt;
HPC or super-computing clusters provide high throughput analysis.&lt;br /&gt;
&lt;br /&gt;
Amazingly high amount of computational power.&lt;br /&gt;
&lt;br /&gt;
Need to plan your analysis.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NDSU Center for Computationally-Assisted Science and Technology (CCAST)&#039;&#039;&#039; provides a platform for these workloads connect via &amp;lt;code&amp;gt;ssh&amp;lt;/code&amp;gt; uses loadable modules: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;ex:&#039;&#039; &amp;lt;code&amp;gt;module load parallel&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
batch processing via PBS scripting&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span&amp;gt;Continued Learning&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== General Programming/Computers Websites ===&lt;br /&gt;
&lt;br /&gt;
* StackOverflow.com - check before asking new questions &lt;br /&gt;
* RosettaCode.org - data structures and algorithms in many languages &lt;br /&gt;
* Linux.die.net/man/ - the Linux manual &lt;br /&gt;
* grymoire.com/Unix/ - more *nix CLI tutorials&lt;br /&gt;
&lt;br /&gt;
=== Python ===&lt;br /&gt;
&lt;br /&gt;
* docs.python.org/3/ - the official python documentation &lt;br /&gt;
* docs.python.org/3/tutorial - the official tutorial &lt;br /&gt;
* diveintopython.net - guided tutorial online &lt;br /&gt;
* pythontutor.com - visual debugger &lt;br /&gt;
&lt;br /&gt;
=== R ===&lt;br /&gt;
&lt;br /&gt;
* cran.r-project.org - CRAN &lt;br /&gt;
* cran.r-project.org/manuals.html &lt;br /&gt;
* rdrr.io - meta-manual lookup and many other tools for R &lt;br /&gt;
* swirlstats.com - learn R, in R &lt;br /&gt;
* statlearning.com - statistical machine learning coursework&lt;br /&gt;
&lt;br /&gt;
=== Recommended Reading ===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;An Introduction to Statistical Machine Learning&#039;&#039; by Gareth James et al. &lt;br /&gt;
* &#039;&#039;A Primer on Scientific Programming with Python&#039;&#039; by Hans Petter Langtangen &lt;br /&gt;
* &#039;&#039;R for Data Science&#039;&#039; by Wickham and Grolmund&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Ffmpeg&amp;diff=150</id>
		<title>Ffmpeg</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Ffmpeg&amp;diff=150"/>
		<updated>2022-11-22T23:31:31Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: not computer code&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ffmpeg is a free and open-source suite of programs which allow for the conversion and creation of video, audio, and image files. While ffmpeg can be thought of as a swiss-army knife for multimedia formats, we can use ffmpeg on the output of VMD (or any other MD sim) to create smooth animations. &lt;br /&gt;
==Installation==&lt;br /&gt;
Linux and Mac OSX users can use the built-in package manager to install ffmpeg via command line:&lt;br /&gt;
&lt;br /&gt;
* Ubuntu/Debian Linux: &amp;lt;code&amp;gt;# sudo apt install ffmpeg&amp;lt;/code&amp;gt;&lt;br /&gt;
* Mac OSX via homebrew: &amp;lt;code&amp;gt;$ brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-libass --with-libquvi --with-libvorbis --with-libvpx --with-opus --with-x265&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Windows users can install manually using packages built by community package maintainers: &lt;br /&gt;
&lt;br /&gt;
* Download &#039;release&#039; package build archive from https://www.gyan.dev/ffmpeg/builds/ &lt;br /&gt;
* Unzip into an easy-to-find folder, such as &amp;lt;code&amp;gt;C:\ffmpeg&amp;lt;/code&amp;gt;&lt;br /&gt;
* To add ffmpeg to your system &amp;lt;code&amp;gt;PATH&amp;lt;/code&amp;gt;, so that you can run it from any window, open a CMD/Powershell window as Administrator, then run: &amp;lt;code&amp;gt;setx /M PATH &amp;quot;%PATH%;C:\ffmpeg\bin&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In any case, ffmpeg can now be invoked from a command-line. To make sure we have a working system, you can run: &amp;lt;code&amp;gt;ffmpeg -version&amp;lt;/code&amp;gt; to display information about the build. &lt;br /&gt;
&lt;br /&gt;
== Use with VMD ==&lt;br /&gt;
ffmpeg is already linked against VMD in the Unix versions of the program. For Windows users, Navigating to &#039;Extensions &amp;gt; Movie Maker&#039; will allow the creation of a number of images, one per step size specified, which are saved to a specified folder. After creating these images, you can perform the following to create a movie file: &lt;br /&gt;
&lt;br /&gt;
* change to the directory: &amp;lt;code&amp;gt;cd C:\output_folder\&amp;lt;/code&amp;gt;&lt;br /&gt;
* to make an MP4 with 30 frames a second from images in the format starting &#039;output.0001.bmp&#039;: &amp;lt;code&amp;gt;ffmpeg -r 30 -crf 25 -i output.%04d.bmp yourmovietitle.mp4&amp;lt;/code&amp;gt;&lt;br /&gt;
* to make a WMV with the same settings: &amp;lt;code&amp;gt;ffmpeg -r 30 -crf 25 -i output.%04d.bmp yourmovietitle.mpv&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ffmpeg will read sequentially across the pattern %04d as input -i, and create a movie with rate -r and quality -crf. Many other options are possible, and would require a look at the ffmpeg documentation. &lt;br /&gt;
&lt;br /&gt;
== Outside Resource ==&lt;br /&gt;
ffmpeg homepage wiki: https://trac.ffmpeg.org/wiki&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Ffmpeg&amp;diff=149</id>
		<title>Ffmpeg</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Ffmpeg&amp;diff=149"/>
		<updated>2022-11-22T23:29:49Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: quote mark typo edit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ffmpeg is a free and open-source suite of programs which allow for the conversion and creation of video, audio, and image files. While ffmpeg can be thought of as a swiss-army knife for multimedia formats, we can use ffmpeg on the output of VMD (or any other MD sim) to create smooth animations. &lt;br /&gt;
==Installation==&lt;br /&gt;
Linux and Mac OSX users can use the built-in package manager to install ffmpeg via command line:&lt;br /&gt;
&lt;br /&gt;
* Ubuntu/Debian Linux: &amp;lt;code&amp;gt;# sudo apt install ffmpeg&amp;lt;/code&amp;gt;&lt;br /&gt;
* Mac OSX via homebrew: &amp;lt;code&amp;gt;$ brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-libass --with-libquvi --with-libvorbis --with-libvpx --with-opus --with-x265&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Windows users can install manually using packages built by community package maintainers: &lt;br /&gt;
&lt;br /&gt;
* Download &#039;release&#039; package build archive from https://www.gyan.dev/ffmpeg/builds/ &lt;br /&gt;
* Unzip into an easy-to-find folder, such as &amp;lt;code&amp;gt;C:\ffmpeg&amp;lt;/code&amp;gt;&lt;br /&gt;
* To add ffmpeg to your system &amp;lt;code&amp;gt;PATH&amp;lt;/code&amp;gt;, so that you can run it from any window, open a CMD/Powershell window as Administrator, then run: &amp;lt;code&amp;gt;setx /M PATH &amp;quot;%PATH%;C:\ffmpeg\bin&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In any case, ffmpeg can now be invoked from a command-line. To make sure we have a working system, you can run: &amp;lt;code&amp;gt;ffmpeg -version&amp;lt;/code&amp;gt; to display information about the build. &lt;br /&gt;
&lt;br /&gt;
== Use with VMD ==&lt;br /&gt;
ffmpeg is already linked against VMD in the Unix versions of the program. For Windows users, Navigating to &#039;Extensions &amp;gt; Movie Maker&#039; will allow the creation of a number of images, one per step size specified, which are saved to a specified folder. After creating these images, you can perform the following to create a movie file: &lt;br /&gt;
&lt;br /&gt;
* change to the directory: &amp;lt;code&amp;gt;cd C:\output_folder\&amp;lt;/code&amp;gt;&lt;br /&gt;
* to make an MP4 with 30 frames a second from images in the format starting &amp;lt;code&amp;gt;output.0001.bmp&amp;lt;/code&amp;gt;: &amp;lt;code&amp;gt;ffmpeg -r 30 -crf 25 -i output.%04d.bmp yourmovietitle.mp4&amp;lt;/code&amp;gt;&lt;br /&gt;
* to make a WMV with the same settings: &amp;lt;code&amp;gt;ffmpeg -r 30 -crf 25 -i output.%04d.bmp yourmovietitle.mpv&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ffmpeg will read sequentially across the pattern %04d as input -i, and create a movie with rate -r and quality -crf. Many other options are possible, and would require a look at the ffmpeg documentation. &lt;br /&gt;
&lt;br /&gt;
== Outside Resource ==&lt;br /&gt;
ffmpeg homepage wiki: https://trac.ffmpeg.org/wiki&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Main_Page&amp;diff=148</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Main_Page&amp;diff=148"/>
		<updated>2022-11-08T20:49:17Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Welcome to the Rasulev Research Group Wiki!=&lt;br /&gt;
==The Computational Polymer Science and Cheminformatics Group at North Dakota State University==&lt;br /&gt;
This page hosts the tutorials and procedures for the group. Implementing MediaWiki, it provides a platform to organize knowledge and make it available to both lab collaborators and students. &lt;br /&gt;
&lt;br /&gt;
=== [[File:OOjs UI icon edit-ltr.svg|20px|middle|link=]]Topic Crash Courses ===&lt;br /&gt;
* [[Statistical Machine Learning]]&lt;br /&gt;
* [[Unix crash course|Unix Crash Course]]&lt;br /&gt;
===[[File:OOjs UI icon chem.svg|20px|middle|link=]]Lab Procedures and Software Tutorials===&lt;br /&gt;
&amp;lt;div class=&amp;quot;col&amp;quot;&amp;gt;&lt;br /&gt;
* [[ADF ReaxFF]]&lt;br /&gt;
* [[Avogadro Procedure|Avogadro]]&lt;br /&gt;
* [[BuildQsar Procedure|BuildQSAR]]&lt;br /&gt;
* [[ChemDraw Procedure|ChemDraw]]&lt;br /&gt;
* [[ChemSketchProcedure|ChemSketch]]&lt;br /&gt;
* [[Ffmpeg|Creating animations with ffmpeg]]&lt;br /&gt;
* [[Dragon5 Procedure|Dragon5]]&lt;br /&gt;
* [[Generating Descriptors Workflow]]&lt;br /&gt;
* [[HyperChem]]&lt;br /&gt;
* [[Jupyterlab anaconda|JupyterLab]]&lt;br /&gt;
* [[OpenBabelGUI]]&lt;br /&gt;
* [[QSARINS Procedure|QSARINS]]&lt;br /&gt;
* [[VASP and VMD on CCAST|VASP]]&lt;br /&gt;
* [[WEKA Steps for Loading Data|WEKA]]&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
===[[File:OOjs UI icon advanced.svg|20px|middle|link=]]Benchmarks and Findings===&lt;br /&gt;
* [[Benchmarking NAMD workflows for GPU containers]]&lt;br /&gt;
&lt;br /&gt;
__NOEDITSECTION__&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Template:Div_col&amp;diff=147</id>
		<title>Template:Div col</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Template:Div_col&amp;diff=147"/>
		<updated>2022-11-08T20:33:01Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: created div column css&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;/* {{pp|small=yes}} */&lt;br /&gt;
.div-col {&lt;br /&gt;
	margin-top: 0.3em;&lt;br /&gt;
	column-width: 30em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.div-col-rules {&lt;br /&gt;
	column-rule: 1px solid #aaa;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Reset top margin for lists in div col */&lt;br /&gt;
.div-col dl,&lt;br /&gt;
.div-col ol,&lt;br /&gt;
.div-col ul {&lt;br /&gt;
	margin-top: 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Avoid elements breaking between columns&lt;br /&gt;
   See also Template:No col break */&lt;br /&gt;
.div-col li,&lt;br /&gt;
.div-col dd {&lt;br /&gt;
	page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */&lt;br /&gt;
	break-inside: avoid-column;&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Main_Page&amp;diff=146</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Main_Page&amp;diff=146"/>
		<updated>2022-11-08T19:42:10Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div&amp;gt;&lt;br /&gt;
=Welcome to the Rasulev Research Group Wiki!=&lt;br /&gt;
==The Computational Polymer Science and Cheminformatics Group at North Dakota State University==&lt;br /&gt;
&lt;br /&gt;
This page hosts the tutorials and procedures for the group. Implementing MediaWiki, it provides a platform to organize knowledge and make it available to both lab collaborators and students. &lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== [[File:OOjs UI icon edit-ltr.svg|20px|middle|link=]]Topic Crash Courses ===&lt;br /&gt;
&lt;br /&gt;
* [[Statistical Machine Learning]]&lt;br /&gt;
* [[Unix crash course|Unix Crash Course]]&amp;lt;div id=&amp;quot;audiences&amp;quot; class=&amp;quot;mainpage_row&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;mainpage_box&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;h3&amp;gt;&amp;lt;span class=&amp;quot;header_icon&amp;quot; aria-hidden=&amp;quot;true&amp;quot; role=&amp;quot;presentation&amp;quot;&amp;gt;[[File:OOjs UI icon chem.svg|20px|middle|link=]]&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;Lab Procedures and Software Tutorials&amp;lt;/span&amp;gt;&amp;lt;/h3&amp;gt;&lt;br /&gt;
    &amp;lt;div&amp;gt;&lt;br /&gt;
* [[ADF ReaxFF]]&lt;br /&gt;
* [[Avogadro Procedure|Avogadro]]&lt;br /&gt;
* [[BuildQsar Procedure|BuildQSAR]]&lt;br /&gt;
* [[ChemDraw Procedure|ChemDraw]]&lt;br /&gt;
* [[ChemSketchProcedure|ChemSketch]]&lt;br /&gt;
* [[Ffmpeg|Creating animations with ffmpeg]]&lt;br /&gt;
* [[Dragon5 Procedure|Dragon5]]&lt;br /&gt;
* [[Generating Descriptors Workflow]]&lt;br /&gt;
* [[HyperChem]]&lt;br /&gt;
* [[Jupyterlab anaconda|JupyterLab]]&lt;br /&gt;
* [[OpenBabelGUI]]&lt;br /&gt;
* [[QSARINS Procedure|QSARINS]]&lt;br /&gt;
* [[VASP and VMD on CCAST|VASP]]&lt;br /&gt;
* [[WEKA Steps for Loading Data|WEKA]]&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;div id=&amp;quot;audiences&amp;quot; class=&amp;quot;mainpage_row&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;div class=&amp;quot;mainpage_box&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;h3&amp;gt;&amp;lt;span class=&amp;quot;header_icon&amp;quot; aria-hidden=&amp;quot;true&amp;quot; role=&amp;quot;presentation&amp;quot;&amp;gt;[[File:OOjs UI icon advanced.svg|20px|middle|link=]]&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;Benchmarks and Findings&amp;lt;/span&amp;gt;&amp;lt;/h3&amp;gt;&lt;br /&gt;
    &amp;lt;div&amp;gt;&lt;br /&gt;
* [[Benchmarking NAMD workflows for GPU containers]]&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOEDITSECTION__&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Ffmpeg&amp;diff=145</id>
		<title>Ffmpeg</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Ffmpeg&amp;diff=145"/>
		<updated>2022-11-08T19:41:01Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Created FFMPEG tutorial page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ffmpeg is a free and open-source suite of programs which allow for the conversion and creation of video, audio, and image files. While ffmpeg can be thought of as a swiss-army knife for multimedia formats, we can use ffmpeg on the output of VMD (or any other MD sim) to create smooth animations. &lt;br /&gt;
==Installation==&lt;br /&gt;
Linux and Mac OSX users can use the built-in package manager to install ffmpeg via command line:&lt;br /&gt;
&lt;br /&gt;
* Ubuntu/Debian Linux: &amp;lt;code&amp;gt;# sudo apt install ffmpeg&amp;lt;/code&amp;gt;&lt;br /&gt;
* Mac OSX via homebrew: &amp;lt;code&amp;gt;$ brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-libass --with-libquvi --with-libvorbis --with-libvpx --with-opus --with-x265&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Windows users can install manually using packages built by community package maintainers: &lt;br /&gt;
&lt;br /&gt;
* Download &#039;release&#039; package build archive from https://www.gyan.dev/ffmpeg/builds/ &lt;br /&gt;
* Unzip into an easy-to-find folder, such as &amp;lt;code&amp;gt;C:\ffmpeg&amp;lt;/code&amp;gt;&lt;br /&gt;
* To add ffmpeg to your system &amp;lt;code&amp;gt;PATH&amp;lt;/code&amp;gt;, so that you can run it from any window, open a CMD/Powershell window as Administrator, then run: &amp;lt;code&amp;gt;setx /M PATH &amp;quot;%PATH%;C:\ffmpeg\bin&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In any case, ffmpeg can now be invoked from a command-line. To make sure we have a working system, you can run: &amp;lt;code&amp;gt;ffmpeg -version&amp;lt;/code&amp;gt; to display information about the build. &lt;br /&gt;
&lt;br /&gt;
== Use with VMD ==&lt;br /&gt;
ffmpeg is already linked against VMD in the Unix versions of the program. For Windows users, Navigating to &#039;Extensions &amp;gt; Movie Maker&#039; will allow the creation of a number of images, one per step size specified, which are saved to a specified folder. After creating these images, you can perform the following to create a movie file: &lt;br /&gt;
&lt;br /&gt;
* change to the directory: &amp;lt;code&amp;gt;cd C:\output_folder\&amp;lt;/code&amp;gt;&lt;br /&gt;
* to make an MP4 with 30 frames a second from images in the format starting &amp;lt;code&amp;gt;output.0001.bmp&amp;lt;/code&amp;gt;: &amp;lt;code&amp;gt;ffmpeg -r 30 -crf 25 -i output.%04d.bmp yourmovietitle.mp4&amp;lt;/code&amp;gt;&lt;br /&gt;
* to make a WMV with the same settings: &amp;lt;code&amp;gt;ffmpeg -r 30 -crf 25 -i output.%04d.bmp yourmovietitle.mpv&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ffmpeg will read sequentially across the pattern %04d as input -i, and create a movie with rate -r and quality -crf. Many other options are possible, and would require a look at the ffmpeg documentation. &lt;br /&gt;
&lt;br /&gt;
== Outside Resource ==&lt;br /&gt;
ffmpeg homepage wiki: https://trac.ffmpeg.org/wiki&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Statistical_Machine_Learning&amp;diff=144</id>
		<title>Statistical Machine Learning</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Statistical_Machine_Learning&amp;diff=144"/>
		<updated>2022-11-08T19:16:12Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: /* GNU Parallel */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== &amp;lt;span&amp;gt;Overview&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
A crash course to enable gentle introduction into the machine learning techniques and its applications into data science. &lt;br /&gt;
&lt;br /&gt;
Topics Covered: &lt;br /&gt;
&lt;br /&gt;
* Basic Concepts &lt;br /&gt;
* Data Models &lt;br /&gt;
* Machine Learning &lt;br /&gt;
* ML Techniques &lt;br /&gt;
* Software Toolkit &lt;br /&gt;
* Continued Learning&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span&amp;gt;Basic Concepts&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== Definitions: ===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Statistical Machine Learning&#039;&#039;&#039; is a set of tools used to model and understand complex data sets &lt;br /&gt;
* &#039;&#039;&#039;Data Science&#039;&#039;&#039; is a set of techniques in computing to support the analysis of data &lt;br /&gt;
** Not very useful without some domain knowledge: it is important to &#039;&#039;know your data&#039;&#039;. &lt;br /&gt;
* Includes analytic techniques: &lt;br /&gt;
** descriptive statistics &lt;br /&gt;
** data visualization &lt;br /&gt;
** statistical machine learning &lt;br /&gt;
** neural networks&lt;br /&gt;
** actor-environment models &lt;br /&gt;
* Also includes computational techniques: &lt;br /&gt;
** database administration &lt;br /&gt;
** management of information systems &lt;br /&gt;
** parallelization &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\rightarrow&amp;lt;/math&amp;gt; high performance computing&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Basic Concepts ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
==== Knowing your data ====&lt;br /&gt;
Technical definition: &lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt; represent a number of distinct &#039;&#039;&#039;observations&#039;&#039;&#039;, and let &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;p&amp;lt;/math&amp;gt; represent a number of &#039;&#039;&#039;predictors&#039;&#039;&#039; Then, our observed data &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{X}&amp;lt;/math&amp;gt; is an &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n\times p&amp;lt;/math&amp;gt; matrix with row observation vectors &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\vec{x}_{1..n}&amp;lt;/math&amp;gt; and column predictor vectors &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\vec{x}_{1..p}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
In addition, we will also have &#039;&#039;&#039;response&#039;&#039;&#039; variable(s) &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{Y}&amp;lt;/math&amp;gt;, which is a made up of some &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt;-length vectors. &lt;br /&gt;
&lt;br /&gt;
So, our combined dataset consists of &amp;lt;math&amp;gt;[(\vec{x}_1,\vec{y}_1),(\vec{x}_2, \vec{y}_2),...,(\vec{x}_n,\vec{y}_n)]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Our Mission&#039;&#039;&#039;: determine relationships between &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{X}&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{Y}&amp;lt;/math&amp;gt; which are mathematically sound, leading to better understanding&lt;br /&gt;
&lt;br /&gt;
Typically a table has columns as features, rows as entries&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Entries&#039;&#039;&#039; might be &#039;&#039;&#039;numeric&#039;&#039;&#039; or &#039;&#039;&#039;categorical&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Data sources are either &#039;&#039;&#039;Structured&#039;&#039;&#039; or &#039;&#039;&#039;Unstructured&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
* Unstructured data will require some transformation. &lt;br /&gt;
&lt;br /&gt;
Some data may also be &#039;&#039;&#039;time series&#039;&#039;&#039; taking a sampling of points over time, contributing to a 3-dimensional &#039;&#039;&#039;Data Cub&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Several techniques can be used to reduce complex data: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;numeric representation&#039;&#039;&#039; mapping of categorical information into numbers. &lt;br /&gt;
* &#039;&#039;&#039;scaling&#039;&#039;&#039; redefine a new range for a predictor vector. &lt;br /&gt;
* &#039;&#039;&#039;normalization&#039;&#039;&#039; redefine a predictor by its mean and standard deviation, giving a normal distribution of values. &lt;br /&gt;
* &#039;&#039;&#039;dimension reduction&#039;&#039;&#039; lose fine grain of data, but gain understandability. &lt;br /&gt;
* &#039;&#039;&#039;feature extraction&#039;&#039;&#039; a data mining technique in which we can generate new predictors from known information&lt;br /&gt;
&lt;br /&gt;
==== Modeling ====&lt;br /&gt;
What is a model?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Very well-known model&#039;&#039;&#039;: Gravity is a functional model between masses, distances, and force. &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;F = G\frac{m_1m_2}{r^2} \rightarrow g = \frac{G M}{r^2} \rightarrow v(t) = v(0) - gt.&amp;lt;/math&amp;gt; &#039;&#039;&#039;&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;k = Ae^{\frac{E_a}{K_b T}}.&amp;lt;/math&amp;gt;Statistics definition&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X = (\vec{x}_1, \vec{x}_2, ..., \vec{x}_p)&amp;lt;/math&amp;gt; each of length &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt;, and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = (\vec{y})&amp;lt;/math&amp;gt; of length &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt;, then for &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt;, there exists a function with a &#039;&#039;&#039;systematic&#039;&#039;&#039; &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f&amp;lt;/math&amp;gt; and &#039;&#039;&#039;error term&#039;&#039;&#039; &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\varepsilon&amp;lt;/math&amp;gt;: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;Y = f(X) + \varepsilon&amp;lt;/math&amp;gt;Why do we even estimate &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f&amp;lt;/math&amp;gt; at all? &#039;&#039;&#039;Prediction&#039;&#039;&#039; or &#039;&#039;&#039;Inference&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Predictive models&#039;&#039;&#039; create an estimator &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\hat{f}&amp;lt;/math&amp;gt; which we can use to estimate &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; using a sample &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; from a larger population: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\hat{ Y} = \hat{f}(X)&amp;lt;/math&amp;gt; With error: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;E(Y - \hat{Y})^2 = [f(X) - \hat{f}(X)]^2 + \varepsilon&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Inference models&#039;&#039;&#039; are primarily interested in how &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; is affected by &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
* What predictors associated with response? &lt;br /&gt;
* What is the relationship of predictors to response? &lt;br /&gt;
* What is the overall nature of relationship between &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; and the predictors.&lt;br /&gt;
&lt;br /&gt;
==== Signal vs Noise ====&lt;br /&gt;
Consider &#039;&#039;&#039;precision&#039;&#039;&#039; and &#039;&#039;&#039;accuracy&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
* Both contribute into data set &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;noise:&#039;&#039;&#039; variation in data which detracts from constructing &#039;&#039;&#039;information&#039;&#039;&#039;, as opposed to &#039;&#039;&#039;signal&#039;&#039;&#039;–data which is representative of a system under study and contains information. &lt;br /&gt;
&lt;br /&gt;
High signal to noise allows us to minimize &#039;&#039;&#039;reducible error&#039;&#039;&#039;, caused by sampling technique. &lt;br /&gt;
&lt;br /&gt;
Different than &#039;&#039;&#039;irreducible error&#039;&#039;&#039;, created by factors we are not measuring.&lt;br /&gt;
&lt;br /&gt;
==== Error and Fit ====&lt;br /&gt;
In Modeling In the terms of modeling, precision of a model is referred to &#039;&#039;&#039;variance&#039;&#039;&#039; and the accuracy of a model its degree of &#039;&#039;&#039;bias&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Generally, overly complex models generate high variance, and can &#039;&#039;&#039;over-fit&#039;&#039;&#039; to input data, making the model useless to new data.&lt;br /&gt;
&lt;br /&gt;
Generally, &#039;&#039;&#039;Mean Square Error&#039;&#039;&#039; or MSE, used to determine goodness-of-fit for model calibration: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;MSE = \frac{1}{n}\sum^n_{i=1}(y_i - \hat{f}(x_i))^2&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Error rate used in classification: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{1}{n} \sum^n_{i=1} I(y_i \ne \hat{y}_i)&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
However for reporting, &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R^2&amp;lt;/math&amp;gt; statistic is more often used, because it gives a value between 0 and 1 useful to determine how much of variance in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; is explained by variance in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt;: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R^2 = 1 - \frac{\sum(y_i - \hat{y}_i)^2}{\sum(y_i - \bar{y})^2} = \frac{RSS}{TSS}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example functions relating &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
* A linear function: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = \beta_0 + \beta_1 X + \varepsilon&amp;lt;/math&amp;gt; &lt;br /&gt;
* A polynomial: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = \beta_0 + \beta_1 X + \beta_2 X + ... + \varepsilon&amp;lt;/math&amp;gt; &lt;br /&gt;
* A natural function: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = e^{-\alpha_0 X^{\alpha_1}} + \varepsilon&amp;lt;/math&amp;gt; &lt;br /&gt;
* A logistical function: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;p = \frac{ e^{\beta_0 + \beta_1 X} }{1 + e^{\beta_0 + \beta_1 X} }&amp;lt;/math&amp;gt; &lt;br /&gt;
* A series of nested &amp;lt;code&amp;gt;if&amp;lt;/code&amp;gt; statements &lt;br /&gt;
* A series of differential equations: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;x&#039; = x_n - \bar{x}_n: y&#039; = y_n - \beta_n x_n&#039;&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Why Machine Learning? ====&lt;br /&gt;
Types of Questions: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Exact Solution is known&#039;&#039;&#039; normal coding problems, linear models, and classical statistics. &lt;br /&gt;
* &#039;&#039;&#039;Exact Solution is unknown, but can be extracted with work&#039;&#039;&#039; work with systems experts and domain knowledge to create code. &lt;br /&gt;
* &#039;&#039;&#039;Exact Solution is known, but not yet conveyable&#039;&#039;&#039; ML is useful. &lt;br /&gt;
* &#039;&#039;&#039;Exact Solution not known by humans&#039;&#039;&#039; ML and/or Deep Learning needed&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Example:&#039;&#039; consider a prediction of temperature: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Knowledge Based Models&#039;&#039;&#039; &lt;br /&gt;
** Physics and atmospheric science based model. &lt;br /&gt;
** Up to differential equations on chaotic systems. &lt;br /&gt;
** As fine granularity of prediction increases, number of factors and density of data quickly becomes too much for most humans to consider &lt;br /&gt;
* &#039;&#039;&#039;Data Driven Models&#039;&#039;&#039; &lt;br /&gt;
** Use ML to provide &#039;&#039;&#039;iterative&#039;&#039;&#039; gain to reduce error &lt;br /&gt;
*** Known data→model creation→point toward new factors.&lt;br /&gt;
** Uses a split in training and testing data, or sum of error to move toward the correct answer.&lt;br /&gt;
** Human researchers more free to find more data, improve prediction, develop theories&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span&amp;gt;Techniques&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Machine Learning in General ===&lt;br /&gt;
&#039;&#039;&#039;Supervised Learning:&#039;&#039;&#039; the model estimates, error verifies &lt;br /&gt;
&lt;br /&gt;
* If incorrect, needs user input for correction.&lt;br /&gt;
* &#039;&#039;Example&#039;&#039;: a computer vision system trained to find features in images via user annotated images. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Unsupervised Learning:&#039;&#039;&#039; Clustering/Grouping of similar items&lt;br /&gt;
&lt;br /&gt;
* Need a similarity measure via feature vectors and ability to adjust weights &lt;br /&gt;
* &#039;&#039;Example&#039;&#039;: Taste prediction algorithms used in web advertising. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reinforced Learning&#039;&#039;&#039; Model estimates a sequence of guesses &lt;br /&gt;
&lt;br /&gt;
* Correct if and only if the entire sequence or a parameterized output scoring&lt;br /&gt;
* Instant feedback but high compute cost &lt;br /&gt;
* &#039;&#039;Example&#039;&#039;: Game-play in actor-environment model&lt;br /&gt;
&lt;br /&gt;
=== Types of Problems and Output ===&lt;br /&gt;
&#039;&#039;&#039;Numeric&#039;&#039;&#039; function maps &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; and output is in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mathbb{R}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Categorization&#039;&#039;&#039; non-orderable sorting &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Clustering&#039;&#039;&#039; finding principle ways groups differ &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Anomaly Detection&#039;&#039;&#039; finding data points which are out of the ordinary &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Actor Models&#039;&#039;&#039; real-time decision making or detailed simulation&lt;br /&gt;
&lt;br /&gt;
=== Predictive Models ===&lt;br /&gt;
Predictive ML models which are also Linear: &lt;br /&gt;
&lt;br /&gt;
* Utilize a split of training and test data: test-training or &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt;-fold cross-validation &lt;br /&gt;
* use a function mapping of one or more independent variables to the dependent variables, then re-evaluate to reduce error Includes techniques for mixed model reduction&lt;br /&gt;
* Reduction of the number of predictors via &#039;&#039;&#039;Lasso&#039;&#039;&#039;, &#039;&#039;&#039;Ridge&#039;&#039;&#039;, and &#039;&#039;&#039;Elastic Net&#039;&#039;&#039; techniques&lt;br /&gt;
&lt;br /&gt;
=== Feature-vector based models ===&lt;br /&gt;
Nested &amp;lt;code&amp;gt;if&amp;lt;/code&amp;gt; statements try to find decision boundaries by distance between independent data and dependent outcome features have weighted probability most information by Bayesian inference&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Decision Trees&#039;&#039;&#039; can be used to create decision models for linearly separable data effectively a neural network with one neuron&lt;br /&gt;
* &#039;&#039;&#039;Random Forest&#039;&#039;&#039; utilizes a number of differently-tuned trees trees provide consensus voting-based approach for non-linearly separable data smaller tree depth typically prevents over-fit&lt;br /&gt;
&lt;br /&gt;
=== Clustering ===&lt;br /&gt;
Groups data into cluster such that distance within clusters is small, and between differing groups is large &lt;br /&gt;
&lt;br /&gt;
Works with any well-defined &amp;amp;quot;distance&amp;amp;quot; function: Euclidean, Hamming, Inner Product, etc. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;k-Means Clustering:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
* choose &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt; number of clusters randomly distribute &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt; points, &#039;&#039;&#039;centroids&#039;&#039;&#039;, into feature space &lt;br /&gt;
* divide and classify data by distance to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt; centroids &lt;br /&gt;
* move centroids based on center of groups repeats until convergence to some epsilon value&lt;br /&gt;
* where points no longer move across iterations &lt;br /&gt;
* &#039;&#039;&#039;Goodness of Fit&#039;&#039;&#039; for &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;N-M&amp;lt;/math&amp;gt; possible values of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt;, an inflection in overall likelihood ratio given by probability function for set&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;K-nearest Neighbors:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Creates a probabilistic decision boundary within a feature space between &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;K&amp;lt;/math&amp;gt; centroids&lt;br /&gt;
&lt;br /&gt;
Unsupervised system to find structures of data works on majority voting system&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradient Boosting:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
System attempts to find the direction and vector of change in a dimensional field, and follow these iteratively to find local extrema. &lt;br /&gt;
&lt;br /&gt;
Most use some &#039;&#039;&#039;Quasi-Newton Method&#039;&#039;&#039; for finding extrema for faster centroid convergence. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Support Vector Machine:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Also known as SVM, applies a classifier into high-dimensional data to split points into groups some use a &#039;&#039;&#039;kernel trick.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Generates the inner product space of two arbitrary-dimensional numeric matrix spaces, showing the shape of data&lt;br /&gt;
&lt;br /&gt;
=== Genetic Algorithms ===&lt;br /&gt;
Utilize some adversarial scoring method of initially randomized vectors:&lt;br /&gt;
&lt;br /&gt;
* ’survivors’ become the basis of new models similar iterative concept to gradient methods.&lt;br /&gt;
* Does not have to understand topology of space requires creator to specify scoring for the machine .&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Convolutional Neural Networks:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Utilize iterative scoring between training and testing, along with &#039;&#039;&#039;gradient descent&#039;&#039;&#039; on a number of layered, weighted vectors to extract features from a complex data set. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Vision Systems&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Take high throughput data and simplify before work is done &#039;&#039;ex&#039;&#039;: 1080p @ 60fps &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\rightarrow&amp;lt;/math&amp;gt; 240x360 @ 15fps, broken into component channels Gaussian blur filter kernel applied to high-res images Edge detection via double threshold ML or CNN used past this to determine actual features&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Software Toolkit ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== Python ===&lt;br /&gt;
General purpose programming language with many libraries Interpreted language: each line is run one at a time by a virtual machine.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Dependency Structure&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;system&#039;&#039; vs &#039;&#039;user&#039;&#039; python &lt;br /&gt;
&lt;br /&gt;
virtualenv: &amp;lt;code&amp;gt;$ python3 -m venv /path/to/new/environment&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
pip libraries &amp;lt;code&amp;gt;$ pip list outdated format=freeze | grep -v | cut -d=&amp;quot; &amp;quot; -f1 | xargs -n1 pip install -U&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Anaconda ====&lt;br /&gt;
separate virtualenv system specifically for data science:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Spyder&#039;&#039;&#039; IDE with visual output &lt;br /&gt;
* &#039;&#039;&#039;JupyterLabs&#039;&#039;&#039; notes with data visualizations &lt;br /&gt;
* &#039;&#039;&#039;Orange&#039;&#039;&#039; visual IDE for stats exploration&lt;br /&gt;
* &amp;lt;code&amp;gt;pandas, NumPy, and SciPy&amp;lt;/code&amp;gt; libraries for data serialization and numerical work in python &lt;br /&gt;
* &amp;lt;code&amp;gt;matplotlib&amp;lt;/code&amp;gt; for data visualization &lt;br /&gt;
* &amp;lt;code&amp;gt;scikit-learn&amp;lt;/code&amp;gt; main library for ML &lt;br /&gt;
* &amp;lt;code&amp;gt;DASK&amp;lt;/code&amp;gt; distributed abstraction layer with &amp;lt;code&amp;gt;pandas&amp;lt;/code&amp;gt; grammar to easily distribute python tasks into 1-1000 compute nodes &lt;br /&gt;
* &amp;lt;code&amp;gt;PyTorch, and TensorFlow&amp;lt;/code&amp;gt; deep learning and CNN generation systems massive compute overhead to train models require data map reduction and or imputation to run well&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== R language ===&lt;br /&gt;
Statistical programming language: interpreter invokes compiled C or FORTRAN.&lt;br /&gt;
&lt;br /&gt;
Also works within Jupyter notebook for instant visualization, if wanted.&lt;br /&gt;
&lt;br /&gt;
Open-source and extended by the Comprehensive R Archive Network (CRAN), which includes extensive documentation.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;rmarkdown&amp;lt;/code&amp;gt; format a document from R with optional LaTeXbindings &lt;br /&gt;
* &amp;lt;code&amp;gt;tidyverse&amp;lt;/code&amp;gt; &lt;br /&gt;
** &amp;lt;code&amp;gt;dplyr&amp;lt;/code&amp;gt; grammar for mass data manipulation &lt;br /&gt;
** &amp;lt;code&amp;gt;ggplot2&amp;lt;/code&amp;gt; a library for creating graphs and visualizations &lt;br /&gt;
* &amp;lt;code&amp;gt;doparallel&amp;lt;/code&amp;gt; cost-free abstraction, pooling of CPU threads &lt;br /&gt;
* &amp;lt;code&amp;gt;mlr&amp;lt;/code&amp;gt; interface to a large number of classification and regression techniques &lt;br /&gt;
* &amp;lt;code&amp;gt;shiny&amp;lt;/code&amp;gt; provides ability to create web servers similar to NodeJS or Python Flaskl&lt;br /&gt;
&lt;br /&gt;
=== Intel MKL (Math Kernel Library) ===&lt;br /&gt;
Improves performance for Fast Fourier Transforms, linear algebra operations, vector math, deep neural networks, and kernel solvers. &lt;br /&gt;
&lt;br /&gt;
Default math backend for NumPy, SciPy, and MATLAB &lt;br /&gt;
&lt;br /&gt;
Not hardware agnostic: chooses slowest solvers for non-Intel chips by default &lt;br /&gt;
&lt;br /&gt;
=== OpenBLAS and LAPACK ===&lt;br /&gt;
&#039;&#039;&#039;LAPACK&#039;&#039;&#039; (Linear Algebra PACKage) provides APIs much like MKL &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;OpenBLAS&#039;&#039;&#039; (Basic Linear Algebra Subprograms) extends LAPACK with optimizations for parallel computing &lt;br /&gt;
&lt;br /&gt;
Default for R and Biopython&lt;br /&gt;
&lt;br /&gt;
=== Message Passing Interface (MPI) ===&lt;br /&gt;
Supported by all major compilers (Intel and OpenMP implementations) &lt;br /&gt;
&lt;br /&gt;
An API supporting shared-memory multiprocessing provides backend for many parallel computing systems, allowing for multi-threaded access &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;ex&#039;&#039;: &amp;lt;code&amp;gt;mpirun -np $NUM_PROC /path/to/coolProgram &amp;amp;lt; $INPUT &amp;amp;gt; /path/to/output&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== GNU Parallel ===&lt;br /&gt;
simple vectorization of loops over processors for non-multithreaded processes &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;ex&#039;&#039;: &amp;lt;code&amp;gt;parallel -j $NUM_PROC /path/to/thescript.sh ::: 1..n ::: 1..m&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CUDA/OpenCL ===&lt;br /&gt;
Nvidia-specific &#039;&#039;&#039;CUDA&#039;&#039;&#039; and open-source &#039;&#039;&#039;OpenCL&#039;&#039;&#039; provide a hardware abstracting API for using GPU for compute tasks &lt;br /&gt;
&lt;br /&gt;
must-have for Pytorch or TensorFlow workloads &lt;br /&gt;
&lt;br /&gt;
Nomenclature Divergence &lt;br /&gt;
&lt;br /&gt;
* CUDA thread = OpenCL work item = CPU lane &lt;br /&gt;
* CUDA multiprocessor = OpenCL compute unit = CPU&lt;br /&gt;
&lt;br /&gt;
=== High Performance Computers ===&lt;br /&gt;
HPC or super-computing clusters provide high throughput analysis.&lt;br /&gt;
&lt;br /&gt;
Amazingly high amount of computational power.&lt;br /&gt;
&lt;br /&gt;
Need to plan your analysis.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NDSU Center for Computationally-Assisted Science and Technology (CCAST)&#039;&#039;&#039; provides a platform for these workloads connect via &amp;lt;code&amp;gt;ssh&amp;lt;/code&amp;gt; uses loadable modules: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;ex:&#039;&#039; &amp;lt;code&amp;gt;module load parallel&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
batch processing via PBS scripting&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span&amp;gt;Continued Learning&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== General Programming/Computers Websites ===&lt;br /&gt;
&lt;br /&gt;
* StackOverflow.com - check before asking new questions &lt;br /&gt;
* RosettaCode.org - data structures and algorithms in many languages &lt;br /&gt;
* Linux.die.net/man/ - the Linux manual &lt;br /&gt;
* grymoire.com/Unix/ - more *nix CLI tutorials&lt;br /&gt;
&lt;br /&gt;
=== Python ===&lt;br /&gt;
&lt;br /&gt;
* docs.python.org/3/ - the official python documentation &lt;br /&gt;
* docs.python.org/3/tutorial - the official tutorial &lt;br /&gt;
* diveintopython.net - guided tutorial online &lt;br /&gt;
* pythontutor.com - visual debugger &lt;br /&gt;
&lt;br /&gt;
=== R ===&lt;br /&gt;
&lt;br /&gt;
* cran.r-project.org - CRAN &lt;br /&gt;
* cran.r-project.org/manuals.html &lt;br /&gt;
* rdrr.io - meta-manual lookup and many other tools for R &lt;br /&gt;
* swirlstats.com - learn R, in R &lt;br /&gt;
* statslearning.com - statistical machine learning coursework&lt;br /&gt;
&lt;br /&gt;
=== Recommended Reading ===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;An Introduction to Statistical Machine Learning&#039;&#039; by Gareth James et al. &lt;br /&gt;
* &#039;&#039;A Primer on Scientific Programming with Python&#039;&#039; by Hans Petter Langtangen &lt;br /&gt;
* &#039;&#039;R for Data Science&#039;&#039; by Wickham and Grolmund&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Statistical_Machine_Learning&amp;diff=143</id>
		<title>Statistical Machine Learning</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Statistical_Machine_Learning&amp;diff=143"/>
		<updated>2022-11-03T21:08:20Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== &amp;lt;span&amp;gt;Overview&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
A crash course to enable gentle introduction into the machine learning techniques and its applications into data science. &lt;br /&gt;
&lt;br /&gt;
Topics Covered: &lt;br /&gt;
&lt;br /&gt;
* Basic Concepts &lt;br /&gt;
* Data Models &lt;br /&gt;
* Machine Learning &lt;br /&gt;
* ML Techniques &lt;br /&gt;
* Software Toolkit &lt;br /&gt;
* Continued Learning&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span&amp;gt;Basic Concepts&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== Definitions: ===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Statistical Machine Learning&#039;&#039;&#039; is a set of tools used to model and understand complex data sets &lt;br /&gt;
* &#039;&#039;&#039;Data Science&#039;&#039;&#039; is a set of techniques in computing to support the analysis of data &lt;br /&gt;
** Not very useful without some domain knowledge: it is important to &#039;&#039;know your data&#039;&#039;. &lt;br /&gt;
* Includes analytic techniques: &lt;br /&gt;
** descriptive statistics &lt;br /&gt;
** data visualization &lt;br /&gt;
** statistical machine learning &lt;br /&gt;
** neural networks&lt;br /&gt;
** actor-environment models &lt;br /&gt;
* Also includes computational techniques: &lt;br /&gt;
** database administration &lt;br /&gt;
** management of information systems &lt;br /&gt;
** parallelization &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\rightarrow&amp;lt;/math&amp;gt; high performance computing&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Basic Concepts ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
==== Knowing your data ====&lt;br /&gt;
Technical definition: &lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt; represent a number of distinct &#039;&#039;&#039;observations&#039;&#039;&#039;, and let &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;p&amp;lt;/math&amp;gt; represent a number of &#039;&#039;&#039;predictors&#039;&#039;&#039; Then, our observed data &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{X}&amp;lt;/math&amp;gt; is an &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n\times p&amp;lt;/math&amp;gt; matrix with row observation vectors &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\vec{x}_{1..n}&amp;lt;/math&amp;gt; and column predictor vectors &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\vec{x}_{1..p}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
In addition, we will also have &#039;&#039;&#039;response&#039;&#039;&#039; variable(s) &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{Y}&amp;lt;/math&amp;gt;, which is a made up of some &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt;-length vectors. &lt;br /&gt;
&lt;br /&gt;
So, our combined dataset consists of &amp;lt;math&amp;gt;[(\vec{x}_1,\vec{y}_1),(\vec{x}_2, \vec{y}_2),...,(\vec{x}_n,\vec{y}_n)]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Our Mission&#039;&#039;&#039;: determine relationships between &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{X}&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{Y}&amp;lt;/math&amp;gt; which are mathematically sound, leading to better understanding&lt;br /&gt;
&lt;br /&gt;
Typically a table has columns as features, rows as entries&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Entries&#039;&#039;&#039; might be &#039;&#039;&#039;numeric&#039;&#039;&#039; or &#039;&#039;&#039;categorical&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Data sources are either &#039;&#039;&#039;Structured&#039;&#039;&#039; or &#039;&#039;&#039;Unstructured&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
* Unstructured data will require some transformation. &lt;br /&gt;
&lt;br /&gt;
Some data may also be &#039;&#039;&#039;time series&#039;&#039;&#039; taking a sampling of points over time, contributing to a 3-dimensional &#039;&#039;&#039;Data Cub&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Several techniques can be used to reduce complex data: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;numeric representation&#039;&#039;&#039; mapping of categorical information into numbers. &lt;br /&gt;
* &#039;&#039;&#039;scaling&#039;&#039;&#039; redefine a new range for a predictor vector. &lt;br /&gt;
* &#039;&#039;&#039;normalization&#039;&#039;&#039; redefine a predictor by its mean and standard deviation, giving a normal distribution of values. &lt;br /&gt;
* &#039;&#039;&#039;dimension reduction&#039;&#039;&#039; lose fine grain of data, but gain understandability. &lt;br /&gt;
* &#039;&#039;&#039;feature extraction&#039;&#039;&#039; a data mining technique in which we can generate new predictors from known information&lt;br /&gt;
&lt;br /&gt;
==== Modeling ====&lt;br /&gt;
What is a model?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Very well-known model&#039;&#039;&#039;: Gravity is a functional model between masses, distances, and force. &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;F = G\frac{m_1m_2}{r^2} \rightarrow g = \frac{G M}{r^2} \rightarrow v(t) = v(0) - gt.&amp;lt;/math&amp;gt; &#039;&#039;&#039;&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;k = Ae^{\frac{E_a}{K_b T}}.&amp;lt;/math&amp;gt;Statistics definition&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X = (\vec{x}_1, \vec{x}_2, ..., \vec{x}_p)&amp;lt;/math&amp;gt; each of length &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt;, and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = (\vec{y})&amp;lt;/math&amp;gt; of length &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt;, then for &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt;, there exists a function with a &#039;&#039;&#039;systematic&#039;&#039;&#039; &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f&amp;lt;/math&amp;gt; and &#039;&#039;&#039;error term&#039;&#039;&#039; &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\varepsilon&amp;lt;/math&amp;gt;: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;Y = f(X) + \varepsilon&amp;lt;/math&amp;gt;Why do we even estimate &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f&amp;lt;/math&amp;gt; at all? &#039;&#039;&#039;Prediction&#039;&#039;&#039; or &#039;&#039;&#039;Inference&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Predictive models&#039;&#039;&#039; create an estimator &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\hat{f}&amp;lt;/math&amp;gt; which we can use to estimate &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; using a sample &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; from a larger population: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\hat{ Y} = \hat{f}(X)&amp;lt;/math&amp;gt; With error: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;E(Y - \hat{Y})^2 = [f(X) - \hat{f}(X)]^2 + \varepsilon&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Inference models&#039;&#039;&#039; are primarily interested in how &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; is affected by &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
* What predictors associated with response? &lt;br /&gt;
* What is the relationship of predictors to response? &lt;br /&gt;
* What is the overall nature of relationship between &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; and the predictors.&lt;br /&gt;
&lt;br /&gt;
==== Signal vs Noise ====&lt;br /&gt;
Consider &#039;&#039;&#039;precision&#039;&#039;&#039; and &#039;&#039;&#039;accuracy&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
* Both contribute into data set &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;noise:&#039;&#039;&#039; variation in data which detracts from constructing &#039;&#039;&#039;information&#039;&#039;&#039;, as opposed to &#039;&#039;&#039;signal&#039;&#039;&#039;–data which is representative of a system under study and contains information. &lt;br /&gt;
&lt;br /&gt;
High signal to noise allows us to minimize &#039;&#039;&#039;reducible error&#039;&#039;&#039;, caused by sampling technique. &lt;br /&gt;
&lt;br /&gt;
Different than &#039;&#039;&#039;irreducible error&#039;&#039;&#039;, created by factors we are not measuring.&lt;br /&gt;
&lt;br /&gt;
==== Error and Fit ====&lt;br /&gt;
In Modeling In the terms of modeling, precision of a model is referred to &#039;&#039;&#039;variance&#039;&#039;&#039; and the accuracy of a model its degree of &#039;&#039;&#039;bias&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Generally, overly complex models generate high variance, and can &#039;&#039;&#039;over-fit&#039;&#039;&#039; to input data, making the model useless to new data.&lt;br /&gt;
&lt;br /&gt;
Generally, &#039;&#039;&#039;Mean Square Error&#039;&#039;&#039; or MSE, used to determine goodness-of-fit for model calibration: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;MSE = \frac{1}{n}\sum^n_{i=1}(y_i - \hat{f}(x_i))^2&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Error rate used in classification: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{1}{n} \sum^n_{i=1} I(y_i \ne \hat{y}_i)&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
However for reporting, &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R^2&amp;lt;/math&amp;gt; statistic is more often used, because it gives a value between 0 and 1 useful to determine how much of variance in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; is explained by variance in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt;: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R^2 = 1 - \frac{\sum(y_i - \hat{y}_i)^2}{\sum(y_i - \bar{y})^2} = \frac{RSS}{TSS}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example functions relating &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
* A linear function: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = \beta_0 + \beta_1 X + \varepsilon&amp;lt;/math&amp;gt; &lt;br /&gt;
* A polynomial: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = \beta_0 + \beta_1 X + \beta_2 X + ... + \varepsilon&amp;lt;/math&amp;gt; &lt;br /&gt;
* A natural function: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = e^{-\alpha_0 X^{\alpha_1}} + \varepsilon&amp;lt;/math&amp;gt; &lt;br /&gt;
* A logistical function: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;p = \frac{ e^{\beta_0 + \beta_1 X} }{1 + e^{\beta_0 + \beta_1 X} }&amp;lt;/math&amp;gt; &lt;br /&gt;
* A series of nested &amp;lt;code&amp;gt;if&amp;lt;/code&amp;gt; statements &lt;br /&gt;
* A series of differential equations: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;x&#039; = x_n - \bar{x}_n: y&#039; = y_n - \beta_n x_n&#039;&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Why Machine Learning? ====&lt;br /&gt;
Types of Questions: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Exact Solution is known&#039;&#039;&#039; normal coding problems, linear models, and classical statistics. &lt;br /&gt;
* &#039;&#039;&#039;Exact Solution is unknown, but can be extracted with work&#039;&#039;&#039; work with systems experts and domain knowledge to create code. &lt;br /&gt;
* &#039;&#039;&#039;Exact Solution is known, but not yet conveyable&#039;&#039;&#039; ML is useful. &lt;br /&gt;
* &#039;&#039;&#039;Exact Solution not known by humans&#039;&#039;&#039; ML and/or Deep Learning needed&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Example:&#039;&#039; consider a prediction of temperature: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Knowledge Based Models&#039;&#039;&#039; &lt;br /&gt;
** Physics and atmospheric science based model. &lt;br /&gt;
** Up to differential equations on chaotic systems. &lt;br /&gt;
** As fine granularity of prediction increases, number of factors and density of data quickly becomes too much for most humans to consider &lt;br /&gt;
* &#039;&#039;&#039;Data Driven Models&#039;&#039;&#039; &lt;br /&gt;
** Use ML to provide &#039;&#039;&#039;iterative&#039;&#039;&#039; gain to reduce error &lt;br /&gt;
*** Known data→model creation→point toward new factors.&lt;br /&gt;
** Uses a split in training and testing data, or sum of error to move toward the correct answer.&lt;br /&gt;
** Human researchers more free to find more data, improve prediction, develop theories&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span&amp;gt;Techniques&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Machine Learning in General ===&lt;br /&gt;
&#039;&#039;&#039;Supervised Learning:&#039;&#039;&#039; the model estimates, error verifies &lt;br /&gt;
&lt;br /&gt;
* If incorrect, needs user input for correction.&lt;br /&gt;
* &#039;&#039;Example&#039;&#039;: a computer vision system trained to find features in images via user annotated images. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Unsupervised Learning:&#039;&#039;&#039; Clustering/Grouping of similar items&lt;br /&gt;
&lt;br /&gt;
* Need a similarity measure via feature vectors and ability to adjust weights &lt;br /&gt;
* &#039;&#039;Example&#039;&#039;: Taste prediction algorithms used in web advertising. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reinforced Learning&#039;&#039;&#039; Model estimates a sequence of guesses &lt;br /&gt;
&lt;br /&gt;
* Correct if and only if the entire sequence or a parameterized output scoring&lt;br /&gt;
* Instant feedback but high compute cost &lt;br /&gt;
* &#039;&#039;Example&#039;&#039;: Game-play in actor-environment model&lt;br /&gt;
&lt;br /&gt;
=== Types of Problems and Output ===&lt;br /&gt;
&#039;&#039;&#039;Numeric&#039;&#039;&#039; function maps &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; and output is in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mathbb{R}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Categorization&#039;&#039;&#039; non-orderable sorting &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Clustering&#039;&#039;&#039; finding principle ways groups differ &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Anomaly Detection&#039;&#039;&#039; finding data points which are out of the ordinary &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Actor Models&#039;&#039;&#039; real-time decision making or detailed simulation&lt;br /&gt;
&lt;br /&gt;
=== Predictive Models ===&lt;br /&gt;
Predictive ML models which are also Linear: &lt;br /&gt;
&lt;br /&gt;
* Utilize a split of training and test data: test-training or &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt;-fold cross-validation &lt;br /&gt;
* use a function mapping of one or more independent variables to the dependent variables, then re-evaluate to reduce error Includes techniques for mixed model reduction&lt;br /&gt;
* Reduction of the number of predictors via &#039;&#039;&#039;Lasso&#039;&#039;&#039;, &#039;&#039;&#039;Ridge&#039;&#039;&#039;, and &#039;&#039;&#039;Elastic Net&#039;&#039;&#039; techniques&lt;br /&gt;
&lt;br /&gt;
=== Feature-vector based models ===&lt;br /&gt;
Nested &amp;lt;code&amp;gt;if&amp;lt;/code&amp;gt; statements try to find decision boundaries by distance between independent data and dependent outcome features have weighted probability most information by Bayesian inference&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Decision Trees&#039;&#039;&#039; can be used to create decision models for linearly separable data effectively a neural network with one neuron&lt;br /&gt;
* &#039;&#039;&#039;Random Forest&#039;&#039;&#039; utilizes a number of differently-tuned trees trees provide consensus voting-based approach for non-linearly separable data smaller tree depth typically prevents over-fit&lt;br /&gt;
&lt;br /&gt;
=== Clustering ===&lt;br /&gt;
Groups data into cluster such that distance within clusters is small, and between differing groups is large &lt;br /&gt;
&lt;br /&gt;
Works with any well-defined &amp;amp;quot;distance&amp;amp;quot; function: Euclidean, Hamming, Inner Product, etc. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;k-Means Clustering:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
* choose &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt; number of clusters randomly distribute &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt; points, &#039;&#039;&#039;centroids&#039;&#039;&#039;, into feature space &lt;br /&gt;
* divide and classify data by distance to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt; centroids &lt;br /&gt;
* move centroids based on center of groups repeats until convergence to some epsilon value&lt;br /&gt;
* where points no longer move across iterations &lt;br /&gt;
* &#039;&#039;&#039;Goodness of Fit&#039;&#039;&#039; for &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;N-M&amp;lt;/math&amp;gt; possible values of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt;, an inflection in overall likelihood ratio given by probability function for set&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;K-nearest Neighbors:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Creates a probabilistic decision boundary within a feature space between &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;K&amp;lt;/math&amp;gt; centroids&lt;br /&gt;
&lt;br /&gt;
Unsupervised system to find structures of data works on majority voting system&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradient Boosting:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
System attempts to find the direction and vector of change in a dimensional field, and follow these iteratively to find local extrema. &lt;br /&gt;
&lt;br /&gt;
Most use some &#039;&#039;&#039;Quasi-Newton Method&#039;&#039;&#039; for finding extrema for faster centroid convergence. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Support Vector Machine:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Also known as SVM, applies a classifier into high-dimensional data to split points into groups some use a &#039;&#039;&#039;kernel trick.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Generates the inner product space of two arbitrary-dimensional numeric matrix spaces, showing the shape of data&lt;br /&gt;
&lt;br /&gt;
=== Genetic Algorithms ===&lt;br /&gt;
Utilize some adversarial scoring method of initially randomized vectors:&lt;br /&gt;
&lt;br /&gt;
* ’survivors’ become the basis of new models similar iterative concept to gradient methods.&lt;br /&gt;
* Does not have to understand topology of space requires creator to specify scoring for the machine .&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Convolutional Neural Networks:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Utilize iterative scoring between training and testing, along with &#039;&#039;&#039;gradient descent&#039;&#039;&#039; on a number of layered, weighted vectors to extract features from a complex data set. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Vision Systems&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Take high throughput data and simplify before work is done &#039;&#039;ex&#039;&#039;: 1080p @ 60fps &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\rightarrow&amp;lt;/math&amp;gt; 240x360 @ 15fps, broken into component channels Gaussian blur filter kernel applied to high-res images Edge detection via double threshold ML or CNN used past this to determine actual features&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Software Toolkit ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== Python ===&lt;br /&gt;
General purpose programming language with many libraries Interpreted language: each line is run one at a time by a virtual machine.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Dependency Structure&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;system&#039;&#039; vs &#039;&#039;user&#039;&#039; python &lt;br /&gt;
&lt;br /&gt;
virtualenv: &amp;lt;code&amp;gt;$ python3 -m venv /path/to/new/environment&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
pip libraries &amp;lt;code&amp;gt;$ pip list outdated format=freeze | grep -v | cut -d=&amp;quot; &amp;quot; -f1 | xargs -n1 pip install -U&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Anaconda ====&lt;br /&gt;
separate virtualenv system specifically for data science:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Spyder&#039;&#039;&#039; IDE with visual output &lt;br /&gt;
* &#039;&#039;&#039;JupyterLabs&#039;&#039;&#039; notes with data visualizations &lt;br /&gt;
* &#039;&#039;&#039;Orange&#039;&#039;&#039; visual IDE for stats exploration&lt;br /&gt;
* &amp;lt;code&amp;gt;pandas, NumPy, and SciPy&amp;lt;/code&amp;gt; libraries for data serialization and numerical work in python &lt;br /&gt;
* &amp;lt;code&amp;gt;matplotlib&amp;lt;/code&amp;gt; for data visualization &lt;br /&gt;
* &amp;lt;code&amp;gt;scikit-learn&amp;lt;/code&amp;gt; main library for ML &lt;br /&gt;
* &amp;lt;code&amp;gt;DASK&amp;lt;/code&amp;gt; distributed abstraction layer with &amp;lt;code&amp;gt;pandas&amp;lt;/code&amp;gt; grammar to easily distribute python tasks into 1-1000 compute nodes &lt;br /&gt;
* &amp;lt;code&amp;gt;PyTorch, and TensorFlow&amp;lt;/code&amp;gt; deep learning and CNN generation systems massive compute overhead to train models require data map reduction and or imputation to run well&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== R language ===&lt;br /&gt;
Statistical programming language: interpreter invokes compiled C or FORTRAN.&lt;br /&gt;
&lt;br /&gt;
Also works within Jupyter notebook for instant visualization, if wanted.&lt;br /&gt;
&lt;br /&gt;
Open-source and extended by the Comprehensive R Archive Network (CRAN), which includes extensive documentation.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;rmarkdown&amp;lt;/code&amp;gt; format a document from R with optional LaTeXbindings &lt;br /&gt;
* &amp;lt;code&amp;gt;tidyverse&amp;lt;/code&amp;gt; &lt;br /&gt;
** &amp;lt;code&amp;gt;dplyr&amp;lt;/code&amp;gt; grammar for mass data manipulation &lt;br /&gt;
** &amp;lt;code&amp;gt;ggplot2&amp;lt;/code&amp;gt; a library for creating graphs and visualizations &lt;br /&gt;
* &amp;lt;code&amp;gt;doparallel&amp;lt;/code&amp;gt; cost-free abstraction, pooling of CPU threads &lt;br /&gt;
* &amp;lt;code&amp;gt;mlr&amp;lt;/code&amp;gt; interface to a large number of classification and regression techniques &lt;br /&gt;
* &amp;lt;code&amp;gt;shiny&amp;lt;/code&amp;gt; provides ability to create web servers similar to NodeJS or Python Flaskl&lt;br /&gt;
&lt;br /&gt;
=== Intel MKL (Math Kernel Library) ===&lt;br /&gt;
Improves performance for Fast Fourier Transforms, linear algebra operations, vector math, deep neural networks, and kernel solvers. &lt;br /&gt;
&lt;br /&gt;
Default math backend for NumPy, SciPy, and MATLAB &lt;br /&gt;
&lt;br /&gt;
Not hardware agnostic: chooses slowest solvers for non-Intel chips by default &lt;br /&gt;
&lt;br /&gt;
=== OpenBLAS and LAPACK ===&lt;br /&gt;
&#039;&#039;&#039;LAPACK&#039;&#039;&#039; (Linear Algebra PACKage) provides APIs much like MKL &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;OpenBLAS&#039;&#039;&#039; (Basic Linear Algebra Subprograms) extends LAPACK with optimizations for parallel computing &lt;br /&gt;
&lt;br /&gt;
Default for R and Biopython&lt;br /&gt;
&lt;br /&gt;
=== Message Passing Interface (MPI) ===&lt;br /&gt;
Supported by all major compilers (Intel and OpenMP implementations) &lt;br /&gt;
&lt;br /&gt;
An API supporting shared-memory multiprocessing provides backend for many parallel computing systems, allowing for multi-threaded access &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;ex&#039;&#039;: &amp;lt;code&amp;gt;mpirun -np $NUM_PROC /path/to/coolProgram &amp;amp;lt; $INPUT &amp;amp;gt; /path/to/output&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== GNU Parallel ===&lt;br /&gt;
simple vectorization of loops over processors for non-multithreaded processes &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;ex&#039;&#039;: &amp;lt;code&amp;gt;parallel -j $NUM_PROC /path/to/thescript.sh ::: &amp;lt;/code&amp;gt;&amp;lt;span&amp;gt;&amp;lt;code&amp;gt;1..n&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;code&amp;gt; ::: &amp;lt;/code&amp;gt;&amp;lt;span&amp;gt;&amp;lt;code&amp;gt;1..m&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CUDA/OpenCL ===&lt;br /&gt;
Nvidia-specific &#039;&#039;&#039;CUDA&#039;&#039;&#039; and open-source &#039;&#039;&#039;OpenCL&#039;&#039;&#039; provide a hardware abstracting API for using GPU for compute tasks &lt;br /&gt;
&lt;br /&gt;
must-have for Pytorch or TensorFlow workloads &lt;br /&gt;
&lt;br /&gt;
Nomenclature Divergence &lt;br /&gt;
&lt;br /&gt;
* CUDA thread = OpenCL work item = CPU lane &lt;br /&gt;
* CUDA multiprocessor = OpenCL compute unit = CPU&lt;br /&gt;
&lt;br /&gt;
=== High Performance Computers ===&lt;br /&gt;
HPC or super-computing clusters provide high throughput analysis.&lt;br /&gt;
&lt;br /&gt;
Amazingly high amount of computational power.&lt;br /&gt;
&lt;br /&gt;
Need to plan your analysis.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NDSU Center for Computationally-Assisted Science and Technology (CCAST)&#039;&#039;&#039; provides a platform for these workloads connect via &amp;lt;code&amp;gt;ssh&amp;lt;/code&amp;gt; uses loadable modules: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;ex:&#039;&#039; &amp;lt;code&amp;gt;module load parallel&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
batch processing via PBS scripting&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span&amp;gt;Continued Learning&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== General Programming/Computers Websites ===&lt;br /&gt;
&lt;br /&gt;
* StackOverflow.com - check before asking new questions &lt;br /&gt;
* RosettaCode.org - data structures and algorithms in many languages &lt;br /&gt;
* Linux.die.net/man/ - the Linux manual &lt;br /&gt;
* grymoire.com/Unix/ - more *nix CLI tutorials&lt;br /&gt;
&lt;br /&gt;
=== Python ===&lt;br /&gt;
&lt;br /&gt;
* docs.python.org/3/ - the official python documentation &lt;br /&gt;
* docs.python.org/3/tutorial - the official tutorial &lt;br /&gt;
* diveintopython.net - guided tutorial online &lt;br /&gt;
* pythontutor.com - visual debugger &lt;br /&gt;
&lt;br /&gt;
=== R ===&lt;br /&gt;
&lt;br /&gt;
* cran.r-project.org - CRAN &lt;br /&gt;
* cran.r-project.org/manuals.html &lt;br /&gt;
* rdrr.io - meta-manual lookup and many other tools for R &lt;br /&gt;
* swirlstats.com - learn R, in R &lt;br /&gt;
* statslearning.com - statistical machine learning coursework&lt;br /&gt;
&lt;br /&gt;
=== Recommended Reading ===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;An Introduction to Statistical Machine Learning&#039;&#039; by Gareth James et al. &lt;br /&gt;
* &#039;&#039;A Primer on Scientific Programming with Python&#039;&#039; by Hans Petter Langtangen &lt;br /&gt;
* &#039;&#039;R for Data Science&#039;&#039; by Wickham and Grolmund&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Statistical_Machine_Learning&amp;diff=142</id>
		<title>Statistical Machine Learning</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Statistical_Machine_Learning&amp;diff=142"/>
		<updated>2022-11-01T21:04:05Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== &amp;lt;span&amp;gt;Overview&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
A crash course to enable gentle introduction into the machine learning techniques and its applications into data science. &lt;br /&gt;
&lt;br /&gt;
Topics Covered: &lt;br /&gt;
&lt;br /&gt;
* Basic Concepts &lt;br /&gt;
* Data Models &lt;br /&gt;
* Machine Learning &lt;br /&gt;
* ML Techniques &lt;br /&gt;
* SoftwareToolkit &lt;br /&gt;
* Continued Learning&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span&amp;gt;Basic Concepts&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== Definitions: ===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Statistical Machine Learning&#039;&#039;&#039; is a set of tools used to model and understand complex data sets &lt;br /&gt;
* &#039;&#039;&#039;Data Science&#039;&#039;&#039; is a set of techniques in computing to support the analysis of data &lt;br /&gt;
** Not very useful without some domain knowledge: it is important to &#039;&#039;know your data&#039;&#039;. &lt;br /&gt;
* Includes analytic techniques: &lt;br /&gt;
** descriptive statistics &lt;br /&gt;
** data visualization &lt;br /&gt;
** statistical machine learning &lt;br /&gt;
** neural networks&lt;br /&gt;
** actor-environment models &lt;br /&gt;
* Also includes computational techniques: &lt;br /&gt;
** database administration &lt;br /&gt;
** management of information systems &lt;br /&gt;
** parallelization &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\rightarrow&amp;lt;/math&amp;gt; high performance computing&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Basic Concepts ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
==== Knowing your data ====&lt;br /&gt;
Technical definition: &lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt; represent a number of distinct &#039;&#039;&#039;observations&#039;&#039;&#039;, and let &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;p&amp;lt;/math&amp;gt; represent a number of &#039;&#039;&#039;predictors&#039;&#039;&#039; Then, our observed data &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{X}&amp;lt;/math&amp;gt; is an &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n\times p&amp;lt;/math&amp;gt; matrix with row observation vectors &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\vec{x}_{1..n}&amp;lt;/math&amp;gt; and column predictor vectors &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\vec{x}_{1..p}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
In addition, we will also have &#039;&#039;&#039;response&#039;&#039;&#039; variable(s) &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{Y}&amp;lt;/math&amp;gt;, which is a made up of some &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt;-length vectors. &lt;br /&gt;
&lt;br /&gt;
So, our combined dataset consists of &amp;lt;math&amp;gt;[(\vec{x}_1,\vec{y}_1),(\vec{x}_2, \vec{y}_2),...,(\vec{x}_n,\vec{y}_n)]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Our Mission&#039;&#039;&#039;: determine relationships between &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{X}&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{Y}&amp;lt;/math&amp;gt; which are mathematically sound, leading to better understandin&lt;br /&gt;
&lt;br /&gt;
Typically a table has columns as features, rows as entries&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Entries&#039;&#039;&#039; might be &#039;&#039;&#039;numeric&#039;&#039;&#039; or &#039;&#039;&#039;categorical&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Data sources are either &#039;&#039;&#039;Structured&#039;&#039;&#039; or &#039;&#039;&#039;Unstructured&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
* Unstructured data will require some transformation. &lt;br /&gt;
&lt;br /&gt;
Some data may also be &#039;&#039;&#039;time series&#039;&#039;&#039; taking a sampling of points over time, contributing to a 3-dimensional &#039;&#039;&#039;Data Cub&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Several techniques can be used to reduce complex data: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;numeric representation&#039;&#039;&#039; mapping of categorical information into numbers. &lt;br /&gt;
* &#039;&#039;&#039;scaling&#039;&#039;&#039; redefine a new range for a predictor vector. &lt;br /&gt;
* &#039;&#039;&#039;normalization&#039;&#039;&#039; redefine a predictor by its mean and standard deviation, giving a normal distribution of values. &lt;br /&gt;
* &#039;&#039;&#039;dimension reduction&#039;&#039;&#039; lose fine grain of data, but gain understandability. &lt;br /&gt;
* &#039;&#039;&#039;feature extraction&#039;&#039;&#039; a data mining technique in which we can generate new predictors from known information&lt;br /&gt;
&lt;br /&gt;
==== Modeling ====&lt;br /&gt;
What is a model?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Very well-known model&#039;&#039;&#039;: Gravity is a functional model between masses, distances, and force. &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;F = G\frac{m_1m_2}{r^2} \rightarrow g = \frac{G M}{r^2} \rightarrow v(t) = v(0) - gt.&amp;lt;/math&amp;gt; &#039;&#039;&#039;&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;k = Ae^{\frac{E_a}{K_b T}}.&amp;lt;/math&amp;gt;Statistics definition&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X = (\vec{x}_1, \vec{x}_2, ..., \vec{x}_p)&amp;lt;/math&amp;gt; each of length &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt;, and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = (\vec{y})&amp;lt;/math&amp;gt; of length &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt;, then for &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt;, there exists a function with a &#039;&#039;&#039;systematic&#039;&#039;&#039; &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f&amp;lt;/math&amp;gt; and &#039;&#039;&#039;error term&#039;&#039;&#039; &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\varepsilon&amp;lt;/math&amp;gt;: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;Y = f(X) + \varepsilon&amp;lt;/math&amp;gt;Why do we even estimate &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f&amp;lt;/math&amp;gt; at all? &#039;&#039;&#039;Prediction&#039;&#039;&#039; or &#039;&#039;&#039;Inference&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Predictive models&#039;&#039;&#039; create an estimator &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\hat{f}&amp;lt;/math&amp;gt; which we can use to estimate &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; using a sample &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; from a larger population: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\hat{ Y} = \hat{f}(X)&amp;lt;/math&amp;gt; With error: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;E(Y - \hat{Y})^2 = [f(X) - \hat{f}(X)]^2 + \varepsilon&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Inference models&#039;&#039;&#039; are primarily interested in how &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; is affected by &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
* What predictors associated with response? &lt;br /&gt;
* What is the relationship of predictors to response? &lt;br /&gt;
* What is the overall nature of relationship between &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; and the predictors.&lt;br /&gt;
&lt;br /&gt;
==== Signal vs Noise ====&lt;br /&gt;
Consider &#039;&#039;&#039;precision&#039;&#039;&#039; and &#039;&#039;&#039;accuracy&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
* Both contribute into data set &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;noise:&#039;&#039;&#039; variation in data which detracts from constructing &#039;&#039;&#039;information&#039;&#039;&#039;, as opposed to &#039;&#039;&#039;signal&#039;&#039;&#039;–data which is representative of a system under study and contains information. &lt;br /&gt;
&lt;br /&gt;
High signal to noise allows us to minimize &#039;&#039;&#039;reducible error&#039;&#039;&#039;, caused by sampling technique. &lt;br /&gt;
&lt;br /&gt;
Different than &#039;&#039;&#039;irreducible error&#039;&#039;&#039;, created by factors we are not measuring.&lt;br /&gt;
&lt;br /&gt;
==== Error and Fit ====&lt;br /&gt;
In Modeling In the terms of modeling, precision of a model is referred to &#039;&#039;&#039;variance&#039;&#039;&#039; and the accuracy of a model its degree of &#039;&#039;&#039;bias&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Generally, overly complex models generate high variance, and can &#039;&#039;&#039;over-fit&#039;&#039;&#039; to input data, making the model useless to new data.&lt;br /&gt;
&lt;br /&gt;
Generally, &#039;&#039;&#039;Mean Square Error&#039;&#039;&#039; or MSE, used to determine goodness-of-fit for model calibration: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;MSE = \frac{1}{n}\sum^n_{i=1}(y_i - \hat{f}(x_i))^2&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Error rate used in classification: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{1}{n} \sum^n_{i=1} I(y_i \ne \hat{y}_i)&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
However for reporting, &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R^2&amp;lt;/math&amp;gt; statistic is more often used, because it gives a value between 0 and 1 useful to determine how much of variance in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; is explained by variance in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt;: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R^2 = 1 - \frac{\sum(y_i - \hat{y}_i)^2}{\sum(y_i - \bar{y})^2} = \frac{RSS}{TSS}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example functions relating &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
* A linear function: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = \beta_0 + \beta_1 X + \varepsilon&amp;lt;/math&amp;gt; &lt;br /&gt;
* A polynomial: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = \beta_0 + \beta_1 X + \beta_2 X + ... + \varepsilon&amp;lt;/math&amp;gt; &lt;br /&gt;
* A natural function: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = e^{-\alpha_0 X^{\alpha_1}} + \varepsilon&amp;lt;/math&amp;gt; &lt;br /&gt;
* A logistical function: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;p = \frac{ e^{\beta_0 + \beta_1 X} }{1 + e^{\beta_0 + \beta_1 X} }&amp;lt;/math&amp;gt; &lt;br /&gt;
* A series of nested &amp;lt;code&amp;gt;if&amp;lt;/code&amp;gt; statements &lt;br /&gt;
* A series of differential equations: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;x&#039; = x_n - \bar{x}_n: y&#039; = y_n - \beta_n x_n&#039;&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Why Machine Learning? ====&lt;br /&gt;
Types of Questions: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Exact Solution is known&#039;&#039;&#039; normal coding problems, linear models, and classical statistics. &lt;br /&gt;
* &#039;&#039;&#039;Exact Solution is unknown, but can be extracted with work&#039;&#039;&#039; work with systems experts and domain knowledge to create code. &lt;br /&gt;
* &#039;&#039;&#039;Exact Solution is known, but not yet conveyable&#039;&#039;&#039; ML is useful. &lt;br /&gt;
* &#039;&#039;&#039;Exact Solution not known by humans&#039;&#039;&#039; ML and/or Deep Learning needed&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Example:&#039;&#039; consider a prediction of temperature: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Knowledge Based Models&#039;&#039;&#039; &lt;br /&gt;
** Physics and atmospheric science based model. &lt;br /&gt;
** Up to differential equations on chaotic systems. &lt;br /&gt;
** As fine granularity of prediction increases, number of factors and density of data quickly becomes too much for most humans to consider &lt;br /&gt;
* &#039;&#039;&#039;Data Driven Models&#039;&#039;&#039; &lt;br /&gt;
** Use ML to provide &#039;&#039;&#039;iterative&#039;&#039;&#039; gain to reduce error &lt;br /&gt;
*** Known data→model creation→point toward new factors.&lt;br /&gt;
** Uses a split in training and testing data, or sum of error to move toward the correct answer.&lt;br /&gt;
** Human researchers more free to find more data, improve prediction, develop theories&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span&amp;gt;Techniques&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Machine Learning in General ===&lt;br /&gt;
&#039;&#039;&#039;Supervised Learning:&#039;&#039;&#039; the model estimates, error verifies &lt;br /&gt;
&lt;br /&gt;
* If incorrect, needs user input for correction.&lt;br /&gt;
* &#039;&#039;Example&#039;&#039;: a computer vision system trained to find features in images via user annotated images. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Unsupervised Learning:&#039;&#039;&#039; Clustering/Grouping of similar items&lt;br /&gt;
&lt;br /&gt;
* Need a similarity measure via feature vectors and ability to adjust weights &lt;br /&gt;
* &#039;&#039;Example&#039;&#039;: Taste prediction algorithms used in web advertising. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reinforced Learning&#039;&#039;&#039; Model estimates a sequence of guesses &lt;br /&gt;
&lt;br /&gt;
* Correct if and only if the entire sequence or a parameterized output scoring&lt;br /&gt;
* Instant feedback but high compute cost &lt;br /&gt;
* &#039;&#039;Example&#039;&#039;: Game-play in actor-environment model&lt;br /&gt;
&lt;br /&gt;
=== Types of Problems and Output ===&lt;br /&gt;
&#039;&#039;&#039;Numeric&#039;&#039;&#039; function maps &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; and output is in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mathbb{R}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Categorization&#039;&#039;&#039; non-orderable sorting &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Clustering&#039;&#039;&#039; finding principle ways groups differ &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Anomaly Detection&#039;&#039;&#039; finding data points which are out of the ordinary &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Actor Models&#039;&#039;&#039; real-time decision making or detailed simulation&lt;br /&gt;
&lt;br /&gt;
=== Predictive Models ===&lt;br /&gt;
Predictive ML models which are also Linear: &lt;br /&gt;
&lt;br /&gt;
* Utilize a split of training and test data: test-training or &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt;-fold cross-validation &lt;br /&gt;
* use a function mapping of one or more independent variables to the dependent variables, then re-evaluate to reduce error Includes techniques for mixed model reduction&lt;br /&gt;
* Reduction of the number of predictors via &#039;&#039;&#039;Lasso&#039;&#039;&#039;, &#039;&#039;&#039;Ridge&#039;&#039;&#039;, and &#039;&#039;&#039;Elastic Net&#039;&#039;&#039; techniques&lt;br /&gt;
&lt;br /&gt;
=== Feature-vector based models ===&lt;br /&gt;
Nested &amp;lt;code&amp;gt;if&amp;lt;/code&amp;gt; statements try to find decision boundaries by distance between independent data and dependent outcome features have weighted probability most information by Bayesian inference&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Decision Trees&#039;&#039;&#039; can be used to create decision models for linearly separable data effectively a neural network with one neuron&lt;br /&gt;
* &#039;&#039;&#039;Random Forest&#039;&#039;&#039; utilizes a number of differently-tuned trees trees provide consensus voting-based approach for non-linearly separable data smaller tree depth typically prevents over-fit&lt;br /&gt;
&lt;br /&gt;
=== Clustering ===&lt;br /&gt;
Groups data into cluster such that distance within clusters is small, and between differing groups is large &lt;br /&gt;
&lt;br /&gt;
Works with any well-defined &amp;amp;quot;distance&amp;amp;quot; function: Euclidean, Hamming, Inner Product, etc. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;k-Means Clustering:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
* choose &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt; number of clusters randomly distribute &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt; points, &#039;&#039;&#039;centroids&#039;&#039;&#039;, into feature space &lt;br /&gt;
* divide and classify data by distance to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt; centroids &lt;br /&gt;
* move centroids based on center of groups repeats until convergence to some epsilon value&lt;br /&gt;
* where points no longer move across iterations &lt;br /&gt;
* &#039;&#039;&#039;Goodness of Fit&#039;&#039;&#039; for &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;N-M&amp;lt;/math&amp;gt; possible values of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt;, an inflection in overall likelihood ratio given by probability function for set&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;K-nearest Neighbors:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Creates a probabilistic decision boundary within a feature space between &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;K&amp;lt;/math&amp;gt; centroids&lt;br /&gt;
&lt;br /&gt;
Unsupervised system to find structures of data works on majority voting system&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradient Boosting:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
System attempts to find the direction and vector of change in a dimensional field, and follow these iteratively to find local extrema. &lt;br /&gt;
&lt;br /&gt;
Most use some &#039;&#039;&#039;Quasi-Newton Method&#039;&#039;&#039; for finding extrema for faster centroid convergence. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Support Vector Machine:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Also known as SVM, applies a classifier into high-dimensional data to split points into groups some use a &#039;&#039;&#039;kernel trick.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Generates the inner product space of two arbitrary-dimensional numeric matrix spaces, showing the shape of data&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Genetic Algorithms&#039;&#039;&#039; ===&lt;br /&gt;
Utilize some adversarial scoring method of initially randomized vectors:&lt;br /&gt;
&lt;br /&gt;
* ’survivors’ become the basis of new models similar iterative concept to gradient methods.&lt;br /&gt;
* Does not have to understand topology of space requires creator to specify scoring for the machine .&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Convolutional Neural Networks:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Utilize iterative scoring between training and testing, along with &#039;&#039;&#039;gradient descent&#039;&#039;&#039; on a number of layered, weighted vectors to extract features from a complex data set. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Vision Systems&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Take high throughput data and simplify before work is done &#039;&#039;ex&#039;&#039;: 1080p @ 60fps &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\rightarrow&amp;lt;/math&amp;gt; 240x360 @ 15fps, broken into component channels Gaussian blur filter kernel applied to high-res images Edge detection via double threshold ML or CNN used past this to determine actual features&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Software Toolkit ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== Python ===&lt;br /&gt;
General purpose programming language with many libraries Interpreted language: each line is run one at a time by a virtual machine.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Dependency Structure&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;system&#039;&#039; vs &#039;&#039;user&#039;&#039; python &lt;br /&gt;
&lt;br /&gt;
virtualenv: &amp;lt;code&amp;gt;$ python3 -m venv /path/to/new/environment&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
pip libraries &amp;lt;code&amp;gt;$ pip list outdated format=freeze | grep -v | cut -d=&amp;quot; &amp;quot; -f1 | xargs -n1 pip install -U&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;Anaconda&#039;&#039;&#039; ====&lt;br /&gt;
separate virtualenv system specifically for data science:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Spyder&#039;&#039;&#039; IDE with visual output &lt;br /&gt;
* &#039;&#039;&#039;JupyterLabs&#039;&#039;&#039; notes with data visualizations &lt;br /&gt;
* &#039;&#039;&#039;Orange&#039;&#039;&#039; visual IDE for stats exploration&lt;br /&gt;
* &amp;lt;code&amp;gt;pandas, NumPy, and SciPy&amp;lt;/code&amp;gt; libraries for data serialization and numerical work in python &lt;br /&gt;
* &amp;lt;code&amp;gt;matplotlib&amp;lt;/code&amp;gt; for data visualization &lt;br /&gt;
* &amp;lt;code&amp;gt;scikit-learn&amp;lt;/code&amp;gt; main library for ML &lt;br /&gt;
* &amp;lt;code&amp;gt;DASK&amp;lt;/code&amp;gt; distributed abstraction layer with &amp;lt;code&amp;gt;pandas&amp;lt;/code&amp;gt; grammar to easily distribute python tasks into 1-1000 compute nodes &lt;br /&gt;
* &amp;lt;code&amp;gt;PyTorch, and TensorFlow&amp;lt;/code&amp;gt; deep learning and CNN generation systems massive compute overhead to train models require data map reduction and or imputation to run well&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== R language ===&lt;br /&gt;
Statistical programming language: interpreter invokes compiled C or FORTRAN.&lt;br /&gt;
&lt;br /&gt;
Also works within Jupyter notebook for instant visualization, if wanted.&lt;br /&gt;
&lt;br /&gt;
Open-source and extended by the Comprehensive R Archive Network (CRAN), which includes extensive documentation.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;rmarkdown&amp;lt;/code&amp;gt; format a document from R with optional LaTeXbindings &lt;br /&gt;
* &amp;lt;code&amp;gt;tidyverse&amp;lt;/code&amp;gt; &lt;br /&gt;
** &amp;lt;code&amp;gt;dplyr&amp;lt;/code&amp;gt; grammar for mass data manipulation &lt;br /&gt;
** &amp;lt;code&amp;gt;ggplot2&amp;lt;/code&amp;gt; a library for creating graphs and visualizations &lt;br /&gt;
* &amp;lt;code&amp;gt;doparallel&amp;lt;/code&amp;gt; cost-free abstraction, pooling of CPU threads &lt;br /&gt;
* &amp;lt;code&amp;gt;mlr&amp;lt;/code&amp;gt; interface to a large number of classification and regression techniques &lt;br /&gt;
* &amp;lt;code&amp;gt;shiny&amp;lt;/code&amp;gt; provides ability to create web servers similar to NodeJS or Python Flaskl&lt;br /&gt;
&lt;br /&gt;
=== Intel MKL (Math Kernel Library) ===&lt;br /&gt;
Improves performance for Fast Fourier Transforms, linear algebra operations, vector math, deep neural networks, and kernel solvers. &lt;br /&gt;
&lt;br /&gt;
Default math backend for NumPy, SciPy, and MATLAB &lt;br /&gt;
&lt;br /&gt;
Not hardware agnostic: chooses slowest solvers for non-Intel chips by default &lt;br /&gt;
&lt;br /&gt;
=== OpenBLAS and LAPACK ===&lt;br /&gt;
&#039;&#039;&#039;LAPACK&#039;&#039;&#039; (Linear Algebra PACKage) provides APIs much like MKL &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;OpenBLAS&#039;&#039;&#039; (Basic Linear Algebra Subprograms) extends LAPACK with optimizations for parallel computing &lt;br /&gt;
&lt;br /&gt;
Default for R and Biopython&lt;br /&gt;
&lt;br /&gt;
=== Message Passing Interface (MPI) ===&lt;br /&gt;
Supported by all major compilers (Intel and OpenMP implementations) &lt;br /&gt;
&lt;br /&gt;
An API supporting shared-memory multiprocessing provides backend for many parallel computing systems, allowing for multi-threaded access &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;ex&#039;&#039;: &amp;lt;code&amp;gt;mpirun -np $NUM_PROC /path/to/coolProgram &amp;amp;lt; $INPUT &amp;amp;gt; /path/to/output&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== GNU Parallel ===&lt;br /&gt;
simple vectorization of loops over processors for non-multithreaded processes &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;ex&#039;&#039;: &amp;lt;code&amp;gt;parallel -j $NUM_PROC /path/to/thescript.sh ::: &amp;lt;/code&amp;gt;&amp;lt;span&amp;gt;&amp;lt;code&amp;gt;1..n&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;code&amp;gt; ::: &amp;lt;/code&amp;gt;&amp;lt;span&amp;gt;&amp;lt;code&amp;gt;1..m&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CUDA/OpenCL ===&lt;br /&gt;
Nvidia-specific &#039;&#039;&#039;CUDA&#039;&#039;&#039; and open-source &#039;&#039;&#039;OpenCL&#039;&#039;&#039; provide a hardware abstracting API for using GPU for compute tasks &lt;br /&gt;
&lt;br /&gt;
must-have for Pytorch or TensorFlow workloads &lt;br /&gt;
&lt;br /&gt;
Nomenclature Divergence &lt;br /&gt;
&lt;br /&gt;
* CUDA thread = OpenCL work item = CPU lane &lt;br /&gt;
* CUDA multiprocessor = OpenCL compute unit = CPU&lt;br /&gt;
&lt;br /&gt;
=== High Performance Computers ===&lt;br /&gt;
HPC or supercomputing clusters provide high throughput analysis.&lt;br /&gt;
&lt;br /&gt;
Amazingly high amount of computational power.&lt;br /&gt;
&lt;br /&gt;
Need to plan your analysis.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NDSU Center for Computationally-Assisted Science and Technology (CCAST)&#039;&#039;&#039; provides a platform for these workloads connect via &amp;lt;code&amp;gt;ssh&amp;lt;/code&amp;gt; uses loadable modules: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;ex:&#039;&#039; &amp;lt;code&amp;gt;module load parallel&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
batch processing via PBS scripting&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span&amp;gt;Continued Learning&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== General Programming/Computers Websites ===&lt;br /&gt;
&lt;br /&gt;
* StackOverflow.com - check before asking new questions &lt;br /&gt;
* RosettaCode.org - data structures and algorithms in many languages &lt;br /&gt;
* Linux.die.net/man/ - the Linux manual &lt;br /&gt;
* grymoire.com/Unix/ - more *nix CLI tutorials&lt;br /&gt;
&lt;br /&gt;
=== Python ===&lt;br /&gt;
&lt;br /&gt;
* docs.python.org/3/ - the official python documentation &lt;br /&gt;
* docs.python.org/3/tutorial - the official tutorial &lt;br /&gt;
* diveintopython.net - guided tutorial online &lt;br /&gt;
* pythontutor.com - visual debugger &lt;br /&gt;
&lt;br /&gt;
=== R ===&lt;br /&gt;
&lt;br /&gt;
* cran.r-project.org - CRAN &lt;br /&gt;
* cran.r-project.org/manuals.html &lt;br /&gt;
* rdrr.io - meta-manual lookup and many other tools for R &lt;br /&gt;
* swirlstats.com - learn R, in R &lt;br /&gt;
* statlearning.com - statistical machine learning coursework&lt;br /&gt;
&lt;br /&gt;
=== Recommended Reading ===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;An Introduction to Statistical Machine Learning&#039;&#039; by Gareth James et al. &lt;br /&gt;
* &#039;&#039;A Primer on Scientific Programming with Python&#039;&#039; by Hans Petter Langtangen &lt;br /&gt;
* &#039;&#039;R for Data Science&#039;&#039; by Wickham and Grolmund&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Statistical_Machine_Learning&amp;diff=141</id>
		<title>Statistical Machine Learning</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Statistical_Machine_Learning&amp;diff=141"/>
		<updated>2022-10-21T20:41:25Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== &amp;lt;span&amp;gt;Overview&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
A crash course to enable gentle introduction into the machine learning techniques and its applications into data science. &lt;br /&gt;
&lt;br /&gt;
Topics Covered: &lt;br /&gt;
&lt;br /&gt;
* Basic Concepts &lt;br /&gt;
* Data Models &lt;br /&gt;
* Machine Learning &lt;br /&gt;
* ML Techniques &lt;br /&gt;
* SoftwareToolkit &lt;br /&gt;
* Continued Learning&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span&amp;gt;Basic Concepts&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== Definitions: ===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Statistical Machine Learning&#039;&#039;&#039; is a set of tools used to model and understand complex data sets &lt;br /&gt;
* &#039;&#039;&#039;Data Science&#039;&#039;&#039; is a set of techniques in computing to support the analysis of data &lt;br /&gt;
** Not very useful without some domain knowledge: it is important to &#039;&#039;know your data&#039;&#039;. &lt;br /&gt;
* Includes analytic techniques: &lt;br /&gt;
** descriptive statistics &lt;br /&gt;
** data visualization &lt;br /&gt;
** statistical machine learning &lt;br /&gt;
** neural networks&lt;br /&gt;
** actor-environment models &lt;br /&gt;
* Also includes computational techniques: &lt;br /&gt;
** database administration &lt;br /&gt;
** management of information systems &lt;br /&gt;
** parallelization &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\rightarrow&amp;lt;/math&amp;gt; high performance computing&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Basic Concepts ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
==== Knowing your data ====&lt;br /&gt;
Technical definition: &lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt; represent a number of distinct &#039;&#039;&#039;observations&#039;&#039;&#039;, and let &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;p&amp;lt;/math&amp;gt; represent a number of &#039;&#039;&#039;predictors&#039;&#039;&#039; Then, our observed data &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{X}&amp;lt;/math&amp;gt; is an &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n\times p&amp;lt;/math&amp;gt; matrix with row observation vectors &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\vec{x}_{1..n}&amp;lt;/math&amp;gt; and column predictor vectors &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\vec{x}_{1..p}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
In addition, we will also have &#039;&#039;&#039;response&#039;&#039;&#039; variable(s) &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{Y}&amp;lt;/math&amp;gt;, which is a made up of some &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt;-length vectors. &lt;br /&gt;
&lt;br /&gt;
So, our combined dataset consists of &amp;lt;math&amp;gt;[(\vec{x}_1,\vec{y}_1),(\vec{x}_2, \vec{y}_2),...,(\vec{x}_n,\vec{y}_n)]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Our Mission&#039;&#039;&#039;: determine relationships between &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{X}&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{Y}&amp;lt;/math&amp;gt; which are mathematically sound, leading to better understandin&lt;br /&gt;
&lt;br /&gt;
Typically a table has columns as features, rows as entries&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Entries&#039;&#039;&#039; might be &#039;&#039;&#039;numeric&#039;&#039;&#039; or &#039;&#039;&#039;categorical&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Data sources are either &#039;&#039;&#039;Structured&#039;&#039;&#039; or &#039;&#039;&#039;Unstructured&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
* Unstructured data will require some transformation. &lt;br /&gt;
&lt;br /&gt;
Some data may also be &#039;&#039;&#039;time series&#039;&#039;&#039; taking a sampling of points over time, contributing to a 3-dimensional &#039;&#039;&#039;Data Cub&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Several techniques can be used to reduce complex data: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;numeric representation&#039;&#039;&#039; mapping of categorical information into numbers. &lt;br /&gt;
* &#039;&#039;&#039;scaling&#039;&#039;&#039; redefine a new range for a predictor vector. &lt;br /&gt;
* &#039;&#039;&#039;normalization&#039;&#039;&#039; redefine a predictor by its mean and standard deviation, giving a normal distribution of values. &lt;br /&gt;
* &#039;&#039;&#039;dimension reduction&#039;&#039;&#039; lose fine grain of data, but gain understandability. &lt;br /&gt;
* &#039;&#039;&#039;feature extraction&#039;&#039;&#039; a data mining technique in which we can generate new predictors from known information&lt;br /&gt;
&lt;br /&gt;
==== Modeling ====&lt;br /&gt;
What is a model?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Very well-known model&#039;&#039;&#039;: Gravity is a functional model between masses, distances, and force. &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;F = G\frac{m_1m_2}{r^2} \rightarrow g = \frac{G M}{r^2} \rightarrow v(t) = v(0) - gt.&amp;lt;/math&amp;gt; &#039;&#039;&#039;&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;k = Ae^{\frac{E_a}{K_b T}}.&amp;lt;/math&amp;gt;Statistics definition&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X = (\vec{x}_1, \vec{x}_2, ..., \vec{x}_p)&amp;lt;/math&amp;gt; each of length &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt;, and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = (\vec{y})&amp;lt;/math&amp;gt; of length &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt;, then for &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt;, there exists a function with a &#039;&#039;&#039;systematic&#039;&#039;&#039; &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f&amp;lt;/math&amp;gt; and &#039;&#039;&#039;error term&#039;&#039;&#039; &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\varepsilon&amp;lt;/math&amp;gt;: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;Y = f(X) + \varepsilon&amp;lt;/math&amp;gt;Why do we even estimate &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f&amp;lt;/math&amp;gt; at all? &#039;&#039;&#039;Prediction&#039;&#039;&#039; or &#039;&#039;&#039;Inference&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Predictive models&#039;&#039;&#039; create an estimator &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\hat{f}&amp;lt;/math&amp;gt; which we can use to estimate &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; using a sample &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; from a larger population: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\hat{ Y} = \hat{f}(X)&amp;lt;/math&amp;gt; With error: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;E(Y - \hat{Y})^2 = [f(X) - \hat{f}(X)]^2 + \varepsilon&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Inference models&#039;&#039;&#039; are primarily interested in how &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; is affected by &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
* What predictors associated with response? &lt;br /&gt;
* What is the relationship of predictors to response? &lt;br /&gt;
* What is the overall nature of relationship between &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; and the predictors.&lt;br /&gt;
&lt;br /&gt;
==== Signal vs Noise ====&lt;br /&gt;
Consider &#039;&#039;&#039;precision&#039;&#039;&#039; and &#039;&#039;&#039;accuracy&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
* Both contribute into data set &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;noise:&#039;&#039;&#039; variation in data which detracts from constructing &#039;&#039;&#039;information&#039;&#039;&#039;, as opposed to &#039;&#039;&#039;signal&#039;&#039;&#039;–data which is representative of a system under study and contains information. &lt;br /&gt;
&lt;br /&gt;
High signal to noise allows us to minimize &#039;&#039;&#039;reducible error&#039;&#039;&#039;, caused by sampling technique. &lt;br /&gt;
&lt;br /&gt;
Different than &#039;&#039;&#039;irreducible error&#039;&#039;&#039;, created by factors we are not measuring.&lt;br /&gt;
&lt;br /&gt;
==== Error and Fit ====&lt;br /&gt;
In Modeling In the terms of modeling, precision of a model is referred to &#039;&#039;&#039;variance&#039;&#039;&#039; and the accuracy of a model its degree of &#039;&#039;&#039;bias&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Generally, overly complex models generate high variance, and can &#039;&#039;&#039;over-fit&#039;&#039;&#039; to input data, making the model useless to new data.&lt;br /&gt;
&lt;br /&gt;
Generally, &#039;&#039;&#039;Mean Square Error&#039;&#039;&#039; or MSE, used to determine goodness-of-fit for model calibration: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;MSE = \frac{1}{n}\sum^n_{i=1}(y_i - \hat{f}(x_i))^2&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Error rate used in classification: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{1}{n} \sum^n_{i=1} I(y_i \ne \hat{y}_i)&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
However for reporting, &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R^2&amp;lt;/math&amp;gt; statistic is more often used, because it gives a value between 0 and 1 useful to determine how much of variance in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; is explained by variance in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt;: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R^2 = 1 - \frac{\sum(y_i - \hat{y}_i)^2}{\sum(y_i - \bar{y})^2} = \frac{RSS}{TSS}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example functions relating &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
* A linear function: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = \beta_0 + \beta_1 X + \varepsilon&amp;lt;/math&amp;gt; &lt;br /&gt;
* A polynomial: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = \beta_0 + \beta_1 X + \beta_2 X + ... + \varepsilon&amp;lt;/math&amp;gt; &lt;br /&gt;
* A natural function: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = e^{-\alpha_0 X^{\alpha_1}} + \varepsilon&amp;lt;/math&amp;gt; &lt;br /&gt;
* A logistical function: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;p = \frac{ e^{\beta_0 + \beta_1 X} }{1 + e^{\beta_0 + \beta_1 X} }&amp;lt;/math&amp;gt; &lt;br /&gt;
* A series of nested &amp;lt;code&amp;gt;if&amp;lt;/code&amp;gt; statements &lt;br /&gt;
* A series of differential equations: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;x&#039; = x_n - \bar{x}_n: y&#039; = y_n - \beta_n x_n&#039;&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Why Machine Learning? ====&lt;br /&gt;
Types of Questions: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Exact Solution is known&#039;&#039;&#039; normal coding problems, linear models, and classical statistics. &lt;br /&gt;
* &#039;&#039;&#039;Exact Solution is unknown, but can be extracted with work&#039;&#039;&#039; work with systems experts and domain knowledge to create code. &lt;br /&gt;
* &#039;&#039;&#039;Exact Solution is known, but not yet conveyable&#039;&#039;&#039; ML is useful. &lt;br /&gt;
* &#039;&#039;&#039;Exact Solution not known by humans&#039;&#039;&#039; ML and/or Deep Learning needed&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Example:&#039;&#039; consider a prediction of temperature: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Knowledge Based Models&#039;&#039;&#039; &lt;br /&gt;
** Physics and atmospheric science based model. &lt;br /&gt;
** Up to differential equations on chaotic systems. &lt;br /&gt;
** As fine granularity of prediction increases, number of factors and density of data quickly becomes too much for most humans to consider &lt;br /&gt;
* &#039;&#039;&#039;Data Driven Models&#039;&#039;&#039; &lt;br /&gt;
** Use ML to provide &#039;&#039;&#039;iterative&#039;&#039;&#039; gain to reduce error &lt;br /&gt;
*** Known data→model creation→point toward new factors.&lt;br /&gt;
** Uses a split in training and testing data, or sum of error to move toward the correct answer.&lt;br /&gt;
** Human researchers more free to find more data, improve prediction, develop theories&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span&amp;gt;Techniques&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Machine Learning in General ===&lt;br /&gt;
&#039;&#039;&#039;Supervised Learning:&#039;&#039;&#039; the model estimates, error verifies &lt;br /&gt;
&lt;br /&gt;
* If incorrect, needs user input for correction.&lt;br /&gt;
* &#039;&#039;Example&#039;&#039;: a computer vision system trained to find features in images via user annotated images. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Unsupervised Learning:&#039;&#039;&#039; Clustering/Grouping of similar items&lt;br /&gt;
&lt;br /&gt;
* Need a similarity measure via feature vectors and ability to adjust weights &lt;br /&gt;
* &#039;&#039;Example&#039;&#039;: Taste prediction algorithms used in web advertising. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reinforced Learning&#039;&#039;&#039; Model estimates a sequence of guesses &lt;br /&gt;
&lt;br /&gt;
* Correct if and only if the entire sequence or a parameterized output scoring&lt;br /&gt;
* Instant feedback but high compute cost &lt;br /&gt;
* &#039;&#039;Example&#039;&#039;: Game-play in actor-environment model&lt;br /&gt;
&lt;br /&gt;
=== Types of Problems and Output ===&lt;br /&gt;
&#039;&#039;&#039;Numeric&#039;&#039;&#039; function maps &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; and output is in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mathbb{R}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Categorization&#039;&#039;&#039; non-orderable sorting &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Clustering&#039;&#039;&#039; finding principle ways groups differ &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Anomaly Detection&#039;&#039;&#039; finding data points which are out of the ordinary &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Actor Models&#039;&#039;&#039; real-time decision making or detailed simulation&lt;br /&gt;
&lt;br /&gt;
=== Predictive Models ===&lt;br /&gt;
Predictive ML models which are also Linear: &lt;br /&gt;
&lt;br /&gt;
* Utilize a split of training and test data: test-training or &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt;-fold cross-validation &lt;br /&gt;
* use a function mapping of one or more independent variables to the dependent variables, then re-evaluate to reduce error Includes techniques for mixed model reduction&lt;br /&gt;
* Reduction of the number of predictors via &#039;&#039;&#039;Lasso&#039;&#039;&#039;, &#039;&#039;&#039;Ridge&#039;&#039;&#039;, and &#039;&#039;&#039;Elastic Net&#039;&#039;&#039; techniques&lt;br /&gt;
&lt;br /&gt;
=== Feature-vector based models ===&lt;br /&gt;
Nested &amp;lt;code&amp;gt;if&amp;lt;/code&amp;gt; statements try to find decision boundaries by distance between independent data and dependent outcome features have weighted probability most information by Bayesian inference&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Decision Trees&#039;&#039;&#039; can be used to create decision models for linearly separable data effectively a neural network with one neuron&lt;br /&gt;
* &#039;&#039;&#039;Random Forest&#039;&#039;&#039; utilizes a number of differently-tuned trees trees provide consensus voting-based approach for non-linearly separable data smaller tree depth typically prevents over-fit&lt;br /&gt;
&lt;br /&gt;
=== Clustering ===&lt;br /&gt;
Groups data into cluster such that distance within clusters is small, and between differing groups is large &lt;br /&gt;
&lt;br /&gt;
Works with any well-defined &amp;amp;quot;distance&amp;amp;quot; function: Euclidean, Hamming, Inner Product, etc. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;k-Means Clustering:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
* choose &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt; number of clusters randomly distribute &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt; points, &#039;&#039;&#039;centroids&#039;&#039;&#039;, into feature space &lt;br /&gt;
* divide and classify data by distance to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt; centroids &lt;br /&gt;
* move centroids based on center of groups repeats until convergence to some epsilon value&lt;br /&gt;
* where points no longer move across iterations &lt;br /&gt;
* &#039;&#039;&#039;Goodness of Fit&#039;&#039;&#039; for &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;N-M&amp;lt;/math&amp;gt; possible values of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt;, an inflection in overall likelihood ratio given by probability function for set&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;K-nearest Neighbors:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Creates a probabilistic decision boundary within a feature space between &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;K&amp;lt;/math&amp;gt; centroids&lt;br /&gt;
&lt;br /&gt;
Unsupervised system to find structures of data works on majority voting system&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradient Boosting:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
System attempts to find the direction and vector of change in a dimensional field, and follow these iteratively to find local extrema. &lt;br /&gt;
&lt;br /&gt;
Most use some &#039;&#039;&#039;Quasi-Newton Method&#039;&#039;&#039; for finding extrema for faster centroid convergence. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Support Vector Machine:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Also known as SVM, applies a classifier into high-dimensional data to split points into groups some use a &#039;&#039;&#039;kernel trick.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Generates the inner product space of two arbitrary-dimensional numeric matrix spaces, showing the shape of data&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Genetic Algorithms&#039;&#039;&#039; ===&lt;br /&gt;
Utilize some adversarial scoring method of initially randomized vectors:&lt;br /&gt;
&lt;br /&gt;
* ’survivors’ become the basis of new models similar iterative concept to gradient methods.&lt;br /&gt;
* Does not have to understand topology of space requires creator to specify scoring for the machine .&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Convolutional Neural Networks:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Utilize iterative scoring between training and testing, along with &#039;&#039;&#039;gradient descent&#039;&#039;&#039; on a number of layered, weighted vectors to extract features from a complex data set. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Vision Systems&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Take high throughput data and simplify before work is done &#039;&#039;ex&#039;&#039;: 1080p @ 60fps &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\rightarrow&amp;lt;/math&amp;gt; 240x360 @ 15fps, broken into component channels Gaussian blur filter kernel applied to high-res images Edge detection via double threshold ML or CNN used past this to determine actual features&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Software Toolkit ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== Python ===&lt;br /&gt;
General purpose programming language with many libraries Interpreted language: each line is run one at a time by a virtual machine.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Dependency Structure&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;system&#039;&#039; vs &#039;&#039;user&#039;&#039; python &lt;br /&gt;
&lt;br /&gt;
virtualenv: &amp;lt;code&amp;gt;$ python3 -m venv /path/to/new/environment&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
pip libraries &amp;lt;code&amp;gt;$ pip list outdated format=freeze | grep -v | cut -d=&amp;quot; &amp;quot; -f1 | xargs -n1 pip install -U&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;Anaconda&#039;&#039;&#039; ====&lt;br /&gt;
separate virtualenv system specifically for data science:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Spyder&#039;&#039;&#039; IDE with visual output &lt;br /&gt;
* &#039;&#039;&#039;JupyterLabs&#039;&#039;&#039; notes with data visualizations &lt;br /&gt;
* &#039;&#039;&#039;Orange&#039;&#039;&#039; visual IDE for stats exploration&lt;br /&gt;
* &amp;lt;code&amp;gt;pandas, NumPy, and SciPy&amp;lt;/code&amp;gt; libraries for data serialization and numerical work in python &lt;br /&gt;
* &amp;lt;code&amp;gt;matplotlib&amp;lt;/code&amp;gt; for data visualization &lt;br /&gt;
* &amp;lt;code&amp;gt;scikit-learn&amp;lt;/code&amp;gt; main library for ML &lt;br /&gt;
* &amp;lt;code&amp;gt;DASK&amp;lt;/code&amp;gt; distributed abstraction layer with &amp;lt;code&amp;gt;pandas&amp;lt;/code&amp;gt; grammar to easily distribute python tasks into 1-1000 compute nodes &lt;br /&gt;
* &amp;lt;code&amp;gt;PyTorch, and TensorFlow&amp;lt;/code&amp;gt; deep learning and CNN generation systems massive compute overhead to train models require data map reduction and or imputation to run well&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== R language ===&lt;br /&gt;
Statistical programming language: interpreter invokes compiled C or FORTRAN.&lt;br /&gt;
&lt;br /&gt;
Also works within Jupyter notebook for instant visualization, if wanted.&lt;br /&gt;
&lt;br /&gt;
Open-source and extended by the Comprehensive R Archive Network (CRAN), which includes extensive documentation.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;rmarkdown&amp;lt;/code&amp;gt; format a document from R with optional LaTeXbindings &lt;br /&gt;
* &amp;lt;code&amp;gt;tidyverse&amp;lt;/code&amp;gt; &lt;br /&gt;
** &amp;lt;code&amp;gt;dplyr&amp;lt;/code&amp;gt; grammar for mass data manipulation &lt;br /&gt;
** &amp;lt;code&amp;gt;ggplot2&amp;lt;/code&amp;gt; a library for creating graphs and visualizations &lt;br /&gt;
* &amp;lt;code&amp;gt;doparallel&amp;lt;/code&amp;gt; cost-free abstraction, pooling of CPU threads &lt;br /&gt;
* &amp;lt;code&amp;gt;mlr&amp;lt;/code&amp;gt; interface to a large number of classification and regression techniques &lt;br /&gt;
* &amp;lt;code&amp;gt;shiny&amp;lt;/code&amp;gt; provides ability to create web servers similar to NodeJS or Python Flaskl&lt;br /&gt;
&lt;br /&gt;
=== Intel MKL (Math Kernel Library) ===&lt;br /&gt;
Improves performance for Fast Fourier Transforms, linear algebra operations, vector math, deep neural networks, and kernel solvers. &lt;br /&gt;
&lt;br /&gt;
Default math backend for NumPy, SciPy, and MATLAB &lt;br /&gt;
&lt;br /&gt;
Not hardware agnostic: chooses slowest solvers for non-Intel chips by default &lt;br /&gt;
&lt;br /&gt;
=== OpenBLAS and LAPACK ===&lt;br /&gt;
&#039;&#039;&#039;LAPACK&#039;&#039;&#039; (Linear Algebra PACKage) provides APIs much like MKL &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;OpenBLAS&#039;&#039;&#039; (Basic Linear Algebra Subprograms) extends LAPACK with optimizations for parallel computing &lt;br /&gt;
&lt;br /&gt;
Default for R and Biopython&lt;br /&gt;
&lt;br /&gt;
=== Message Passing Interface (MPI) ===&lt;br /&gt;
Supported by all major compilers (Intel and OpenMP implementations) &lt;br /&gt;
&lt;br /&gt;
An API supporting shared-memory multiprocessing provides backend for many parallel computing systems, allowing for multi-threaded access &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;ex&#039;&#039;: &amp;lt;code&amp;gt;mpirun -np $NUM_PROC /path/to/coolProgram &amp;amp;lt; $INPUT &amp;amp;gt; /path/to/output&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== GNU Parallel ===&lt;br /&gt;
simple vectorization of loops over processors for non-multithreaded processes &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;ex&#039;&#039;: &amp;lt;code&amp;gt;parallel -j $NUM_PROC /path/to/thescript.sh ::: &amp;lt;/code&amp;gt;&amp;lt;span&amp;gt;&amp;lt;code&amp;gt;1..n&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;code&amp;gt; ::: &amp;lt;/code&amp;gt;&amp;lt;span&amp;gt;&amp;lt;code&amp;gt;1..m&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CUDA/OpenCL ===&lt;br /&gt;
Nvidia-specific &#039;&#039;&#039;CUDA&#039;&#039;&#039; and open-source &#039;&#039;&#039;OpenCL&#039;&#039;&#039; provide a hardware abstracting API for using GPU for compute tasks &lt;br /&gt;
&lt;br /&gt;
must-have for Pytorch or TensorFlow workloads &lt;br /&gt;
&lt;br /&gt;
Nomenclature Divergence &lt;br /&gt;
&lt;br /&gt;
* CUDA thread = OpenCL work item = CPU lane &lt;br /&gt;
* CUDA multiprocessor = OpenCL compute unit = CPU&lt;br /&gt;
&lt;br /&gt;
=== High Performance Computers ===&lt;br /&gt;
HPC or supercomputing clusters provide high throughput analysis.&lt;br /&gt;
&lt;br /&gt;
Amazingly high amount of computational power.&lt;br /&gt;
&lt;br /&gt;
Need to plan your analysis.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NDSU Center for Computationally-Assisted Science and Technology (CCAST)&#039;&#039;&#039; provides a platform for these workloads connect via &amp;lt;code&amp;gt;ssh&amp;lt;/code&amp;gt; uses loadable modules: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;ex:&#039;&#039; &amp;lt;code&amp;gt;module load parallel&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
batch processing via PBS scripting&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span&amp;gt;Continued Learning&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== General Programming/Computers Websites ===&lt;br /&gt;
&lt;br /&gt;
* StackOverflow.com - check before asking new questions &lt;br /&gt;
* RosettaCode.org - data structures and algorithms in many languages &lt;br /&gt;
* Linux.die.net/man/ - the Linux manual &lt;br /&gt;
* grymoire.com/Unix/ - more *nix CLI tutorials&lt;br /&gt;
&lt;br /&gt;
=== Python ===&lt;br /&gt;
&lt;br /&gt;
* docs.python.org/3/ - the official python documentation &lt;br /&gt;
* docs.python.org/3/tutorial - the official tutorial &lt;br /&gt;
* diveintopython.net - guided tutorial online &lt;br /&gt;
* pythontutor.com - visual debugger &lt;br /&gt;
&lt;br /&gt;
=== R ===&lt;br /&gt;
&lt;br /&gt;
* cran.r-project.org - CRAN &lt;br /&gt;
* cran.r-project.org/manuals.html &lt;br /&gt;
* rdrr.io - meta-manual lookup and many other tools for R &lt;br /&gt;
* swirlstats.com - learn R, in R &lt;br /&gt;
* statslearning.com - statistical machine learning coursework&lt;br /&gt;
&lt;br /&gt;
=== Recommended Reading ===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;An Introduction to Statistical Machine Learning&#039;&#039; by Gareth James et al. &lt;br /&gt;
* &#039;&#039;A Primer on Scientific Programming with Python&#039;&#039; by Hans Petter Langtangen &lt;br /&gt;
* &#039;&#039;R for Data Science&#039;&#039; by Wickham and Grolmund&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Statistical_Machine_Learning&amp;diff=140</id>
		<title>Statistical Machine Learning</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Statistical_Machine_Learning&amp;diff=140"/>
		<updated>2022-10-21T20:39:41Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== &amp;lt;span&amp;gt;Overview&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
A crash course to enable gentle introduction into the machine learning techniques and its applications into data science. &lt;br /&gt;
&lt;br /&gt;
Topics Covered: &lt;br /&gt;
&lt;br /&gt;
* Basic Concepts &lt;br /&gt;
* Data Models &lt;br /&gt;
* Machine Learning &lt;br /&gt;
* ML Techniques &lt;br /&gt;
* SoftwareToolkit &lt;br /&gt;
* Continued Learning&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span&amp;gt;Basic Concepts&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== Definitions: ===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Statistical Machine Learning&#039;&#039;&#039; is a set of tools used to model and understand complex data sets &lt;br /&gt;
* &#039;&#039;&#039;Data Science&#039;&#039;&#039; is a set of techniques in computing to support the analysis of data &lt;br /&gt;
** Not very useful without some domain knowledge: it is important to &#039;&#039;know your data&#039;&#039;. &lt;br /&gt;
* Includes analytic techniques: &lt;br /&gt;
** descriptive statistics &lt;br /&gt;
** data visualization &lt;br /&gt;
** statistical machine learning &lt;br /&gt;
** neural networks&lt;br /&gt;
** actor-environment models &lt;br /&gt;
* Also includes computational techniques: &lt;br /&gt;
** database administration &lt;br /&gt;
** management of information systems &lt;br /&gt;
** parallelization &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\rightarrow&amp;lt;/math&amp;gt; high performance computing&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Basic Concepts ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
==== Knowing your data ====&lt;br /&gt;
Technical definition: &lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt; represent a number of distinct &#039;&#039;&#039;observations&#039;&#039;&#039;, and let &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;p&amp;lt;/math&amp;gt; represent a number of &#039;&#039;&#039;predictors&#039;&#039;&#039; Then, our observed data &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{X}&amp;lt;/math&amp;gt; is an &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n\times p&amp;lt;/math&amp;gt; matrix with row observation vectors &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\vec{x}_{1..n}&amp;lt;/math&amp;gt; and column predictor vectors &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\vec{x}_{1..p}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
In addition, we will also have &#039;&#039;&#039;response&#039;&#039;&#039; variable(s) &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{Y}&amp;lt;/math&amp;gt;, which is a made up of some &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt;-length vectors. &lt;br /&gt;
&lt;br /&gt;
So, our combined dataset consists of &amp;lt;math&amp;gt;[(\vec{x}_1,\vec{y}_1),(\vec{x}_2, \vec{y}_2),...,(\vec{x}_n,\vec{y}_n)]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Our Mission&#039;&#039;&#039;: determine relationships between &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{X}&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{Y}&amp;lt;/math&amp;gt; which are mathematically sound, leading to better understandin&lt;br /&gt;
&lt;br /&gt;
Typically a table has columns as features, rows as entries&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Entries&#039;&#039;&#039; might be &#039;&#039;&#039;numeric&#039;&#039;&#039; or &#039;&#039;&#039;categorical&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Data sources are either &#039;&#039;&#039;Structured&#039;&#039;&#039; or &#039;&#039;&#039;Unstructured&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
* Unstructured data will require some transformation. &lt;br /&gt;
&lt;br /&gt;
Some data may also be &#039;&#039;&#039;time series&#039;&#039;&#039; taking a sampling of points over time, contributing to a 3-dimensional &#039;&#039;&#039;Data Cub&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Several techniques can be used to reduce complex data: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;numeric representation&#039;&#039;&#039; mapping of categorical information into numbers. &lt;br /&gt;
* &#039;&#039;&#039;scaling&#039;&#039;&#039; redefine a new range for a predictor vector. &lt;br /&gt;
* &#039;&#039;&#039;normalization&#039;&#039;&#039; redefine a predictor by its mean and standard deviation, giving a normal distribution of values. &lt;br /&gt;
* &#039;&#039;&#039;dimension reduction&#039;&#039;&#039; lose fine grain of data, but gain understandability. &lt;br /&gt;
* &#039;&#039;&#039;feature extraction&#039;&#039;&#039; a data mining technique in which we can generate new predictors from known information&lt;br /&gt;
&lt;br /&gt;
==== Modeling ====&lt;br /&gt;
What is a model?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Very well-known model&#039;&#039;&#039;: Gravity is a functional model between masses, distances, and force. &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;F = G\frac{m_1m_2}{r^2} \rightarrow g = \frac{G M}{r^2} \rightarrow v(t) = v(0) - gt.&amp;lt;/math&amp;gt; &#039;&#039;&#039;&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;k = Ae^{\frac{E_a}{K_b T}}.&amp;lt;/math&amp;gt;Statistics definition&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X = (\vec{x}_1, \vec{x}_2, ..., \vec{x}_p)&amp;lt;/math&amp;gt; each of length &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt;, and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = (\vec{y})&amp;lt;/math&amp;gt; of length &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt;, then for &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt;, there exists a function with a &#039;&#039;&#039;systematic&#039;&#039;&#039; &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f&amp;lt;/math&amp;gt; and &#039;&#039;&#039;error term&#039;&#039;&#039; &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\varepsilon&amp;lt;/math&amp;gt;: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;Y = f(X) + \varepsilon&amp;lt;/math&amp;gt;Why do we even estimate &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f&amp;lt;/math&amp;gt; at all? &#039;&#039;&#039;Prediction&#039;&#039;&#039; or &#039;&#039;&#039;Inference&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Predictive models&#039;&#039;&#039; create an estimator &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\hat{f}&amp;lt;/math&amp;gt; which we can use to estimate &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; using a sample &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; from a larger population: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\hat{ Y} = \hat{f}(X)&amp;lt;/math&amp;gt; With error: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;E(Y - \hat{Y})^2 = [f(X) - \hat{f}(X)]^2 + \varepsilon&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Inference models&#039;&#039;&#039; are primarily interested in how &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; is affected by &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
* What predictors associated with response? &lt;br /&gt;
* What is the relationship of predictors to response? &lt;br /&gt;
* What is the overall nature of relationship between &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; and the predictors.&lt;br /&gt;
&lt;br /&gt;
==== Signal vs Noise ====&lt;br /&gt;
Consider &#039;&#039;&#039;precision&#039;&#039;&#039; and &#039;&#039;&#039;accuracy&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
* Both contribute into data set &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;noise:&#039;&#039;&#039; variation in data which detracts from constructing &#039;&#039;&#039;information&#039;&#039;&#039;, as opposed to &#039;&#039;&#039;signal&#039;&#039;&#039;–data which is representative of a system under study and contains information. &lt;br /&gt;
&lt;br /&gt;
High signal to noise allows us to minimize &#039;&#039;&#039;reducible error&#039;&#039;&#039;, caused by sampling technique. &lt;br /&gt;
&lt;br /&gt;
Different than &#039;&#039;&#039;irreducible error&#039;&#039;&#039;, created by factors we are not measuring.&lt;br /&gt;
&lt;br /&gt;
==== Error and Fit ====&lt;br /&gt;
In Modeling In the terms of modeling, precision of a model is referred to &#039;&#039;&#039;variance&#039;&#039;&#039; and the accuracy of a model its degree of &#039;&#039;&#039;bias&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Generally, overly complex models generate high variance, and can &#039;&#039;&#039;over-fit&#039;&#039;&#039; to input data, making the model useless to new data.&lt;br /&gt;
&lt;br /&gt;
Generally, &#039;&#039;&#039;Mean Square Error&#039;&#039;&#039; or MSE, used to determine goodness-of-fit for model calibration: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;MSE = \frac{1}{n}\sum^n_{i=1}(y_i - \hat{f}(x_i))^2&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Error rate used in classification: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{1}{n} \sum^n_{i=1} I(y_i \ne \hat{y}_i)&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
However for reporting, &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R^2&amp;lt;/math&amp;gt; statistic is more often used, because it gives a value between 0 and 1 useful to determine how much of variance in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; is explained by variance in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt;: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R^2 = 1 - \frac{\sum(y_i - \hat{y}_i)^2}{\sum(y_i - \bar{y})^2} = \frac{RSS}{TSS}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example functions relating &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
* A linear function: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = \beta_0 + \beta_1 X + \varepsilon&amp;lt;/math&amp;gt; &lt;br /&gt;
* A polynomial: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = \beta_0 + \beta_1 X + \beta_2 X + ... + \varepsilon&amp;lt;/math&amp;gt; &lt;br /&gt;
* A natural function: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = e^{-\alpha_0 X^{\alpha_1}} + \varepsilon&amp;lt;/math&amp;gt; &lt;br /&gt;
* A logistical function: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;p = \frac{ e^{\beta_0 + \beta_1 X} }{1 + e^{\beta_0 + \beta_1 X} }&amp;lt;/math&amp;gt; &lt;br /&gt;
* A series of nested &amp;lt;code&amp;gt;if&amp;lt;/code&amp;gt; statements &lt;br /&gt;
* A series of differential equations: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;x&#039; = x_n - \bar{x}_n: y&#039; = y_n - \beta_n x_n&#039;&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Why Machine Learning? ====&lt;br /&gt;
Types of Questions: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Exact Solution is known&#039;&#039;&#039; normal coding problems, linear models, and classical statistics. &lt;br /&gt;
* &#039;&#039;&#039;Exact Solution is unknown, but can be extracted with work&#039;&#039;&#039; work with systems experts and domain knowledge to create code. &lt;br /&gt;
* &#039;&#039;&#039;Exact Solution is known, but not yet conveyable&#039;&#039;&#039; ML is useful. &lt;br /&gt;
* &#039;&#039;&#039;Exact Solution not known by humans&#039;&#039;&#039; ML and/or Deep Learning needed&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Example:&#039;&#039; consider a prediction of temperature: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Knowledge Based Models&#039;&#039;&#039; &lt;br /&gt;
** Physics and atmospheric science based model. &lt;br /&gt;
** Up to differential equations on chaotic systems. &lt;br /&gt;
** As fine granularity of prediction increases, number of factors and density of data quickly becomes too much for most humans to consider &lt;br /&gt;
* &#039;&#039;&#039;Data Driven Models&#039;&#039;&#039; &lt;br /&gt;
** Use ML to provide &#039;&#039;&#039;iterative&#039;&#039;&#039; gain to reduce error &lt;br /&gt;
*** Known data {\textstyle \rightarrow } model creation {\textstyle \rightarrow } point toward new factors.&lt;br /&gt;
** Uses a split in training and testing data, or sum of error to move toward the correct answer.&lt;br /&gt;
** Human researchers more free to find more data, improve prediction, develop theories&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span&amp;gt;Techniques&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Machine Learning in General ===&lt;br /&gt;
&#039;&#039;&#039;Supervised Learning:&#039;&#039;&#039; the model estimates, error verifies &lt;br /&gt;
&lt;br /&gt;
* If incorrect, needs user input for correction.&lt;br /&gt;
* &#039;&#039;Example&#039;&#039;: a computer vision system trained to find features in images via user annotated images. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Unsupervised Learning:&#039;&#039;&#039; Clustering/Grouping of similar items&lt;br /&gt;
&lt;br /&gt;
* Need a similarity measure via feature vectors and ability to adjust weights &lt;br /&gt;
* &#039;&#039;Example&#039;&#039;: Taste prediction algorithms used in web advertising. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reinforced Learning&#039;&#039;&#039; Model estimates a sequence of guesses &lt;br /&gt;
&lt;br /&gt;
* Correct if and only if the entire sequence or a parameterized output scoring&lt;br /&gt;
* Instant feedback but high compute cost &lt;br /&gt;
* &#039;&#039;Example&#039;&#039;: Game-play in actor-environment model&lt;br /&gt;
&lt;br /&gt;
=== Types of Problems and Output ===&lt;br /&gt;
&#039;&#039;&#039;Numeric&#039;&#039;&#039; function maps &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; and output is in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mathbb{R}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Categorization&#039;&#039;&#039; non-orderable sorting &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Clustering&#039;&#039;&#039; finding principle ways groups differ &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Anomaly Detection&#039;&#039;&#039; finding data points which are out of the ordinary &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Actor Models&#039;&#039;&#039; real-time decision making or detailed simulation&lt;br /&gt;
&lt;br /&gt;
=== Predictive Models ===&lt;br /&gt;
Predictive ML models which are also Linear: &lt;br /&gt;
&lt;br /&gt;
* Utilize a split of training and test data: test-training or &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt;-fold cross-validation &lt;br /&gt;
* use a function mapping of one or more independent variables to the dependent variables, then re-evaluate to reduce error Includes techniques for mixed model reduction&lt;br /&gt;
* Reduction of the number of predictors via &#039;&#039;&#039;Lasso&#039;&#039;&#039;, &#039;&#039;&#039;Ridge&#039;&#039;&#039;, and &#039;&#039;&#039;Elastic Net&#039;&#039;&#039; techniques&lt;br /&gt;
&lt;br /&gt;
=== Feature-vector based models ===&lt;br /&gt;
Nested &amp;lt;code&amp;gt;if&amp;lt;/code&amp;gt; statements try to find decision boundaries by distance between independent data and dependent outcome features have weighted probability most information by Bayesian inference&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Decision Trees&#039;&#039;&#039; can be used to create decision models for linearly separable data effectively a neural network with one neuron&lt;br /&gt;
* &#039;&#039;&#039;Random Forest&#039;&#039;&#039; utilizes a number of differently-tuned trees trees provide consensus voting-based approach for non-linearly separable data smaller tree depth typically prevents over-fit&lt;br /&gt;
&lt;br /&gt;
=== Clustering ===&lt;br /&gt;
Groups data into cluster such that distance within clusters is small, and between differing groups is large &lt;br /&gt;
&lt;br /&gt;
Works with any well-defined &amp;amp;quot;distance&amp;amp;quot; function: Euclidean, Hamming, Inner Product, etc. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;k-Means Clustering:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
* choose &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt; number of clusters randomly distribute &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt; points, &#039;&#039;&#039;centroids&#039;&#039;&#039;, into feature space &lt;br /&gt;
* divide and classify data by distance to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt; centroids &lt;br /&gt;
* move centroids based on center of groups repeats until convergence to some epsilon value&lt;br /&gt;
* where points no longer move across iterations &lt;br /&gt;
* &#039;&#039;&#039;Goodness of Fit&#039;&#039;&#039; for &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;N-M&amp;lt;/math&amp;gt; possible values of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt;, an inflection in overall likelihood ratio given by probability function for set&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;K-nearest Neighbors:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Creates a probabilistic decision boundary within a feature space between &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;K&amp;lt;/math&amp;gt; centroids&lt;br /&gt;
&lt;br /&gt;
Unsupervised system to find structures of data works on majority voting system&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradient Boosting:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
System attempts to find the direction and vector of change in a dimensional field, and follow these iteratively to find local extrema. &lt;br /&gt;
&lt;br /&gt;
Most use some &#039;&#039;&#039;Quasi-Newton Method&#039;&#039;&#039; for finding extrema for faster centroid convergence. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Support Vector Machine:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Also known as SVM, applies a classifier into high-dimensional data to split points into groups some use a &#039;&#039;&#039;kernel trick.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Generates the inner product space of two arbitrary-dimensional numeric matrix spaces, showing the shape of data&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Genetic Algorithms&#039;&#039;&#039; ===&lt;br /&gt;
Utilize some adversarial scoring method of initially randomized vectors:&lt;br /&gt;
&lt;br /&gt;
* ’survivors’ become the basis of new models similar iterative concept to gradient methods.&lt;br /&gt;
* Does not have to understand topology of space requires creator to specify scoring for the machine .&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Convolutional Neural Networks:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Utilize iterative scoring between training and testing, along with &#039;&#039;&#039;gradient descent&#039;&#039;&#039; on a number of layered, weighted vectors to extract features from a complex data set. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Vision Systems&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Take high throughput data and simplify before work is done &#039;&#039;ex&#039;&#039;: 1080p @ 60fps &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\rightarrow&amp;lt;/math&amp;gt; 240x360 @ 15fps, broken into component channels Gaussian blur filter kernel applied to high-res images Edge detection via double threshold ML or CNN used past this to determine actual features&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Software Toolkit ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== Python ===&lt;br /&gt;
General purpose programming language with many libraries Interpreted language: each line is run one at a time by a virtual machine.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Dependency Structure&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;system&#039;&#039; vs &#039;&#039;user&#039;&#039; python &lt;br /&gt;
&lt;br /&gt;
virtualenv: &amp;lt;code&amp;gt;$ python3 -m venv /path/to/new/environment&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
pip libraries &amp;lt;code&amp;gt;$ pip list outdated format=freeze | grep -v | cut -d=&amp;quot; &amp;quot; -f1 | xargs -n1 pip install -U&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;Anaconda&#039;&#039;&#039; ====&lt;br /&gt;
separate virtualenv system specifically for data science:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Spyder&#039;&#039;&#039; IDE with visual output &lt;br /&gt;
* &#039;&#039;&#039;JupyterLabs&#039;&#039;&#039; notes with data visualizations &lt;br /&gt;
* &#039;&#039;&#039;Orange&#039;&#039;&#039; visual IDE for stats exploration&lt;br /&gt;
* &amp;lt;code&amp;gt;pandas, NumPy, and SciPy&amp;lt;/code&amp;gt; libraries for data serialization and numerical work in python &lt;br /&gt;
* &amp;lt;code&amp;gt;matplotlib&amp;lt;/code&amp;gt; for data visualization &lt;br /&gt;
* &amp;lt;code&amp;gt;scikit-learn&amp;lt;/code&amp;gt; main library for ML &lt;br /&gt;
* &amp;lt;code&amp;gt;DASK&amp;lt;/code&amp;gt; distributed abstraction layer with &amp;lt;code&amp;gt;pandas&amp;lt;/code&amp;gt; grammar to easily distribute python tasks into 1-1000 compute nodes &lt;br /&gt;
* &amp;lt;code&amp;gt;PyTorch, and TensorFlow&amp;lt;/code&amp;gt; deep learning and CNN generation systems massive compute overhead to train models require data map reduction and or imputation to run well&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== R language ===&lt;br /&gt;
Statistical programming language: interpreter invokes compiled C or FORTRAN.&lt;br /&gt;
&lt;br /&gt;
Also works within Jupyter notebook for instant visualization, if wanted.&lt;br /&gt;
&lt;br /&gt;
Open-source and extended by the Comprehensive R Archive Network (CRAN), which includes extensive documentation.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;rmarkdown&amp;lt;/code&amp;gt; format a document from R with optional LaTeXbindings &lt;br /&gt;
* &amp;lt;code&amp;gt;tidyverse&amp;lt;/code&amp;gt; &lt;br /&gt;
** &amp;lt;code&amp;gt;dplyr&amp;lt;/code&amp;gt; grammar for mass data manipulation &lt;br /&gt;
** &amp;lt;code&amp;gt;ggplot2&amp;lt;/code&amp;gt; a library for creating graphs and visualizations &lt;br /&gt;
* &amp;lt;code&amp;gt;doparallel&amp;lt;/code&amp;gt; cost-free abstraction, pooling of CPU threads &lt;br /&gt;
* &amp;lt;code&amp;gt;mlr&amp;lt;/code&amp;gt; interface to a large number of classification and regression techniques &lt;br /&gt;
* &amp;lt;code&amp;gt;shiny&amp;lt;/code&amp;gt; provides ability to create web servers similar to NodeJS or Python Flaskl&lt;br /&gt;
&lt;br /&gt;
=== Intel MKL (Math Kernel Library) ===&lt;br /&gt;
Improves performance for Fast Fourier Transforms, linear algebra operations, vector math, deep neural networks, and kernel solvers. &lt;br /&gt;
&lt;br /&gt;
Default math backend for NumPy, SciPy, and MATLAB &lt;br /&gt;
&lt;br /&gt;
Not hardware agnostic: chooses slowest solvers for non-Intel chips by default &lt;br /&gt;
&lt;br /&gt;
=== OpenBLAS and LAPACK ===&lt;br /&gt;
&#039;&#039;&#039;LAPACK&#039;&#039;&#039; (Linear Algebra PACKage) provides APIs much like MKL &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;OpenBLAS&#039;&#039;&#039; (Basic Linear Algebra Subprograms) extends LAPACK with optimizations for parallel computing &lt;br /&gt;
&lt;br /&gt;
Default for R and Biopython&lt;br /&gt;
&lt;br /&gt;
=== Message Passing Interface (MPI) ===&lt;br /&gt;
Supported by all major compilers (Intel and OpenMP implementations) &lt;br /&gt;
&lt;br /&gt;
An API supporting shared-memory multiprocessing provides backend for many parallel computing systems, allowing for multi-threaded access &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;ex&#039;&#039;: &amp;lt;code&amp;gt;mpirun -np $NUM_PROC /path/to/coolProgram &amp;amp;lt; $INPUT &amp;amp;gt; /path/to/output&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== GNU Parallel ===&lt;br /&gt;
simple vectorization of loops over processors for non-multithreaded processes &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;ex&#039;&#039;: &amp;lt;code&amp;gt;parallel -j $NUM_PROC /path/to/thescript.sh ::: &amp;lt;/code&amp;gt;&amp;lt;span&amp;gt;&amp;lt;code&amp;gt;1..n&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;code&amp;gt; ::: &amp;lt;/code&amp;gt;&amp;lt;span&amp;gt;&amp;lt;code&amp;gt;1..m&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CUDA/OpenCL ===&lt;br /&gt;
Nvidia-specific &#039;&#039;&#039;CUDA&#039;&#039;&#039; and open-source &#039;&#039;&#039;OpenCL&#039;&#039;&#039; provide a hardware abstracting API for using GPU for compute tasks &lt;br /&gt;
&lt;br /&gt;
must-have for Pytorch or TensorFlow workloads &lt;br /&gt;
&lt;br /&gt;
Nomenclature Divergence &lt;br /&gt;
&lt;br /&gt;
* CUDA thread = OpenCL work item = CPU lane &lt;br /&gt;
* CUDA multiprocessor = OpenCL compute unit = CPU&lt;br /&gt;
&lt;br /&gt;
=== High Performance Computers ===&lt;br /&gt;
HPC or supercomputing clusters provide high throughput analysis.&lt;br /&gt;
&lt;br /&gt;
Amazingly high amount of computational power.&lt;br /&gt;
&lt;br /&gt;
Need to plan your analysis.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NDSU Center for Computationally-Assisted Science and Technology (CCAST)&#039;&#039;&#039; provides a platform for these workloads connect via &amp;lt;code&amp;gt;ssh&amp;lt;/code&amp;gt; uses loadable modules: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;ex:&#039;&#039; &amp;lt;code&amp;gt;module load parallel&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
batch processing via PBS scripting&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span&amp;gt;Continued Learning&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== General Programming/Computers Websites ===&lt;br /&gt;
&lt;br /&gt;
* StackOverflow.com - check before asking new questions &lt;br /&gt;
* RosettaCode.org - data structures and algorithms in many languages &lt;br /&gt;
* Linux.die.net/man/ - the Linux manual &lt;br /&gt;
* grymoire.com/Unix/ - more *nix CLI tutorials&lt;br /&gt;
&lt;br /&gt;
=== Python ===&lt;br /&gt;
&lt;br /&gt;
* docs.python.org/3/ - the official python documentation &lt;br /&gt;
* docs.python.org/3/tutorial - the official tutorial &lt;br /&gt;
* diveintopython.net - guided tutorial online &lt;br /&gt;
* pythontutor.com - visual debugger &lt;br /&gt;
&lt;br /&gt;
=== R ===&lt;br /&gt;
&lt;br /&gt;
* cran.r-project.org - CRAN &lt;br /&gt;
* cran.r-project.org/manuals.html &lt;br /&gt;
* rdrr.io - meta-manual lookup and many other tools for R &lt;br /&gt;
* swirlstats.com - learn R, in R &lt;br /&gt;
* statslearning.com - statistical machine learning coursework&lt;br /&gt;
&lt;br /&gt;
=== Recommended Reading ===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;An Introduction to Statistical Machine Learning&#039;&#039; by Gareth James et al. &lt;br /&gt;
* &#039;&#039;A Primer on Scientific Programming with Python&#039;&#039; by Hans Petter Langtangen &lt;br /&gt;
* &#039;&#039;R for Data Science&#039;&#039; by Wickham and Grolmund&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Main_Page&amp;diff=139</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Main_Page&amp;diff=139"/>
		<updated>2022-10-21T20:29:11Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div&amp;gt;&lt;br /&gt;
=Welcome to the Rasulev Research Group Wiki!=&lt;br /&gt;
==The Computational Polymer Science and Cheminformatics Group at North Dakota State University==&lt;br /&gt;
&lt;br /&gt;
This page hosts the tutorials and procedures for the group. Implementing MediaWiki, it provides a platform to organize knowledge and make it available to both lab collaborators and students. &lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== [[File:OOjs UI icon edit-ltr.svg|20px|middle|link=]]Topic Crash Courses ===&lt;br /&gt;
&lt;br /&gt;
* [[Statistical Machine Learning]]&lt;br /&gt;
* [[Unix crash course|Unix Crash Course]]&amp;lt;div id=&amp;quot;audiences&amp;quot; class=&amp;quot;mainpage_row&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;mainpage_box&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;h3&amp;gt;&amp;lt;span class=&amp;quot;header_icon&amp;quot; aria-hidden=&amp;quot;true&amp;quot; role=&amp;quot;presentation&amp;quot;&amp;gt;[[File:OOjs UI icon chem.svg|20px|middle|link=]]&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;Lab Procedures and Software Tutorials&amp;lt;/span&amp;gt;&amp;lt;/h3&amp;gt;&lt;br /&gt;
    &amp;lt;div&amp;gt;&lt;br /&gt;
* [[ADF ReaxFF]]&lt;br /&gt;
* [[Avogadro Procedure|Avogadro]]&lt;br /&gt;
* [[BuildQsar Procedure|BuildQSAR]]&lt;br /&gt;
* [[ChemDraw Procedure|ChemDraw]]&lt;br /&gt;
* [[ChemSketchProcedure|ChemSketch]]&lt;br /&gt;
* [[Dragon5 Procedure|Dragon5]]&lt;br /&gt;
* [[Generating Descriptors Workflow]]&lt;br /&gt;
* [[HyperChem]]&lt;br /&gt;
* [[Jupyterlab anaconda|JupyterLab]]&lt;br /&gt;
* [[OpenBabelGUI]]&lt;br /&gt;
* [[QSARINS Procedure|QSARINS]]&lt;br /&gt;
* [[VASP and VMD on CCAST|VASP]]&lt;br /&gt;
* [[WEKA Steps for Loading Data|WEKA]]&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;div id=&amp;quot;audiences&amp;quot; class=&amp;quot;mainpage_row&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;div class=&amp;quot;mainpage_box&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;h3&amp;gt;&amp;lt;span class=&amp;quot;header_icon&amp;quot; aria-hidden=&amp;quot;true&amp;quot; role=&amp;quot;presentation&amp;quot;&amp;gt;[[File:OOjs UI icon advanced.svg|20px|middle|link=]]&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;Benchmarks and Findings&amp;lt;/span&amp;gt;&amp;lt;/h3&amp;gt;&lt;br /&gt;
    &amp;lt;div&amp;gt;&lt;br /&gt;
* [[Benchmarking NAMD workflows for GPU containers]]&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOEDITSECTION__&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Statistical_Machine_Learning&amp;diff=138</id>
		<title>Statistical Machine Learning</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Statistical_Machine_Learning&amp;diff=138"/>
		<updated>2022-10-21T20:23:33Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: created and edited page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== &amp;lt;span&amp;gt;Overview&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
A crash course to enable gentle introduction into the machine learning techniques and its applications into data science. &lt;br /&gt;
&lt;br /&gt;
Topics Covered: &lt;br /&gt;
&lt;br /&gt;
* Basic Concepts &lt;br /&gt;
* Data Models &lt;br /&gt;
* Machine Learning &lt;br /&gt;
* ML Techniques &lt;br /&gt;
* SoftwareToolkit &lt;br /&gt;
* Continued Learning&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span&amp;gt;Basic Concepts&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== Definitions: ===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Statistical Machine Learning&#039;&#039;&#039; is a set of tools used to model and understand complex data sets &lt;br /&gt;
* &#039;&#039;&#039;Data Science&#039;&#039;&#039; is a set of techniques in computing to support the analysis of data &lt;br /&gt;
** Not very useful without some domain knowledge: it is important to &#039;&#039;know your data&#039;&#039;. &lt;br /&gt;
* Includes analytic techniques: &lt;br /&gt;
** descriptive statistics &lt;br /&gt;
** data visualization &lt;br /&gt;
** statistical machine learning &lt;br /&gt;
** neural networks&lt;br /&gt;
** actor-environment models &lt;br /&gt;
* Also includes computational techniques: &lt;br /&gt;
** database administration &lt;br /&gt;
** management of information systems &lt;br /&gt;
** parallelization &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\rightarrow&amp;lt;/math&amp;gt; high performance computing&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Basic Concepts ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
==== Knowing your data ====&lt;br /&gt;
Technical definition: &lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt; represent a number of distinct &#039;&#039;&#039;observations&#039;&#039;&#039;, and let &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;p&amp;lt;/math&amp;gt; represent a number of &#039;&#039;&#039;predictors&#039;&#039;&#039; Then, our observed data &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{X}&amp;lt;/math&amp;gt; is an &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n\times p&amp;lt;/math&amp;gt; matrix with row observation vectors &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\vec{x}_{1..n}&amp;lt;/math&amp;gt; and column predictor vectors &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\vec{x}_{1..p}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
In addition, we will also have &#039;&#039;&#039;response&#039;&#039;&#039; variable(s) &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{Y}&amp;lt;/math&amp;gt;, which is a made up of some &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt;-length vectors. &lt;br /&gt;
&lt;br /&gt;
So, our combined dataset consists of &amp;lt;math&amp;gt;[(\vec{x}_1,\vec{y}_1),(\vec{x}_2, \vec{y}_2),...,(\vec{x}_n,\vec{y}_n)]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Our Mission&#039;&#039;&#039;: determine relationships between &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{X}&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\textbf{Y}&amp;lt;/math&amp;gt; which are mathematically sound, leading to better understandin&lt;br /&gt;
&lt;br /&gt;
Typically a table has columns as features, rows as entries&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Entries&#039;&#039;&#039; might be &#039;&#039;&#039;numeric&#039;&#039;&#039; or &#039;&#039;&#039;categorical&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Data sources are either &#039;&#039;&#039;Structured&#039;&#039;&#039; or &#039;&#039;&#039;Unstructured&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
* Unstructured data will require some transformation. &lt;br /&gt;
&lt;br /&gt;
Some data may also be &#039;&#039;&#039;time series&#039;&#039;&#039; taking a sampling of points over time, contributing to a 3-dimensional &#039;&#039;&#039;Data Cub&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Several techniques can be used to reduce complex data: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;numeric representation&#039;&#039;&#039; mapping of categorical information into numbers. &lt;br /&gt;
* &#039;&#039;&#039;scaling&#039;&#039;&#039; redefine a new range for a predictor vector. &lt;br /&gt;
* &#039;&#039;&#039;normalization&#039;&#039;&#039; redefine a predictor by its mean and standard deviation, giving a normal distribution of values. &lt;br /&gt;
* &#039;&#039;&#039;dimension reduction&#039;&#039;&#039; lose fine grain of data, but gain understandability. &lt;br /&gt;
* &#039;&#039;&#039;feature extraction&#039;&#039;&#039; a data mining technique in which we can generate new predictors from known information&lt;br /&gt;
&lt;br /&gt;
==== Modeling ====&lt;br /&gt;
What is a model?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Very well-known model&#039;&#039;&#039;: Gravity is a functional model between masses, distances, and force. &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;F = G\frac{m_1m_2}{r^2} \rightarrow g = \frac{G M}{r^2} \rightarrow v(t) = v(0) - gt.&amp;lt;/math&amp;gt; &#039;&#039;&#039;&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;k = Ae^{\frac{E_a}{K_b T}}.&amp;lt;/math&amp;gt;Statistics definition&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X = (\vec{x}_1, \vec{x}_2, ..., \vec{x}_p)&amp;lt;/math&amp;gt; each of length &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt;, and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = (\vec{y})&amp;lt;/math&amp;gt; of length &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;n&amp;lt;/math&amp;gt;, then for &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt;, there exists a function with a &#039;&#039;&#039;systematic&#039;&#039;&#039; &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f&amp;lt;/math&amp;gt; and &#039;&#039;&#039;error term&#039;&#039;&#039; &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\varepsilon&amp;lt;/math&amp;gt;: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;Y = f(X) + \varepsilon&amp;lt;/math&amp;gt;Why do we even estimate &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f&amp;lt;/math&amp;gt; at all? &#039;&#039;&#039;Prediction&#039;&#039;&#039; or &#039;&#039;&#039;Inference&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Predictive models&#039;&#039;&#039; create an estimator &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\hat{f}&amp;lt;/math&amp;gt; which we can use to estimate &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; using a sample &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; from a larger population: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\hat{ Y} = \hat{f}(X)&amp;lt;/math&amp;gt; With error: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;E(Y - \hat{Y})^2 = [f(X) - \hat{f}(X)]^2 + \varepsilon&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Inference models&#039;&#039;&#039; are primarily interested in how &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; is affected by &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
* What predictors associated with response? &lt;br /&gt;
* What is the relationship of predictors to response? &lt;br /&gt;
* What is the overall nature of relationship between &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; and the predictors.&lt;br /&gt;
&lt;br /&gt;
==== Signal vs Noise ====&lt;br /&gt;
Consider &#039;&#039;&#039;precision&#039;&#039;&#039; and &#039;&#039;&#039;accuracy&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
* Both contribute into data set &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;noise:&#039;&#039;&#039; variation in data which detracts from constructing &#039;&#039;&#039;information&#039;&#039;&#039;, as opposed to &#039;&#039;&#039;signal&#039;&#039;&#039;–data which is representative of a system under study and contains information. &lt;br /&gt;
&lt;br /&gt;
High signal to noise allows us to minimize &#039;&#039;&#039;reducible error&#039;&#039;&#039;, caused by sampling technique. &lt;br /&gt;
&lt;br /&gt;
Different than &#039;&#039;&#039;irreducible error&#039;&#039;&#039;, created by factors we are not measuring.&lt;br /&gt;
&lt;br /&gt;
==== Error and Fit ====&lt;br /&gt;
In Modeling In the terms of modeling, precision of a model is referred to &#039;&#039;&#039;variance&#039;&#039;&#039; and the accuracy of a model its degree of &#039;&#039;&#039;bias&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Generally, overly complex models generate high variance, and can &#039;&#039;&#039;over-fit&#039;&#039;&#039; to input data, making the model useless to new data.&lt;br /&gt;
&lt;br /&gt;
Generally, &#039;&#039;&#039;Mean Square Error&#039;&#039;&#039; or MSE, used to determine goodness-of-fit for model calibration: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;MSE = \frac{1}{n}\sum^n_{i=1}(y_i - \hat{f}(x_i))^2&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Error rate used in classification: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{1}{n} \sum^n_{i=1} I(y_i \ne \hat{y}_i)&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
However for reporting, &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R^2&amp;lt;/math&amp;gt; statistic is more often used, because it gives a value between 0 and 1 useful to determine how much of variance in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; is explained by variance in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt;: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R^2 = 1 - \frac{\sum(y_i - \hat{y}_i)^2}{\sum(y_i - \bar{y})^2} = \frac{RSS}{TSS}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example functions relating &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
* A linear function: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = \beta_0 + \beta_1 X + \varepsilon&amp;lt;/math&amp;gt; &lt;br /&gt;
* A polynomial: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = \beta_0 + \beta_1 X + \beta_2 X + ... + \varepsilon&amp;lt;/math&amp;gt; &lt;br /&gt;
* A natural function: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y = e^{-\alpha_0 X^{\alpha_1}} + \varepsilon&amp;lt;/math&amp;gt; &lt;br /&gt;
* A logistical function: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;p = \frac{e^{\beta_0 + \beta_1 X}}{1 + e^{\beta_0 + \beta_1 X}}&amp;lt;/math&amp;gt; &lt;br /&gt;
* A series of nested &amp;lt;code&amp;gt;if&amp;lt;/code&amp;gt; statements &lt;br /&gt;
* A series of differential equations: &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;x^\prime = x_n - \bar{x}_n: y^\prime = y_n - \beta_n ({x_n}^\prime).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Why Machine Learning? ====&lt;br /&gt;
Types of Questions: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Exact Solution is known&#039;&#039;&#039; normal coding problems, linear models, and classical statistics. &lt;br /&gt;
* &#039;&#039;&#039;Exact Solution is unknown, but can be extracted with work&#039;&#039;&#039; work with systems experts and domain knowledge to create code. &lt;br /&gt;
* &#039;&#039;&#039;Exact Solution is known, but not yet conveyable&#039;&#039;&#039; ML is useful. &lt;br /&gt;
* &#039;&#039;&#039;Exact Solution not known by humans&#039;&#039;&#039; ML and/or Deep Learning needed&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Example:&#039;&#039; consider a prediction of temperature: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Knowledge Based Models&#039;&#039;&#039; &lt;br /&gt;
** Physics and atmospheric science based model. &lt;br /&gt;
** Up to differential equations on chaotic systems. &lt;br /&gt;
** As fine granularity of prediction increases, number of factors and density of data quickly becomes too much for most humans to consider &lt;br /&gt;
* &#039;&#039;&#039;Data Driven Models&#039;&#039;&#039; &lt;br /&gt;
** Use ML to provide &#039;&#039;&#039;iterative&#039;&#039;&#039; gain to reduce error &lt;br /&gt;
*** Known data &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\rightarrow&amp;lt;/math&amp;gt; model creation &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\rightarrow&amp;lt;/math&amp;gt; point toward new factors.&lt;br /&gt;
** Uses a split in training and testing data, or sum of error to move toward the correct answer.&lt;br /&gt;
** Human researchers more free to find more data, improve prediction, develop theories&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span&amp;gt;Techniques&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Machine Learning in General ===&lt;br /&gt;
&#039;&#039;&#039;Supervised Learning:&#039;&#039;&#039; the model estimates, error verifies &lt;br /&gt;
&lt;br /&gt;
* If incorrect, needs user input for correction.&lt;br /&gt;
* &#039;&#039;Example&#039;&#039;: a computer vision system trained to find features in images via user annotated images. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Unsupervised Learning:&#039;&#039;&#039; Clustering/Grouping of similar items&lt;br /&gt;
&lt;br /&gt;
* Need a similarity measure via feature vectors and ability to adjust weights &lt;br /&gt;
* &#039;&#039;Example&#039;&#039;: Taste prediction algorithms used in web advertising. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reinforced Learning&#039;&#039;&#039; Model estimates a sequence of guesses &lt;br /&gt;
&lt;br /&gt;
* Correct if and only if the entire sequence or a parameterized output scoring&lt;br /&gt;
* Instant feedback but high compute cost &lt;br /&gt;
* &#039;&#039;Example&#039;&#039;: Game-play in actor-environment model&lt;br /&gt;
&lt;br /&gt;
=== Types of Problems and Output ===&lt;br /&gt;
&#039;&#039;&#039;Numeric&#039;&#039;&#039; function maps &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;X&amp;lt;/math&amp;gt; to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;Y&amp;lt;/math&amp;gt; and output is in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mathbb{R}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Categorization&#039;&#039;&#039; non-orderable sorting &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Clustering&#039;&#039;&#039; finding principle ways groups differ &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Anomaly Detection&#039;&#039;&#039; finding data points which are out of the ordinary &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Actor Models&#039;&#039;&#039; real-time decision making or detailed simulation&lt;br /&gt;
&lt;br /&gt;
=== Predictive Models ===&lt;br /&gt;
Predictive ML models which are also Linear: &lt;br /&gt;
&lt;br /&gt;
* Utilize a split of training and test data: test-training or &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt;-fold cross-validation &lt;br /&gt;
* use a function mapping of one or more independent variables to the dependent variables, then re-evaluate to reduce error Includes techniques for mixed model reduction&lt;br /&gt;
* Reduction of the number of predictors via &#039;&#039;&#039;Lasso&#039;&#039;&#039;, &#039;&#039;&#039;Ridge&#039;&#039;&#039;, and &#039;&#039;&#039;Elastic Net&#039;&#039;&#039; techniques&lt;br /&gt;
&lt;br /&gt;
=== Feature-vector based models ===&lt;br /&gt;
Nested &amp;lt;code&amp;gt;if&amp;lt;/code&amp;gt; statements try to find decision boundaries by distance between independent data and dependent outcome features have weighted probability most information by Bayesian inference&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Decision Trees&#039;&#039;&#039; can be used to create decision models for linearly separable data effectively a neural network with one neuron&lt;br /&gt;
* &#039;&#039;&#039;Random Forest&#039;&#039;&#039; utilizes a number of differently-tuned trees trees provide consensus voting-based approach for non-linearly separable data smaller tree depth typically prevents over-fit&lt;br /&gt;
&lt;br /&gt;
=== Clustering ===&lt;br /&gt;
Groups data into cluster such that distance within clusters is small, and between differing groups is large &lt;br /&gt;
&lt;br /&gt;
Works with any well-defined &amp;amp;quot;distance&amp;amp;quot; function: Euclidean, Hamming, Inner Product, etc. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;k-Means Clustering:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
* choose &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt; number of clusters randomly distribute &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt; points, &#039;&#039;&#039;centroids&#039;&#039;&#039;, into feature space &lt;br /&gt;
* divide and classify data by distance to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt; centroids &lt;br /&gt;
* move centroids based on center of groups repeats until convergence to some epsilon value&lt;br /&gt;
* where points no longer move across iterations &lt;br /&gt;
* &#039;&#039;&#039;Goodness of Fit&#039;&#039;&#039; for &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;N-M&amp;lt;/math&amp;gt; possible values of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;k&amp;lt;/math&amp;gt;, an inflection in overall likelihood ratio given by probability function for set&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;K-nearest Neighbors:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Creates a probabilistic decision boundary within a feature space between &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;K&amp;lt;/math&amp;gt; centroids&lt;br /&gt;
&lt;br /&gt;
Unsupervised system to find structures of data works on majority voting system&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradient Boosting:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
System attempts to find the direction and vector of change in a dimensional field, and follow these iteratively to find local extrema. &lt;br /&gt;
&lt;br /&gt;
Most use some &#039;&#039;&#039;Quasi-Newton Method&#039;&#039;&#039; for finding extrema for faster centroid convergence. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Support Vector Machine:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Also known as SVM, applies a classifier into high-dimensional data to split points into groups some use a &#039;&#039;&#039;kernel trick.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Generates the inner product space of two arbitrary-dimensional numeric matrix spaces, showing the shape of data&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Genetic Algorithms&#039;&#039;&#039; ===&lt;br /&gt;
Utilize some adversarial scoring method of initially randomized vectors:&lt;br /&gt;
&lt;br /&gt;
* ’survivors’ become the basis of new models similar iterative concept to gradient methods.&lt;br /&gt;
* Does not have to understand topology of space requires creator to specify scoring for the machine .&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Convolutional Neural Networks:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Utilize iterative scoring between training and testing, along with &#039;&#039;&#039;gradient descent&#039;&#039;&#039; on a number of layered, weighted vectors to extract features from a complex data set. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Vision Systems&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Take high throughput data and simplify before work is done &#039;&#039;ex&#039;&#039;: 1080p @ 60fps &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\rightarrow&amp;lt;/math&amp;gt; 240x360 @ 15fps, broken into component channels Gaussian blur filter kernel applied to high-res images Edge detection via double threshold ML or CNN used past this to determine actual features&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Software Toolkit ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== Python ===&lt;br /&gt;
General purpose programming language with many libraries Interpreted language: each line is run one at a time by a virtual machine.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Dependency Structure&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;system&#039;&#039; vs &#039;&#039;user&#039;&#039; python &lt;br /&gt;
&lt;br /&gt;
virtualenv: &amp;lt;code&amp;gt;$ python3 -m venv /path/to/new/environment&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
pip libraries &amp;lt;code&amp;gt;$ pip list outdated format=freeze | grep -v | cut -d=&amp;quot; &amp;quot; -f1 | xargs -n1 pip install -U&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;Anaconda&#039;&#039;&#039; ====&lt;br /&gt;
separate virtualenv system specifically for data science:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Spyder&#039;&#039;&#039; IDE with visual output &lt;br /&gt;
* &#039;&#039;&#039;JupyterLabs&#039;&#039;&#039; notes with data visualizations &lt;br /&gt;
* &#039;&#039;&#039;Orange&#039;&#039;&#039; visual IDE for stats exploration&lt;br /&gt;
* &amp;lt;code&amp;gt;pandas, NumPy, and SciPy&amp;lt;/code&amp;gt; libraries for data serialization and numerical work in python &lt;br /&gt;
* &amp;lt;code&amp;gt;matplotlib&amp;lt;/code&amp;gt; for data visualization &lt;br /&gt;
* &amp;lt;code&amp;gt;scikit-learn&amp;lt;/code&amp;gt; main library for ML &lt;br /&gt;
* &amp;lt;code&amp;gt;DASK&amp;lt;/code&amp;gt; distributed abstraction layer with &amp;lt;code&amp;gt;pandas&amp;lt;/code&amp;gt; grammar to easily distribute python tasks into 1-1000 compute nodes &lt;br /&gt;
* &amp;lt;code&amp;gt;PyTorch, and TensorFlow&amp;lt;/code&amp;gt; deep learning and CNN generation systems massive compute overhead to train models require data map reduction and or imputation to run well&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== R language ===&lt;br /&gt;
Statistical programming language: interpreter invokes compiled C or FORTRAN.&lt;br /&gt;
&lt;br /&gt;
Also works within Jupyter notebook for instant visualization, if wanted.&lt;br /&gt;
&lt;br /&gt;
Open-source and extended by the Comprehensive R Archive Network (CRAN), which includes extensive documentation.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;rmarkdown&amp;lt;/code&amp;gt; format a document from R with optional LaTeXbindings &lt;br /&gt;
* &amp;lt;code&amp;gt;tidyverse&amp;lt;/code&amp;gt; &lt;br /&gt;
** &amp;lt;code&amp;gt;dplyr&amp;lt;/code&amp;gt; grammar for mass data manipulation &lt;br /&gt;
** &amp;lt;code&amp;gt;ggplot2&amp;lt;/code&amp;gt; a library for creating graphs and visualizations &lt;br /&gt;
* &amp;lt;code&amp;gt;doparallel&amp;lt;/code&amp;gt; cost-free abstraction, pooling of CPU threads &lt;br /&gt;
* &amp;lt;code&amp;gt;mlr&amp;lt;/code&amp;gt; interface to a large number of classification and regression techniques &lt;br /&gt;
* &amp;lt;code&amp;gt;shiny&amp;lt;/code&amp;gt; provides ability to create web servers similar to NodeJS or Python Flaskl&lt;br /&gt;
&lt;br /&gt;
=== Intel MKL (Math Kernel Library) ===&lt;br /&gt;
Improves performance for Fast Fourier Transforms, linear algebra operations, vector math, deep neural networks, and kernel solvers. &lt;br /&gt;
&lt;br /&gt;
Default math backend for NumPy, SciPy, and MATLAB &lt;br /&gt;
&lt;br /&gt;
Not hardware agnostic: chooses slowest solvers for non-Intel chips by default &lt;br /&gt;
&lt;br /&gt;
=== OpenBLAS and LAPACK ===&lt;br /&gt;
&#039;&#039;&#039;LAPACK&#039;&#039;&#039; (Linear Algebra PACKage) provides APIs much like MKL &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;OpenBLAS&#039;&#039;&#039; (Basic Linear Algebra Subprograms) extends LAPACK with optimizations for parallel computing &lt;br /&gt;
&lt;br /&gt;
Default for R and Biopython&lt;br /&gt;
&lt;br /&gt;
=== Message Passing Interface (MPI) ===&lt;br /&gt;
Supported by all major compilers (Intel and OpenMP implementations) &lt;br /&gt;
&lt;br /&gt;
An API supporting shared-memory multiprocessing provides backend for many parallel computing systems, allowing for multi-threaded access &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;ex&#039;&#039;: &amp;lt;code&amp;gt;mpirun -np $NUM_PROC /path/to/coolProgram &amp;amp;lt; $INPUT &amp;amp;gt; /path/to/output&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== GNU Parallel ===&lt;br /&gt;
simple vectorization of loops over processors for non-multithreaded processes &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;ex&#039;&#039;: &amp;lt;code&amp;gt;parallel -j $NUM_PROC /path/to/thescript.sh ::: &amp;lt;/code&amp;gt;&amp;lt;span&amp;gt;&amp;lt;code&amp;gt;1..n&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;code&amp;gt; ::: &amp;lt;/code&amp;gt;&amp;lt;span&amp;gt;&amp;lt;code&amp;gt;1..m&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CUDA/OpenCL ===&lt;br /&gt;
Nvidia-specific &#039;&#039;&#039;CUDA&#039;&#039;&#039; and open-source &#039;&#039;&#039;OpenCL&#039;&#039;&#039; provide a hardware abstracting API for using GPU for compute tasks &lt;br /&gt;
&lt;br /&gt;
must-have for Pytorch or TensorFlow workloads &lt;br /&gt;
&lt;br /&gt;
Nomenclature Divergence &lt;br /&gt;
&lt;br /&gt;
* CUDA thread = OpenCL work item = CPU lane &lt;br /&gt;
* CUDA multiprocessor = OpenCL compute unit = CPU&lt;br /&gt;
&lt;br /&gt;
=== High Performance Computers ===&lt;br /&gt;
HPC or supercomputing clusters provide high throughput analysis.&lt;br /&gt;
&lt;br /&gt;
Amazingly high amount of computational power.&lt;br /&gt;
&lt;br /&gt;
Need to plan your analysis.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NDSU Center for Computationally-Assisted Science and Technology (CCAST)&#039;&#039;&#039; provides a platform for these workloads connect via &amp;lt;code&amp;gt;ssh&amp;lt;/code&amp;gt; uses loadable modules: &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;ex:&#039;&#039; &amp;lt;code&amp;gt;module load parallel&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
batch processing via PBS scripting&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span&amp;gt;Continued Learning&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;outline&amp;quot;&amp;gt;&lt;br /&gt;
=== General Programming/Computers Websites ===&lt;br /&gt;
&lt;br /&gt;
* StackOverflow.com - check before asking new questions &lt;br /&gt;
* RosettaCode.org - data structures and algorithms in many languages &lt;br /&gt;
* Linux.die.net/man/ - the Linux manual &lt;br /&gt;
* grymoire.com/Unix/ - more *nix CLI tutorials&lt;br /&gt;
&lt;br /&gt;
=== Python ===&lt;br /&gt;
&lt;br /&gt;
* docs.python.org/3/ - the official python documentation &lt;br /&gt;
* docs.python.org/3/tutorial - the official tutorial &lt;br /&gt;
* diveintopython.net - guided tutorial online &lt;br /&gt;
* pythontutor.com - visual debugger &lt;br /&gt;
&lt;br /&gt;
=== R ===&lt;br /&gt;
&lt;br /&gt;
* cran.r-project.org - CRAN &lt;br /&gt;
* cran.r-project.org/manuals.html &lt;br /&gt;
* rdrr.io - meta-manual lookup and many other tools for R &lt;br /&gt;
* swirlstats.com - learn R, in R &lt;br /&gt;
* statslearning.com - statistical machine learning coursework&lt;br /&gt;
&lt;br /&gt;
=== Recommended Reading ===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;An Introduction to Statistical Machine Learning&#039;&#039; by Gareth James et al. &lt;br /&gt;
* &#039;&#039;A Primer on Scientific Programming with Python&#039;&#039; by Hans Petter Langtangen &lt;br /&gt;
* &#039;&#039;R for Data Science&#039;&#039; by Wickham and Grolmund&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Benchmarking_NAMD_workflows_for_GPU_containers&amp;diff=137</id>
		<title>Benchmarking NAMD workflows for GPU containers</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Benchmarking_NAMD_workflows_for_GPU_containers&amp;diff=137"/>
		<updated>2022-10-21T18:22:52Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: created and edited page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;span id=&amp;quot;benchmarking-namd2-workloads-for-gpu-containers-on-ccast&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Benchmarking NAMD2 workloads for GPU containers on CCAST ==&lt;br /&gt;
&lt;br /&gt;
Stephen Szwiec &lt;br /&gt;
&lt;br /&gt;
Rasulev Computational Chemistry Research Group&lt;br /&gt;
&lt;br /&gt;
North Dakota State University&lt;br /&gt;
&lt;br /&gt;
26 July 2022&lt;br /&gt;
-----&lt;br /&gt;
==== ApoA1 information ====&lt;br /&gt;
&lt;br /&gt;
* simulates a bloodstream lipoprotein particle&lt;br /&gt;
* &#039;&#039;&#039;physical stats&#039;&#039;&#039;&lt;br /&gt;
** 92224 atoms&lt;br /&gt;
** 70660 bonds&lt;br /&gt;
** 74136 angles&lt;br /&gt;
** 74130 diheadrals&lt;br /&gt;
** 1402 impropers&lt;br /&gt;
** 32992 hydrogen groups&lt;br /&gt;
** 553785 total amu of mass&lt;br /&gt;
* &#039;&#039;&#039;energy stats&#039;&#039;&#039;&lt;br /&gt;
** 300K initial temp.&lt;br /&gt;
** -14 e total charge&lt;br /&gt;
* &#039;&#039;&#039;simulation stats&#039;&#039;&#039;&lt;br /&gt;
** Consists of a startup process followed by 500 steps of simulation for benchmark time&lt;br /&gt;
** GPU workload modified to use CUDA FFTW, CUDA integration&lt;br /&gt;
** GPU workload modified to continue simulation for 10000 steps&lt;br /&gt;
==== NAMD non-gpu run information ====&lt;br /&gt;
&lt;br /&gt;
* Charmrun used with one node (condo02)&lt;br /&gt;
* machine topology: 2sockets x 64 cores x 1 PU = 128-way SMP possible&lt;br /&gt;
* 20 processes, 20 cores, 1 physical node, and 16GB memory specified&lt;br /&gt;
* NAMD 2.14 used&lt;br /&gt;
==== NAMD gpu run information ====&lt;br /&gt;
&lt;br /&gt;
* NAMD used within Singularity container system&lt;br /&gt;
** namd:3.0-alpha11 image used to generate singularity container&lt;br /&gt;
* machine topology: 2sockets x 64 cores x 1 PU = 128-way SMP possible&lt;br /&gt;
* 2 CPUs, 2 GPUs, 1 openMP thread, 1 physical node, and 16GB memory specified&lt;br /&gt;
** binding each GPU to one Nvidia A10 with 22731MB memory&lt;br /&gt;
* NAMD 3.0alpha11&lt;br /&gt;
-----&lt;br /&gt;
=== Benchmark findings ===&lt;br /&gt;
==== Startup Wall Time ====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CPU&#039;&#039;&#039; 3.4346 s &#039;&#039;&#039;GPU&#039;&#039;&#039; 0.0963 s&lt;br /&gt;
==== Simulation Wall Time ====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CPU&#039;&#039;&#039; 38.6991 s &#039;&#039;&#039;GPU&#039;&#039;&#039; 5.59571 s&lt;br /&gt;
==== Wall Time Per Step ====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CPU&#039;&#039;&#039; 0.0918308 s/step &#039;&#039;&#039;GPU&#039;&#039;&#039; 0.0110155 s/step&lt;br /&gt;
==== Days Per Nanosecond Simulation ====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CPU&#039;&#039;&#039; 0.999022 days/ns &#039;&#039;&#039;GPU&#039;&#039;&#039; 0.0660301 days/ns&lt;br /&gt;
-----&lt;br /&gt;
==== Additional information ====&lt;br /&gt;
&lt;br /&gt;
* Extending Apoa1 workload steps with CUDA lead to step 3500 being reached in roughly the same time step 500 was reached on 20 CPUs.&lt;br /&gt;
* per core speedup with GPU acceleration is ~151.297 times&lt;br /&gt;
** caveat: one CPU must supervise and await output from each GPU because of how NAMD was written&lt;br /&gt;
* CUDA performed 10000steps and wrote output in 136.315155s total wall time&lt;br /&gt;
* CPU performed 500steps and wrote output in 76.477325s total wall time&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Benchmarking_NAMD_workflows_for_GPU_containers&amp;diff=136</id>
		<title>Benchmarking NAMD workflows for GPU containers</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Benchmarking_NAMD_workflows_for_GPU_containers&amp;diff=136"/>
		<updated>2022-10-21T18:21:54Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Created page with &amp;quot;&amp;lt;span id=&amp;quot;benchmarking-namd2-workloads-for-gpu-containers-on-ccast&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; == Benchmarking NAMD2 workloads for GPU containers on CCAST ==  &amp;lt;span id=&amp;quot;stephen-szwiec&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; Stephen Szwiec  Rasulev Computational Chemistry Research Group North Dakota State University 26 July 2022 -----  &amp;lt;span id=&amp;quot;apoa1-information&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==== ApoA1 information ====  * simulates a bloodstream lipoprotein particle * &amp;#039;&amp;#039;&amp;#039;physical stats&amp;#039;&amp;#039;&amp;#039; ** 92224 atoms ** 70660 bonds ** 74136 angles ** 741...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;span id=&amp;quot;benchmarking-namd2-workloads-for-gpu-containers-on-ccast&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Benchmarking NAMD2 workloads for GPU containers on CCAST ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;stephen-szwiec&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
Stephen Szwiec &lt;br /&gt;
Rasulev Computational Chemistry Research Group&lt;br /&gt;
North Dakota State University&lt;br /&gt;
26 July 2022&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;apoa1-information&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== ApoA1 information ====&lt;br /&gt;
&lt;br /&gt;
* simulates a bloodstream lipoprotein particle&lt;br /&gt;
* &#039;&#039;&#039;physical stats&#039;&#039;&#039;&lt;br /&gt;
** 92224 atoms&lt;br /&gt;
** 70660 bonds&lt;br /&gt;
** 74136 angles&lt;br /&gt;
** 74130 diheadrals&lt;br /&gt;
** 1402 impropers&lt;br /&gt;
** 32992 hydrogen groups&lt;br /&gt;
** 553785 total amu of mass&lt;br /&gt;
* &#039;&#039;&#039;energy stats&#039;&#039;&#039;&lt;br /&gt;
** 300K initial temp.&lt;br /&gt;
** -14 e total charge&lt;br /&gt;
* &#039;&#039;&#039;simulation stats&#039;&#039;&#039;&lt;br /&gt;
** Consists of a startup process followed by 500 steps of simulation for benchmark time&lt;br /&gt;
** GPU workload modified to use CUDA FFTW, CUDA integration&lt;br /&gt;
** GPU workload modified to continue simulation for 10000 steps&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;namd-non-gpu-run-information&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== NAMD non-gpu run information ====&lt;br /&gt;
&lt;br /&gt;
* Charmrun used with one node (condo02)&lt;br /&gt;
* machine topology: 2sockets x 64 cores x 1 PU = 128-way SMP possible&lt;br /&gt;
* 20 processes, 20 cores, 1 physical node, and 16GB memory specified&lt;br /&gt;
* NAMD 2.14 used&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;namd-gpu-run-information&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== NAMD gpu run information ====&lt;br /&gt;
&lt;br /&gt;
* NAMD used within Singularity container system&lt;br /&gt;
** namd:3.0-alpha11 image used to generate singularity container&lt;br /&gt;
* machine topology: 2sockets x 64 cores x 1 PU = 128-way SMP possible&lt;br /&gt;
* 2 CPUs, 2 GPUs, 1 openMP thread, 1 physical node, and 16GB memory specified&lt;br /&gt;
** binding each GPU to one Nvidia A10 with 22731MB memory&lt;br /&gt;
* NAMD 3.0alpha11&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;benchmark-findings&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Benchmark findings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;startup-wall-time&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== Startup Wall Time ====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CPU&#039;&#039;&#039; 3.4346 s &#039;&#039;&#039;GPU&#039;&#039;&#039; 0.0963 s&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;simulation-wall-time&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== Simulation Wall Time ====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CPU&#039;&#039;&#039; 38.6991 s &#039;&#039;&#039;GPU&#039;&#039;&#039; 5.59571 s&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;wall-time-per-step&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== Wall Time Per Step ====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CPU&#039;&#039;&#039; 0.0918308 s/step &#039;&#039;&#039;GPU&#039;&#039;&#039; 0.0110155 s/step&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;days-per-nanosecond-simulation&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== Days Per Nanosecond Simulation ====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CPU&#039;&#039;&#039; 0.999022 days/ns &#039;&#039;&#039;GPU&#039;&#039;&#039; 0.0660301 days/ns&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;additional-information&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== Additional information ====&lt;br /&gt;
&lt;br /&gt;
* Extending Apoa1 workload steps with CUDA lead to step 3500 being reached in roughly the same time step 500 was reached on 20 CPUs.&lt;br /&gt;
* per core speedup with GPU acceleration is ~151.297 times&lt;br /&gt;
** caveat: one CPU must supervise and await output from each GPU because of how NAMD was written&lt;br /&gt;
* CUDA performed 10000steps and wrote output in 136.315155s total wall time&lt;br /&gt;
* CPU performed 500steps and wrote output in 76.477325s total wall time&lt;br /&gt;
&amp;lt;span id=&amp;quot;benchmarking-namd2-workloads-for-gpu-containers-on-ccast&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Benchmarking NAMD2 workloads for GPU containers on CCAST ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;stephen-szwiec&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Stephen Szwiec ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;rasulev-computational-chemistry-research-group&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Rasulev Computational Chemistry Research Group ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;north-dakota-state-university&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== North Dakota State University ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;july-2022&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== 26 July 2022 ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;apoa1-information&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== ApoA1 information ====&lt;br /&gt;
&lt;br /&gt;
* simulates a bloodstream lipoprotein particle&lt;br /&gt;
* &#039;&#039;&#039;physical stats&#039;&#039;&#039;&lt;br /&gt;
** 92224 atoms&lt;br /&gt;
** 70660 bonds&lt;br /&gt;
** 74136 angles&lt;br /&gt;
** 74130 diheadrals&lt;br /&gt;
** 1402 impropers&lt;br /&gt;
** 32992 hydrogen groups&lt;br /&gt;
** 553785 total amu of mass&lt;br /&gt;
* &#039;&#039;&#039;energy stats&#039;&#039;&#039;&lt;br /&gt;
** 300K initial temp.&lt;br /&gt;
** -14 e total charge&lt;br /&gt;
* &#039;&#039;&#039;simulation stats&#039;&#039;&#039;&lt;br /&gt;
** Consists of a startup process followed by 500 steps of simulation for benchmark time&lt;br /&gt;
** GPU workload modified to use CUDA FFTW, CUDA integration&lt;br /&gt;
** GPU workload modified to continue simulation for 10000 steps&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;namd-non-gpu-run-information&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== NAMD non-gpu run information ====&lt;br /&gt;
&lt;br /&gt;
* Charmrun used with one node (condo02)&lt;br /&gt;
* machine topology: 2sockets x 64 cores x 1 PU = 128-way SMP possible&lt;br /&gt;
* 20 processes, 20 cores, 1 physical node, and 16GB memory specified&lt;br /&gt;
* NAMD 2.14 used&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;namd-gpu-run-information&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== NAMD gpu run information ====&lt;br /&gt;
&lt;br /&gt;
* NAMD used within Singularity container system&lt;br /&gt;
** namd:3.0-alpha11 image used to generate singularity container&lt;br /&gt;
* machine topology: 2sockets x 64 cores x 1 PU = 128-way SMP possible&lt;br /&gt;
* 2 CPUs, 2 GPUs, 1 openMP thread, 1 physical node, and 16GB memory specified&lt;br /&gt;
** binding each GPU to one Nvidia A10 with 22731MB memory&lt;br /&gt;
* NAMD 3.0alpha11&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;benchmark-findings&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Benchmark findings ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;startup-wall-time&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== Startup Wall Time ====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CPU&#039;&#039;&#039; 3.4346 s &#039;&#039;&#039;GPU&#039;&#039;&#039; 0.0963 s&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;simulation-wall-time&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== Simulation Wall Time ====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CPU&#039;&#039;&#039; 38.6991 s &#039;&#039;&#039;GPU&#039;&#039;&#039; 5.59571 s&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;wall-time-per-step&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== Wall Time Per Step ====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CPU&#039;&#039;&#039; 0.0918308 s/step &#039;&#039;&#039;GPU&#039;&#039;&#039; 0.0110155 s/step&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;days-per-nanosecond-simulation&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== Days Per Nanosecond Simulation ====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CPU&#039;&#039;&#039; 0.999022 days/ns &#039;&#039;&#039;GPU&#039;&#039;&#039; 0.0660301 days/ns&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;additional-information&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== Additional information ====&lt;br /&gt;
&lt;br /&gt;
* Extending Apoa1 workload steps with CUDA lead to step 3500 being reached in roughly the same time step 500 was reached on 20 CPUs.&lt;br /&gt;
* per core speedup with GPU acceleration is ~151.297 times&lt;br /&gt;
** caveat: one CPU must supervise and await output from each GPU because of how NAMD was written&lt;br /&gt;
* CUDA performed 10000steps and wrote output in 136.315155s total wall time&lt;br /&gt;
* CPU performed 500steps and wrote output in 76.477325s total wall time&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Main_Page&amp;diff=135</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Main_Page&amp;diff=135"/>
		<updated>2022-10-21T18:19:11Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div&amp;gt;&lt;br /&gt;
=Welcome to the Rasulev Research Group Wiki!=&lt;br /&gt;
==The Computational Polymer Science and Cheminformatics Group at North Dakota State University==&lt;br /&gt;
&lt;br /&gt;
This page hosts the tutorials and procedures for the group. Implementing MediaWiki, it provides a platform to organize knowledge and make it available to both lab collaborators and students. &lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;audiences&amp;quot; class=&amp;quot;mainpage_row&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;div class=&amp;quot;mainpage_box&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;h3&amp;gt;&amp;lt;span class=&amp;quot;header_icon&amp;quot; aria-hidden=&amp;quot;true&amp;quot; role=&amp;quot;presentation&amp;quot;&amp;gt;[[File:OOjs UI icon chem.svg|20px|middle|link=]]&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;Lab Procedures and Software Tutorials&amp;lt;/span&amp;gt;&amp;lt;/h3&amp;gt;&lt;br /&gt;
    &amp;lt;div&amp;gt;&lt;br /&gt;
* [[ADF ReaxFF]]&lt;br /&gt;
* [[Avogadro Procedure|Avogadro]]&lt;br /&gt;
* [[BuildQsar Procedure|BuildQSAR]]&lt;br /&gt;
* [[ChemDraw Procedure|ChemDraw]]&lt;br /&gt;
* [[ChemSketchProcedure|ChemSketch]]&lt;br /&gt;
* [[Dragon5 Procedure|Dragon5]]&lt;br /&gt;
* [[Generating Descriptors Workflow]]&lt;br /&gt;
* [[HyperChem]]&lt;br /&gt;
* [[Jupyterlab anaconda|JupyterLab]]&lt;br /&gt;
* [[OpenBabelGUI]]&lt;br /&gt;
* [[QSARINS Procedure|QSARINS]]&lt;br /&gt;
* [[Unix crash course|Unix Crash Course]]&lt;br /&gt;
* [[VASP and VMD on CCAST|VASP]]&lt;br /&gt;
* [[WEKA Steps for Loading Data|WEKA]]&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;audiences&amp;quot; class=&amp;quot;mainpage_row&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;div class=&amp;quot;mainpage_box&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;h3&amp;gt;&amp;lt;span class=&amp;quot;header_icon&amp;quot; aria-hidden=&amp;quot;true&amp;quot; role=&amp;quot;presentation&amp;quot;&amp;gt;[[File:OOjs UI icon advanced.svg|20px|middle|link=]]&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;Benchmarks and Findings&amp;lt;/span&amp;gt;&amp;lt;/h3&amp;gt;&lt;br /&gt;
    &amp;lt;div&amp;gt;&lt;br /&gt;
* [[Benchmarking NAMD workflows for GPU containers]]&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOEDITSECTION__&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Main_Page&amp;diff=134</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Main_Page&amp;diff=134"/>
		<updated>2022-10-21T18:16:31Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div&amp;gt;&lt;br /&gt;
=Welcome to the Rasulev Research Group Wiki!=&lt;br /&gt;
==The Computational Polymer Science and Cheminformatics Group at North Dakota State University==&lt;br /&gt;
&lt;br /&gt;
This page hosts the tutorials and procedures for the group. Implementing MediaWiki, it provides a platform to organize knowledge and make it available to both lab collaborators and students. &lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;audiences&amp;quot; class=&amp;quot;mainpage_row&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;div class=&amp;quot;mainpage_box&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;h3&amp;gt;&amp;lt;span class=&amp;quot;header_icon&amp;quot; aria-hidden=&amp;quot;true&amp;quot; role=&amp;quot;presentation&amp;quot;&amp;gt;[[File:OOjs UI icon chem.svg|20px|middle|link=]]&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;Lab Procedures and Software Tutorials&amp;lt;/span&amp;gt;&amp;lt;/h3&amp;gt;&lt;br /&gt;
    &amp;lt;div&amp;gt;&lt;br /&gt;
* [[ADF ReaxFF]]&lt;br /&gt;
* [[Avogadro Procedure|Avogadro]]&lt;br /&gt;
* [[BuildQsar Procedure|BuildQSAR]]&lt;br /&gt;
* [[ChemDraw Procedure|ChemDraw]]&lt;br /&gt;
* [[ChemSketchProcedure|ChemSketch]]&lt;br /&gt;
* [[Dragon5 Procedure|Dragon5]]&lt;br /&gt;
* [[Generating Descriptors Workflow]]&lt;br /&gt;
* [[HyperChem]]&lt;br /&gt;
* [[Jupyterlab anaconda|JupyterLab]]&lt;br /&gt;
* [[OpenBabelGUI]]&lt;br /&gt;
* [[QSARINS Procedure|QSARINS]]&lt;br /&gt;
* [[Unix crash course|Unix Crash Course]]&lt;br /&gt;
* [[VASP and VMD on CCAST|VASP]]&lt;br /&gt;
* [[WEKA Steps for Loading Data|WEKA]]&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NOEDITSECTION__&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Unix_crash_course&amp;diff=133</id>
		<title>Unix crash course</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Unix_crash_course&amp;diff=133"/>
		<updated>2022-10-21T18:14:31Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#Introduction to Unix&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;filesystem&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Filesystem ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: decimal;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Directories&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;first and bottom of the directory of the file structure tree is called root &#039;&#039;&#039;/&#039;&#039;&#039;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/root&#039;&#039;&#039; in addition, there is a file directory, within the root directory called /root (“slash root”), which acts as root’s home directory&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/home&#039;&#039;&#039; normal users’ directories&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/boot&#039;&#039;&#039; contains the boot directory, including kernel, initial RAMdisk, and bootloader&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/dev&#039;&#039;&#039; lists all devices of the computer&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/etc&#039;&#039;&#039; configuration files for nearly all programs that need a state&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/tmp&#039;&#039;&#039; temporary files for the system&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/var&#039;&#039;&#039; variable-length files used by programs&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/var/spool&#039;&#039;&#039; old-school webmail location&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/var/www&#039;&#039;&#039; location of http server files&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/usr&#039;&#039;&#039; files available to users, including binaries for daily user tasks in /usr/bin&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/sbin&#039;&#039;&#039; binaries used only by root&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/bin&#039;&#039;&#039; binaries for the system everyone needs to use&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Commands&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;cd&#039;&#039;&#039; change directories&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;~&#039;&#039;&#039; alias used to shortcut the current user directory&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;Ctrl+R&#039;&#039;&#039; search history of commands in &amp;lt;code&amp;gt;bash&amp;lt;/code&amp;gt;; also available as output from &amp;lt;code&amp;gt;history&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;!!&#039;&#039;&#039; runs the previous command&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;ls&#039;&#039;&#039; list in the contents of current directory&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;.&#039;&#039;&#039;: the current directory&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;..&#039;&#039;&#039; : go up one directory#User and Group Configuration&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;the-shell-explained&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== The Shell explained ===&lt;br /&gt;
&lt;br /&gt;
# A shell is a command interpreter where the user interacts with the system via command line interface (CLI)&lt;br /&gt;
# Different shells currently in-use A. &#039;&#039;&#039;Bourne-Again SHell&#039;&#039;&#039; - located at &amp;lt;code&amp;gt;/bin/bash&amp;lt;/code&amp;gt; is the main shell and is used was a default on most Linux systems B. &#039;&#039;&#039;sh&#039;&#039;&#039; - The Bourne Shell, old school version does not require any libraries. Rarely seen as a user-interface shell; typically a symbolic link to another shell binary. Created by Stephen Bourne, first included in Unix V7 C. &#039;&#039;&#039;tcsh&#039;&#039;&#039; Tee Shell. Based on the earlier C-shell from Unix. Has some additional features built into it. D. &#039;&#039;&#039;csh&#039;&#039;&#039; C-shell, a BSD component not often seen on Linux. Created by Bill Joy at UC Berkeley. E. &#039;&#039;&#039;ksh&#039;&#039;&#039; Korn shell from Bell Labs in the 1980s. The idea was to incorporate features from the Bourne Shell along with C-programming syntax. F. &#039;&#039;&#039;zsh&#039;&#039;&#039; 1990s, incorporates additional ideas into ksh.&lt;br /&gt;
# Built-in Commands A. &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; changes directory - &amp;lt;code&amp;gt;cd ~&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;cd /home/user&amp;lt;/code&amp;gt; are equivalent B. &amp;lt;code&amp;gt;ls -&amp;lt;/code&amp;gt; lists files in a directory - default behavior just lists files - &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt; lists all files including hidden ones - &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt; long format - &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt; just directories - &amp;lt;code&amp;gt;-F&amp;lt;/code&amp;gt; uses a special character to rep filetypes - &amp;lt;code&amp;gt;-R&amp;lt;/code&amp;gt; recursive listing C. Single characters are substituted by &amp;lt;code&amp;gt;?&amp;lt;/code&amp;gt;, wildcards by &amp;lt;code&amp;gt;*&amp;lt;/code&amp;gt; D. Exiting the system - &amp;lt;code&amp;gt;exit&amp;lt;/code&amp;gt; exits the current shell - &amp;lt;code&amp;gt;logout&amp;lt;/code&amp;gt; only works for login shells E. Remote access - &#039;&#039;&#039;ssh&#039;&#039;&#039; or &#039;&#039;secure shell&#039;&#039; provides the basic command to create a shell across an encrypted pipe - &amp;lt;code&amp;gt;ssh username@remote.host&amp;lt;/code&amp;gt; logs in as user &#039;&#039;username&#039;&#039; on a computer &#039;&#039;remote.host&#039;&#039; - several programs provide ssh access as a feature, such as PuTTY - &#039;&#039;&#039;scp&#039;&#039;&#039; or &#039;&#039;secure copy&#039;&#039; provides file transfer over ssh - &amp;lt;code&amp;gt;scp /path/to/localmachine/ username@remote.host:/path/to/destination&amp;lt;/code&amp;gt; - &amp;lt;code&amp;gt;scp username@remote.host:/path/from/remotemachine /path/to/localdestination&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;man-pages-and-getting-help&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Man pages and getting help ===&lt;br /&gt;
&lt;br /&gt;
# displays the manual pages for any packages on the system&lt;br /&gt;
# typing &amp;lt;code&amp;gt;[/]&amp;lt;/code&amp;gt; will allow you to search through the page&lt;br /&gt;
# allows you to move via &amp;lt;code&amp;gt;[spacebar]&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;[pgup/pgdn]&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;man&amp;lt;/code&amp;gt; is broken up into seperate chapters: &amp;lt;code&amp;gt;man 5&amp;lt;/code&amp;gt; would show chapter 5&lt;br /&gt;
## executable programs and shell&lt;br /&gt;
## system calls&lt;br /&gt;
## library calls&lt;br /&gt;
## device calls&lt;br /&gt;
## file formats&lt;br /&gt;
## games&lt;br /&gt;
## misc. (macro packages)&lt;br /&gt;
## sys admin commands&lt;br /&gt;
## kernel routines&lt;br /&gt;
# &amp;lt;code&amp;gt;man -k *&amp;lt;/code&amp;gt; : to find any pages matching &amp;lt;code&amp;gt;*&amp;lt;/code&amp;gt;&lt;br /&gt;
# most programs also allow for &amp;lt;code&amp;gt;--help&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;-?&amp;lt;/code&amp;gt; to be passed for a quick rundown on commands and usage&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;unix-filesystem-permissions&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Unix filesystem permissions ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: decimal;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;filesystem permissions saved as a series of 3 bit numbers&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;format: &amp;lt;code&amp;gt;d,rwx,rwx,rwx&amp;lt;/code&amp;gt; for read-write-execute&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;d&amp;lt;/code&amp;gt; - denotes a Directory or file&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;first triad is for the User of the file&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;second triad is for Group members of the file&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;third triad is for Everyone else&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Read-write-execute for files&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;Read&#039;&#039;&#039; allows the file to be opened&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;Write&#039;&#039;&#039; allows for the file to be edited&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;Execute&#039;&#039;&#039; allows for the file to run as a program&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Read-write-execute for directories&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;Read&#039;&#039;&#039; allows for the directory to view filenames in the directory&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;Write&#039;&#039;&#039; allows files to be added or deleted from a dir&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;Execute&#039;&#039;&#039; allows the directory to be visited, “permission to traverse through”; must have this to execute programs within a directory&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;chmod&amp;lt;/code&amp;gt; changes file and directory permissions&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;two modes for chmod&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: decimal;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;symbolic mode&#039;&#039;&#039; &amp;lt;code&amp;gt;chmod {u,g,o}[+,-,=]{r,w,x}&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;absolute mode - chmod 777 /path/to/file` * 0 no permissions * 1 execute * 2 write * 4 read F. chown - change file owner and group&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;chown user /foo - changes foo’s owner to user&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;chown root:root /foo - changes foo’s owner to root, also changes foo’s group to root G. echo - displays any text you enter after the command&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;primarially used in shell scripts or ‘programs’ that utilize a combination of of built-in commands, variables, and executables to complete tasks&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;variables reached from echo by invoking the variable name as $NAME&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;redirection-symbols&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Redirection symbols ===&lt;br /&gt;
&lt;br /&gt;
# prog &amp;amp;gt; - redirects std output to the file, truncating and rewriting&lt;br /&gt;
# prog 2&amp;amp;gt; - redirect std error to the file, truncating and rewriting&lt;br /&gt;
# &amp;amp;amp;&amp;amp;gt; - redirects both std output and error to file&lt;br /&gt;
# &amp;lt;code&amp;gt;&amp;amp;gt;&amp;amp;gt;&amp;lt;/code&amp;gt; - non-destructively appends to end of file rather than rewriting&lt;br /&gt;
# &amp;lt;code&amp;gt;- &amp;amp;quot;backtick&amp;amp;quot; process commands in the middle of another command 	a. A tool similar to xargs 	b. text within backticks are treated as a separate command line who&#039;s results are substituted on this command line 	c. things inside of backticks are attempted to be used as a command 	d. example: rm&amp;lt;/code&amp;gt; find / - user darren `&lt;br /&gt;
# $() - is used like a backtick; more resistant to weird syntax&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;piping-data-between-programs&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Piping data between programs ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: decimal;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;programs on a UNIX system frequently use pipes to redirect each other’s output.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;for instance you might use a text-filtering command on output from a file reading command.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;allows small programs to operate on a flow of information in a row&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;- this is an unnamed pipe&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;mkfifo - allows for the creation of named pipes&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;mkfifo fifo1&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;ls -l &amp;amp;gt; fifo1&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;cat &amp;amp;lt; fifo1&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;tee - read from standard input and write to standard output and files&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;splits standard input so that is it is both displayed via standard output and also captured to one of more files&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;allows for logging and redirection while the process is also shown on screen&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;overwrites to a file as per ‘&amp;amp;gt;’ by default rather than like ‘&amp;amp;gt;&amp;amp;gt;’&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;example&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;echo $PATH | tee file1 file2&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;file1, file2, and stdoutput all have same information&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;find - searches for files in directory hierarchy&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;xargs - builds a command from standard input, using command name and arguments to that command and then executes the command on each line of standard input&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;example: find / - user darren | xargs -d %rm&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;file - returns the type of file and metadata information regarding files&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;join - combines two text files by matching the contents of specified fields&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;by default, join uses spaces as the limiters (unless -t CHAR is given)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;example: join -1 3 -2 2&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;this joins the third field of the first file and the second field of the second file&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;paste A. Paste is like cat rotated 90 degrees. When operating on multiple files, it will merge the lines of the files.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;expand - converts tabs to spaces A. by default assumes you want 8 spaces per tab; -t changes B. unexpand - converts spaces to tabs&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;od - dump files into octal and other formats A. default usage is dumping binary file into octal binary format B. -x for 2byte hex output&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;sort - sorts lines of text files A. writes sorted concatenation of all files as output B. by default, uses first column C. Important options 1. -f : ignore case 2. -m : sort by three digit month abbreviation; ex, jan 3. -n : numeric sort 4. -v : sort by versio 5. -h : compare human readable numbers 6. -r : reverses the sort 7. -R : sorts randomly but groups like files 8. -d : dictionary-order 9. -k : sort via key, sorts by a field number, can be comma-seperated listq D. the opposite of this is ‘shuf’&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;split - splits a file into 2 or more files A. needs to have an output file prefix B. where do you want to split 1. -b : size in bytes 2. -l : lines C. example: split -l 2 listening1.txt numbers -&amp;amp;gt; output is: ‘numbersaa’ and ‘numbersab’ D. by default: splits every 10,000 lines&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;tr - trnaslate or delete characters A. changes individual characters coming in through standard input and outputs via standard output B. options 1. [:lower:] - all lower case chars 2. [:upper:] - all upper case chars 3. [::]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;cut - extracts portions of lines of input and prints out as output A. used to remove items within lines, delimited by spaces or tabs B. options 1. -b : cuts the specified list by byte 2. -c : cuts the specified characters 3. -f : cuts specified list of fields from input 4. -d : specifies the delimiter for fields C. EXAMPLE: cut -f 7 -d : /etc/passwd&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;uniq - take an input list and report or omit repeated lines A. only if they are next to each other, so you have to sort first B. EXAMPLE: cut -f 7 -d : /etc/passwd | sort | uniq&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;tar-and-packaging&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Tar and Packaging ===&lt;br /&gt;
&lt;br /&gt;
# tar A. the name ‘tar’ comes from its original purpose: Tape ARchive B. you can bundle files as .tar, ‘tarballs’, which contain a series of file entries and terminating bytes between files C. each entry has a file descriptor and the binary contents of the file D. file descriptor, or header, contains the name of a file, a checksum of that file, and permissions data E. does not compress data, but instead keeps it in one file F. tar options: -c: Creates a tar archive -v: Verbose output -x: eXtract from a tar archive -f: specify a Filename -A: Appends two archives together -M: create or extract a multivolume archive -j: specify bzip2 compression -J: specify xz compression -z: specify gzip compression –lzma: specify lzma compression -t: Test an archive&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;more-unix-commands&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== More Unix Commands ===&lt;br /&gt;
&lt;br /&gt;
# fmt - format A. some files have crazy long lines of text B. reformats to a certain -width C. by default, truncates after 75 characters and cleans up paragraphs D. anything with 2+ blankline removed, and adds indention E. -s : prevents truncation of paragraphs&lt;br /&gt;
# nl - line number A. nl does count whitespace by default B. identical to cat -b (but not cat -n)&lt;br /&gt;
# pr - prepare a file for printing A. includes header, footer, and page breaks B. create colummns: pr -3 file.txt C. -l sets the length of lines D. -o choose the header text&lt;br /&gt;
# regular expressions - sed and awk A. simliar to wildcard expansion: ex; ls &#039;&#039;.txt B. grep and sed are two examples of regEx programs C. unix system programs have two different forms of regular expressions: basic and extended D. types of expresssions: 1. exact text match: grep “blah” returns all lines with “blah” 2. bracketed expressions: b[aeiou]g - returns bag, beg, big, bog, bug 3. bracketed with range: a[2-4]z - returns a2z, a3z, a4z 4. matching single char: a.z (allows for anything between a and z) 5. matching begin/end of line: ^ beginning, $ end 6. any of these can be combined with the wildcard: &#039;&#039; ex: A.* Lincoln (with 0 or more occurances of a pattern.) ex: A[ae]* Lincoln (with 0 or more occurances of a-e after A. 7. matching at least one of: + symbol ex. A[ae]+ Lincoln - returns at least Aa or Ae Lincoln 8. multiple possibilities or: | needs to be set up with ’ ex. ‘Darren (F|Fredrick) Seifert’ 9. grep -E invokes regex functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;shell-scripting&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Shell Scripting ===&lt;br /&gt;
&lt;br /&gt;
# The first line of a shell script tells which program to use to interpret the contents: #!/bin/bash or another shell A. the first two characters are (#!) are special code to tell the kernel this is a script - crunchbang, shebang, hashbang, poundbang B. the remaining lines beginning with # are considered comments &amp;lt;code&amp;gt;# this is a comment&amp;lt;/code&amp;gt;&lt;br /&gt;
# Classic Hello World&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# hello.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
# Print out hello world&lt;br /&gt;
echo &#039;Hello World!&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;ol start=&amp;quot;3&amp;quot; style=&amp;quot;list-style-type: decimal;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;When you want to run a shell script, it needs to be made executable before it is an executable file: ‘# chmod u+x ./file.sh’&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Can be invoked with ./file.sh&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Alternative routes: A. bash file.sh works whether or not #!/bin/bash or chmod +x has been given B. exec file.sh is used to run scripts from within other scripts and to stop the tty instance after it is done (used to run scripts within scripts)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Passing Parameters A. much like C++ programs, bash scripts can be passed parameters B. accessing these, the dollar sign is used, much like PHP or Perl, to call the number of the parameter 1. $0 - the name of the running script itself 2. $1 - the first parameter 3. and so on… 4. $? - returns the exit status of the last run command 5. $$ - returns the process ID (PID) of the current script 6. $USER - returns the username of the user running the script 7. $SECONDS - returns the runtime of the current script 8. $RANDOM - generates a random number (int 0 - 32000) 9. $LINENO - current line of script C. creation of new variables 1. variablename=value # no spaces ever 2. if you do want spaces, they must be escaped by quotes 3. double quotes recommended for variable substitution later 4. for instance varname=“value $1” allows for insertion of other variables into variables whereas varname=’value &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;1&#039;  will not work D. saving output into variables  1. output from programs can be saved into a variable  2. example: curdir=&amp;lt;/math&amp;gt;(pwd) will run pwd and return the standard output as a variable 3. if you want to capture the standard error for a command, it can be saved as &amp;lt;code&amp;gt;error=$(&amp;amp;lt;/tmp/error)&amp;lt;/code&amp;gt; 4. alternative use: curdir=&amp;lt;code&amp;gt;pwd&amp;lt;/code&amp;gt; note the backtics&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# foo.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
# An example script&lt;br /&gt;
cp $1 $2&lt;br /&gt;
#verify it worked&lt;br /&gt;
echo &amp;amp;quot;Details for $2&amp;amp;quot;&lt;br /&gt;
ls -l $2&amp;lt;/pre&amp;gt;&lt;br /&gt;
* handling user input and output can use ‘echo’ to create interactive scripts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# plususer.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
echo -n &#039;Please enter user name for account:&#039;&lt;br /&gt;
read username # this saves the stdin input as username&lt;br /&gt;
read -p &#039;Username&#039; $username # -n no-newline&lt;br /&gt;
echo $username&lt;br /&gt;
read -sp &#039;Password:&#039; password # -s stealth&amp;lt;/pre&amp;gt;&lt;br /&gt;
* scripts can also handle files as standard input like other commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# salesreport.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#a sales report generated from standard input&lt;br /&gt;
echo Data Summary:&lt;br /&gt;
cat /dev/stdin | cut -d &#039; &#039; -F2,3 | sort&amp;lt;/pre&amp;gt;&lt;br /&gt;
* variables can be made global via export&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# script.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
var1=blah&lt;br /&gt;
var2=foo&lt;br /&gt;
echo $0 :: var1 : $var1 , var2 : $var2&lt;br /&gt;
export var1&lt;br /&gt;
exec ./script2&lt;br /&gt;
echo $0 :: var1 : $var1 , var2 : $var2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;script2.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
echo $0 :: var1 : $var1 , var2 : $var2&lt;br /&gt;
var1=flop&lt;br /&gt;
var2=bleh&lt;br /&gt;
echo $0 :: var1 : $var1 , var2 : $var2&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Unix_crash_course&amp;diff=132</id>
		<title>Unix crash course</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Unix_crash_course&amp;diff=132"/>
		<updated>2022-10-21T18:03:24Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#Introduction to Unix&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;syllabus&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Syllabus ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Recommended course material:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Unix and Linux System Administration 5th Edition - Evi Nemeth, et al.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;CompTIA Linux+ Study Guide 4th Edition - Chritine Bresnahan and Richard Blum&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Objectives&lt;br /&gt;
a. Shell scripting, input redirection, and C++/C code in a GNU/Linux environment&lt;br /&gt;
b. understanding of Linux file system including permissions&lt;br /&gt;
c. understanding of command and how to intermingle them to achieve more complex goals&lt;br /&gt;
d. basic system architecture, installation process, and management of Linux/Unix&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;General notes&lt;br /&gt;
a. Learning to use Bash scripting and &amp;lt;code&amp;gt;vi&amp;lt;/code&amp;gt;/&amp;lt;code&amp;gt;neovim&amp;lt;/code&amp;gt; essential to professional usage of Linux in real life&lt;br /&gt;
b. Any commands discussed in class can be looked up via &#039;man&#039;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
##History&lt;br /&gt;
###What is Unix?&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Bell System&lt;br /&gt;
a. Dates back to late 1960s, Originally developed by Ken Thompson and Dennis Ritchie of Bell Labs&lt;br /&gt;
b. Ritchie described the initial goal as to create a good environment in which to: - do programming and development - foster communal computing through remote access and close communication&lt;br /&gt;
c. Unix originally written in assembly, but was later re-written in C in 1972&lt;br /&gt;
d. first public releases in 1973, at Symposium on Operating Systems Principles; early source code sent by standard mail&lt;br /&gt;
e. 1975, Version 6 of Unix was licensed to companies for the first time. However, commercial users were rare. Licensees only recieved source code from AT&amp;amp;amp;T.&lt;br /&gt;
f. Also in 1975, Ken Thompson takes a sabbatical from Bell Labs as a professor at UC Berkeley. Creates BSD: The Berkeley System Distribution of Unix 4.2. - includes C-shell and vi editor for first time&lt;br /&gt;
g. 1983: Bell broken into several companies in anti-trust suit against AT&amp;amp;amp;T.&lt;br /&gt;
h. AT&amp;amp;amp;T new restrictive license almost kills commercial Unix. By 1991, BSD had grown to a complete rewrite of AT&amp;amp;amp;T Unix and comes with BSD license.&lt;br /&gt;
i. BSD survives today as: FreeBSD, OpenBSD, NetBSD, etc. Additionally, Darwin kernel of Mac OSX continues as a form of Unix.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;GNU Project into Linux&lt;br /&gt;
a. Around 1983, Richard Stallman creates GNU project&lt;br /&gt;
b. Stallman&#039;s GNU system goal was to create a &#039;free&#039; system of software that had many of other capabilities of the commercial tools that many Unix also had&lt;br /&gt;
c. By 1985, Stallman had founded the Free Software Foundation to raise funds to develop free versions of all the components of the Unix syste, under GNU GPL&lt;br /&gt;
d. In 1991, Linus Torvalds began the development of a new free OS based on the MINIX operation system and SunOS. The 21 year old puts together the kernel.&lt;br /&gt;
e. As the kernel for the GNU project was still very much in development, the two projects became a natural fit.&lt;br /&gt;
f. To this day, Stallman insists that Linux is GNU/Linux due to the large reliance on GNU toolchain&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#Introduction to Red Hat Enterprise Linux&lt;br /&gt;
###Package Manager - YUM&lt;br /&gt;
&lt;br /&gt;
# stands for YellowDog Updater Modified&lt;br /&gt;
# provides a set of tools for retrieving software from the internet using subscriptions to an update server&lt;br /&gt;
# utilizes .rpm software to install packages for management&lt;br /&gt;
# creates an Enterprise Linux environment&lt;br /&gt;
#* cons: less software options overall&lt;br /&gt;
#* pro: all available software is tested and works without additional configuration&lt;br /&gt;
# &amp;lt;code&amp;gt;yum&amp;lt;/code&amp;gt; has an additional, alternative wrapper program &amp;lt;code&amp;gt;dnf&amp;lt;/code&amp;gt; to improve output and ease of use&lt;br /&gt;
#* stands for DaNdified YUM&lt;br /&gt;
#* commands in the format &amp;lt;code&amp;gt;sudo dnf [verb] [objects]&amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt;-y&amp;lt;/code&amp;gt; flag gives YES as passed option for less attended installation&lt;br /&gt;
# command commands&lt;br /&gt;
#* &amp;lt;code&amp;gt;sudo dnf -y install [package_name]&amp;lt;/code&amp;gt; install a particular package and dependencies&lt;br /&gt;
#* &amp;lt;code&amp;gt;sudo dnf -y update&amp;lt;/code&amp;gt; update all packages&lt;br /&gt;
&lt;br /&gt;
#Introduction to Ubuntu&lt;br /&gt;
###Package Manager - APT&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;stands for Advanced Package Manager&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Ubuntu&#039;s set of tools to install packages and keep them up to date&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;utilizes .deb software packages for management&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;keep in mind this package management system is far from standard&lt;br /&gt;
a. RPM is Linux Standard Base&lt;br /&gt;
b. Many commerical Unixes have their own package managers&lt;br /&gt;
c. when all else fails, a tarball (.tar) fille can be used to build from source&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Commands&lt;br /&gt;
a. &amp;lt;code&amp;gt;apt-get update&amp;lt;/code&amp;gt; synchronizes the index of packages to your system&lt;br /&gt;
b. &amp;lt;code&amp;gt;apt-get upgrade&amp;lt;/code&amp;gt; downloads and installs new versions of all currently installed packages in place, based on the index&lt;br /&gt;
c. &amp;lt;code&amp;gt;apt-get dist-upgrade&amp;lt;/code&amp;gt; downloads and installs new versions, and moves the system up to the next version, based on the index&lt;br /&gt;
d. &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt; was originally &amp;amp;quot;superuserdo&amp;amp;quot;, now works to substitute - users and run programs as that user. /etc/sudoers controls this behavior.&lt;br /&gt;
e. &amp;lt;code&amp;gt;sudo apt-get install foo&amp;lt;/code&amp;gt; : installs package named &#039;&#039;&#039;foo&#039;&#039;&#039;&lt;br /&gt;
f. &amp;lt;code&amp;gt;sudo apt-get remove bar&amp;lt;/code&amp;gt; : removes a package named &#039;&#039;&#039;bar&#039;&#039;&#039;, but not the config files&lt;br /&gt;
g. &amp;lt;code&amp;gt;sudo apt-get purge bar&amp;lt;/code&amp;gt; : removes a package named &#039;&#039;&#039;bar&#039;&#039;&#039;, and removes config files 8. sudo apt-get source * : gets the source code for a package 9. sudo apt-get clean : removes downloaded packages (.deb files) used to install&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;filesystem&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Filesystem ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Directories&lt;br /&gt;
a. first and bottom of the directory of the file structure tree is called root &#039;&#039;&#039;/&#039;&#039;&#039;&lt;br /&gt;
b. &#039;&#039;&#039;/root&#039;&#039;&#039; in addition, there is a file directory, within the root directory called /root (&amp;amp;quot;slash root&amp;amp;quot;), which acts as root&#039;s home directory&lt;br /&gt;
c. &#039;&#039;&#039;/home&#039;&#039;&#039; normal users&#039; directories&lt;br /&gt;
d. &#039;&#039;&#039;/boot&#039;&#039;&#039; contains the boot directory, including kernel, initial RAMdisk, and bootloader&lt;br /&gt;
e. &#039;&#039;&#039;/dev&#039;&#039;&#039; lists all devices of the computer&lt;br /&gt;
f. &#039;&#039;&#039;/etc&#039;&#039;&#039; configuration files for nearly all programs that need a state&lt;br /&gt;
g. &#039;&#039;&#039;/tmp&#039;&#039;&#039; temporary files for the system&lt;br /&gt;
h. &#039;&#039;&#039;/var&#039;&#039;&#039; variable-length files used by programs - &#039;&#039;&#039;/var/spool&#039;&#039;&#039; old-school webmail location - &#039;&#039;&#039;/var/www&#039;&#039;&#039; location of http server files&lt;br /&gt;
i. &#039;&#039;&#039;/usr&#039;&#039;&#039; files available to users, including binaries for daily user tasks in /usr/bin&lt;br /&gt;
j. &#039;&#039;&#039;/sbin&#039;&#039;&#039; binaries used only by root&lt;br /&gt;
k. &#039;&#039;&#039;/bin&#039;&#039;&#039; binaries for the system everyone needs to use&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Commands&lt;br /&gt;
a. &#039;&#039;&#039;cd&#039;&#039;&#039; change directories&lt;br /&gt;
b. &#039;&#039;&#039;~&#039;&#039;&#039; alias used to shortcut the current user directory&lt;br /&gt;
c. &#039;&#039;&#039;Ctrl+R&#039;&#039;&#039; search history of commands in &amp;lt;code&amp;gt;bash&amp;lt;/code&amp;gt;; also available as output from &amp;lt;code&amp;gt;history&amp;lt;/code&amp;gt;&lt;br /&gt;
d. &#039;&#039;&#039;!!&#039;&#039;&#039; runs the previous command&lt;br /&gt;
e. &#039;&#039;&#039;ls&#039;&#039;&#039; list in the contents of current directory&lt;br /&gt;
f. &#039;&#039;&#039;.&#039;&#039;&#039;: the current directory&lt;br /&gt;
g. &#039;&#039;&#039;..&#039;&#039;&#039; : go up one directory#User and Group Configuration&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;useraddusermod&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== useradd/usermod ===&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;code&amp;gt;useradd&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;usermod&amp;lt;/code&amp;gt; do much the same thing&lt;br /&gt;
#* &amp;lt;code&amp;gt;-c&amp;lt;/code&amp;gt; allows to add comments&lt;br /&gt;
#* &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt; allows to change user home directory&lt;br /&gt;
#* &amp;lt;code&amp;gt;-e&amp;lt;/code&amp;gt; expiration date - date an account will expire (in YYYYMMDD format), kept in &amp;lt;code&amp;gt;/etc/shadow&amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt;-f&amp;lt;/code&amp;gt; specify how many days the account can be inactive before password expires, kept in &amp;lt;code&amp;gt;/etc/shadow&amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt;-g&amp;lt;/code&amp;gt; specify default group of the user&lt;br /&gt;
#* &amp;lt;code&amp;gt;-G&amp;lt;/code&amp;gt; append a list of additional groups for the user&lt;br /&gt;
#* &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt;(usermod only) changes a user login ex: &amp;lt;code&amp;gt;usermod -l darren darseife&amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt;-u&amp;lt;/code&amp;gt; uid&lt;br /&gt;
#* &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt; specifies login shell&lt;br /&gt;
#* &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt; specify pre-hashed password&lt;br /&gt;
#* &amp;lt;code&amp;gt;-L&amp;lt;/code&amp;gt; (usermod only) locks the user&#039;s password so it cannot be entered directly (best used with -e, as well)&lt;br /&gt;
#* &amp;lt;code&amp;gt;-U&amp;lt;/code&amp;gt; will unlock a user&#039;s password&lt;br /&gt;
&lt;br /&gt;
###passwd command revisited&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;sudo passwd darseife&amp;lt;/code&amp;gt; change the password of darseife&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;passwd&amp;lt;/code&amp;gt; can also be used to lock and unlock accounts&lt;br /&gt;
a. &amp;lt;code&amp;gt;passwd -l&amp;lt;/code&amp;gt; will lock the account&#039;s password&lt;br /&gt;
b. a locked password will always be input incorrectly&lt;br /&gt;
c. does not necessarily lock user out of the account&lt;br /&gt;
d. puts an &amp;lt;code&amp;gt;!&amp;lt;/code&amp;gt; at the beginning of the password field in &amp;lt;code&amp;gt;/etc/shadow&amp;lt;/code&amp;gt;&lt;br /&gt;
e. &amp;lt;code&amp;gt;crypt&amp;lt;/code&amp;gt;, the algorithm used to implement ciphers, cannot generate an &amp;lt;code&amp;gt;!&amp;lt;/code&amp;gt;so the password hash is disabled&lt;br /&gt;
f. &amp;lt;code&amp;gt;passwd -u&amp;lt;/code&amp;gt; would unlock the account&#039;s password&lt;br /&gt;
g. &amp;lt;code&amp;gt;passwd -d&amp;lt;/code&amp;gt; removes the password of the account&lt;br /&gt;
h. &amp;lt;code&amp;gt;passwd -S&amp;lt;/code&amp;gt; displays account information: - last password change - password expires - password inactive - account expires - minimum days between password change - maximum days before password change - warn period before changes&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
###chage&lt;br /&gt;
&lt;br /&gt;
# The &amp;lt;code&amp;gt;chage&amp;lt;/code&amp;gt; command allows you to modify account settings related to password expiration and aging&lt;br /&gt;
# &amp;lt;code&amp;gt;chage&amp;lt;/code&amp;gt; can also be used to configure accounts to automatically expire if:&lt;br /&gt;
#* the password hasn&#039;t been changed&lt;br /&gt;
#* or a date has been passed&lt;br /&gt;
# &amp;lt;code&amp;gt;chage -l&amp;lt;/code&amp;gt; print expiration settings of an account&lt;br /&gt;
# &amp;lt;code&amp;gt;chage -m DAYS username&amp;lt;/code&amp;gt; to set the minimum time between password changes&lt;br /&gt;
# &amp;lt;code&amp;gt;chage -M DAYS username&amp;lt;/code&amp;gt; to set the maximum time between password changes&lt;br /&gt;
# &amp;lt;code&amp;gt;chage -d YYYYMMDD username&amp;lt;/code&amp;gt; update the last day YYYY-MM-DD on which to change the password&lt;br /&gt;
# &amp;lt;code&amp;gt;chage -E YYYYMMDD username&amp;lt;/code&amp;gt; set the expiration date as YYYY-MM-DD on which username&#039;s account expires&lt;br /&gt;
#* setting the number to &amp;lt;code&amp;gt;-1&amp;lt;/code&amp;gt; will make it never expire&lt;br /&gt;
# &amp;lt;code&amp;gt;chage -I DAYS username&amp;lt;/code&amp;gt; will lock the account password after number of days inactive&lt;br /&gt;
# &amp;lt;code&amp;gt;chage -W DAYS username&amp;lt;/code&amp;gt; number of days the user will be warned before their account is made inactive&lt;br /&gt;
# All of these settings are stored in &amp;lt;code&amp;gt;/etc/shadow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
###userdel&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;code&amp;gt;userdel username&amp;lt;/code&amp;gt; deletes users&lt;br /&gt;
# &amp;lt;code&amp;gt;userdel -r username&amp;lt;/code&amp;gt; deletes the user, their mail spool, their home directory, and everything in it&lt;br /&gt;
# &amp;lt;code&amp;gt;userdel -f username&amp;lt;/code&amp;gt; deletes the user &#039;&#039;right now&#039;&#039; even if they are logged in&lt;br /&gt;
&lt;br /&gt;
###groupadd and groupmod&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;code&amp;gt;groupadd&amp;lt;/code&amp;gt;add a group to a system&lt;br /&gt;
# &amp;lt;code&amp;gt;groupadd -r&amp;lt;/code&amp;gt; used to create a system group, creating a GUID above 1000&lt;br /&gt;
# &amp;lt;code&amp;gt;groupmod&amp;lt;/code&amp;gt; change a group&lt;br /&gt;
# &amp;lt;code&amp;gt;groupmod -n&amp;lt;/code&amp;gt; change a group name&lt;br /&gt;
&lt;br /&gt;
###gpasswd - group password&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;code&amp;gt;gpasswd groupname&amp;lt;/code&amp;gt; sets password for a group; it is most common to not have a group password&lt;br /&gt;
# &amp;lt;code&amp;gt;gpasswd -R&amp;lt;/code&amp;gt; restricts access to users logging in with password via newgrp&lt;br /&gt;
&lt;br /&gt;
###getent - get entities&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;can be used to view individual records in &amp;lt;code&amp;gt;/etc/passwd&amp;lt;/code&amp;gt;, and other files&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;useful for getting exact matches for items&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;getent password username&amp;lt;/code&amp;gt; - get passwd information for user&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;getent shadow username&amp;lt;/code&amp;gt; - get shadow information for user&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;getent group groupname&amp;lt;/code&amp;gt; - get group information for user#The *nix CLI&lt;br /&gt;
###The Shell explained&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;A shell is a command interpreter where the user interacts with the system via command line interface (CLI)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Different shells currently in-use A. &#039;&#039;&#039;Bourne-Again SHell&#039;&#039;&#039; - located at &amp;lt;code&amp;gt;/bin/bash&amp;lt;/code&amp;gt; is the main shell and is used was a default on most Linux systems B. &#039;&#039;&#039;sh&#039;&#039;&#039; - The Bourne Shell, old school version does not require any libraries. Rarely seen as a user-interface shell; typically a symbolic link to another shell binary. Created by Stephen Bourne, first included in Unix V7 C. &#039;&#039;&#039;tcsh&#039;&#039;&#039; Tee Shell. Based on the earlier C-shell from Unix. Has some additional features built into it. D. &#039;&#039;&#039;csh&#039;&#039;&#039; C-shell, a BSD component not often seen on Linux. Created by Bill Joy at UC Berkeley. E. &#039;&#039;&#039;ksh&#039;&#039;&#039; Korn shell from Bell Labs in the 1980s. The idea was to incorporate features from the Bourne Shell along with C-programming syntax. F. &#039;&#039;&#039;zsh&#039;&#039;&#039; 1990s, incorporates additional ideas into ksh.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Built-in Commands A. &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; changes directory - &amp;lt;code&amp;gt;cd ~&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;cd /home/user&amp;lt;/code&amp;gt; are equivalent B. &amp;lt;code&amp;gt;ls -&amp;lt;/code&amp;gt; lists files in a directory - default behavior just lists files - &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt; lists all files including hidden ones - &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt; long format - &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt; just directories - &amp;lt;code&amp;gt;-F&amp;lt;/code&amp;gt; uses a special character to rep filetypes - &amp;lt;code&amp;gt;-R&amp;lt;/code&amp;gt; recursive listing C. Single characters are substituted by &amp;lt;code&amp;gt;?&amp;lt;/code&amp;gt;, wildcards by &amp;lt;code&amp;gt;*&amp;lt;/code&amp;gt; D. Exiting the system - &amp;lt;code&amp;gt;exit&amp;lt;/code&amp;gt; exits the current shell - &amp;lt;code&amp;gt;logout&amp;lt;/code&amp;gt; only works for login shells E. Shutting down the system - &amp;lt;code&amp;gt;shutdown -h now&amp;lt;/code&amp;gt; halts the system now - &amp;lt;code&amp;gt;shutdown -r now&amp;lt;/code&amp;gt; restarts the system now - &amp;lt;code&amp;gt;shutdown -h +5 &amp;amp;quot; &amp;amp;quot;&amp;lt;/code&amp;gt; broadcasts the message in quotes and tells people it will be down in 5minutes - &amp;lt;code&amp;gt;halt&amp;lt;/code&amp;gt; on most systems, will drop the system into single user mode - &amp;lt;code&amp;gt;poweroff&amp;lt;/code&amp;gt; &amp;amp;quot;on fire&amp;amp;quot; graceless exit. Sends HW signal to kill power - &amp;lt;code&amp;gt;reboot&amp;lt;/code&amp;gt; essentially &#039;shutdown -r&#039; - &amp;lt;code&amp;gt;reboot -f&amp;lt;/code&amp;gt; graceless restart exit, Sends HW signal to reboot F. &amp;lt;code&amp;gt;init&amp;lt;/code&amp;gt; relies on a series of programs or scripts to change run-state of machine and to start/stop linux services - &amp;lt;code&amp;gt;init 0&amp;lt;/code&amp;gt; - shuts the machine down - &amp;lt;code&amp;gt;init 6&amp;lt;/code&amp;gt; - reboots the machine - &amp;lt;code&amp;gt;init S&amp;lt;/code&amp;gt; - initializes system boot&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
###Man pages and getting help&lt;br /&gt;
&lt;br /&gt;
# displays the manual pages for any packages on the system&lt;br /&gt;
# typing &amp;lt;code&amp;gt;[/]&amp;lt;/code&amp;gt; will allow you to search through the page&lt;br /&gt;
# allows you to move via &amp;lt;code&amp;gt;[spacebar]&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;[pgup/pgdn]&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;man&amp;lt;/code&amp;gt; is broken up into seperate chapters: &amp;lt;code&amp;gt;man 5&amp;lt;/code&amp;gt; would show chapter 5&lt;br /&gt;
## executable programs and shell&lt;br /&gt;
## system calls&lt;br /&gt;
## library calls&lt;br /&gt;
## device calls&lt;br /&gt;
## file formats&lt;br /&gt;
## games&lt;br /&gt;
## misc. (macro packages)&lt;br /&gt;
## sys admin commands&lt;br /&gt;
## kernel routines&lt;br /&gt;
# &amp;lt;code&amp;gt;man -k *&amp;lt;/code&amp;gt; : to find any pages matching &amp;lt;code&amp;gt;*&amp;lt;/code&amp;gt;&lt;br /&gt;
# most programs also allow for &amp;lt;code&amp;gt;--help&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;-?&amp;lt;/code&amp;gt; to be passed for a quick rundown on commands and usage&lt;br /&gt;
&lt;br /&gt;
###Unix filesystem permissions&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;filesystem permissions saved as a series of 3 bit numbers&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;format: &amp;lt;code&amp;gt;d,rwx,rwx,rwx&amp;lt;/code&amp;gt; for read-write-execute&lt;br /&gt;
a. &amp;lt;code&amp;gt;d&amp;lt;/code&amp;gt; - denotes a Directory or file&lt;br /&gt;
b. first triad is for the User of the file&lt;br /&gt;
c. second triad is for Group members of the file&lt;br /&gt;
d. third triad is for Everyone else&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Read-write-execute for files&lt;br /&gt;
a. &#039;&#039;&#039;Read&#039;&#039;&#039; allows the file to be opened&lt;br /&gt;
b. &#039;&#039;&#039;Write&#039;&#039;&#039; allows for the file to be edited&lt;br /&gt;
c. &#039;&#039;&#039;Execute&#039;&#039;&#039; allows for the file to run as a program&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Read-write-execute for directories&lt;br /&gt;
a. &#039;&#039;&#039;Read&#039;&#039;&#039; allows for the directory to view filenames in the directory&lt;br /&gt;
b. &#039;&#039;&#039;Write&#039;&#039;&#039; allows files to be added or deleted from a dir&lt;br /&gt;
c. &#039;&#039;&#039;Execute&#039;&#039;&#039; allows the directory to be visited, &amp;amp;quot;permission to traverse through&amp;amp;quot;; must have this to execute programs within a directory&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;chmod&amp;lt;/code&amp;gt; changes file and directory permissions&lt;br /&gt;
a. two modes for chmod 1. &#039;&#039;&#039;symbolic mode&#039;&#039;&#039; &amp;lt;code&amp;gt;chmod {u,g,o}[+,-,=]{r,w,x}&amp;lt;/code&amp;gt; 2. absolute mode - chmod 777 /path/to/file` * 0 no permissions * 1 execute * 2 write * 4 read F. chown - change file owner and group 1. chown user /foo - changes foo&#039;s owner to user 2. chown root:root /foo - changes foo&#039;s owner to root, also changes foo&#039;s group to root G. echo - displays any text you enter after the command 1. primarially used in shell scripts or &#039;programs&#039; that utilize a combination of of built-in commands, variables, and executables to complete tasks 2. variables reached from echo by invoking the variable name as $NAME&lt;br /&gt;
#Input Redirection and Utils&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
###Redirection symbols&lt;br /&gt;
&lt;br /&gt;
# prog &amp;amp;gt; - redirects std output to the file, truncating and rewriting&lt;br /&gt;
# prog 2&amp;amp;gt; - redirect std error to the file, truncating and rewriting&lt;br /&gt;
# &amp;amp;amp;&amp;amp;gt; - redirects both std output and error to file&lt;br /&gt;
# &amp;lt;code&amp;gt;&amp;amp;gt;&amp;amp;gt;&amp;lt;/code&amp;gt; - non-destructively appends to end of file rather than rewriting&lt;br /&gt;
# &amp;lt;code&amp;gt;- &amp;amp;quot;backtick&amp;amp;quot; process commands in the middle of another command 	a. A tool similar to xargs 	b. text within backticks are treated as a separate command line who&#039;s results are substituted on this command line 	c. things inside of backticks are attempted to be used as a command 	d. example: rm&amp;lt;/code&amp;gt; find / - user darren `&lt;br /&gt;
# $() - is used like a backtick; more resistant to weird syntax&lt;br /&gt;
&lt;br /&gt;
###Piping data between programs&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;programs on a UNIX system frequently use pipes to redirect each other&#039;s output.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;for instance you might use a text-filtering command on output from a file reading command.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;allows small programs to operate on a flow of information in a row&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;| - this is an unnamed pipe&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;mkfifo - allows for the creation of named pipes&lt;br /&gt;
a. &amp;lt;code&amp;gt;mkfifo fifo1&amp;lt;/code&amp;gt;&lt;br /&gt;
b. &amp;lt;code&amp;gt;ls -l &amp;amp;gt; fifo1&amp;lt;/code&amp;gt;&lt;br /&gt;
c. &amp;lt;code&amp;gt;cat &amp;amp;lt; fifo1&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;tee - read from standard input and write to standard output and files&lt;br /&gt;
a. splits standard input so that is it is both displayed via standard output and also captured to one of more files&lt;br /&gt;
b. allows for logging and redirection while the process is also shown on screen&lt;br /&gt;
c. overwrites to a file as per &#039;&amp;amp;gt;&#039; by default rather than like &#039;&amp;amp;gt;&amp;amp;gt;&#039;&lt;br /&gt;
d. example - echo $PATH | tee file1 file2 - file1, file2, and stdoutput all have same information&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;find - searches for files in directory hierarchy&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;xargs - builds a command from standard input, using command name and arguments to that command and then executes the command on each line of standard input&lt;br /&gt;
a. example: find / - user darren | xargs -d %\n rm&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;file - returns the type of file and metadata information regarding files&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;join - combines two text files by matching the contents of specified fields&lt;br /&gt;
a. by default, join uses spaces as the limiters (unless -t CHAR is given)&lt;br /&gt;
b. example: join -1 3 -2 2 - this joins the third field of the first file and the second field of the second file&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;paste A. Paste is like cat rotated 90 degrees. When operating on multiple files, it will merge the lines of the files.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;expand - converts tabs to spaces A. by default assumes you want 8 spaces per tab; -t changes B. unexpand - converts spaces to tabs&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;od - dump files into octal and other formats A. default usage is dumping binary file into octal binary format B. -x for 2byte hex output&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;sort - sorts lines of text files A. writes sorted concatenation of all files as output B. by default, uses first column C. Important options 1. -f : ignore case 2. -m : sort by three digit month abbreviation; ex, jan 3. -n : numeric sort 4. -v : sort by versio 5. -h : compare human readable numbers 6. -r : reverses the sort 7. -R : sorts randomly but groups like files 8. -d : dictionary-order 9. -k : sort via key, sorts by a field number, can be comma-seperated listq D. the opposite of this is &#039;shuf&#039;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;split - splits a file into 2 or more files A. needs to have an output file prefix B. where do you want to split 1. -b : size in bytes 2. -l : lines C. example: split -l 2 listening1.txt numbers -&amp;amp;gt; output is: &#039;numbersaa&#039; and &#039;numbersab&#039; D. by default: splits every 10,000 lines&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;tr - trnaslate or delete characters A. changes individual characters coming in through standard input and outputs via standard output B. options 1. [:lower:] - all lower case chars 2. [:upper:] - all upper case chars 3. [::]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;cut - extracts portions of lines of input and prints out as output A. used to remove items within lines, delimited by spaces or tabs B. options 1. -b : cuts the specified list by byte 2. -c : cuts the specified characters 3. -f : cuts specified list of fields from input 4. -d : specifies the delimiter for fields C. EXAMPLE: cut -f 7 -d : /etc/passwd&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;uniq - take an input list and report or omit repeated lines A. only if they are next to each other, so you have to sort first B. EXAMPLE: cut -f 7 -d : /etc/passwd | sort | uniq&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;c-programs-and-makefiles&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== C++ programs and Makefiles ===&lt;br /&gt;
&lt;br /&gt;
# Basic C++ program with input and output&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;int main (int args, char * argv[]){&lt;br /&gt;
	for(int x = 0; x &amp;amp;lt; argv[],x++){&lt;br /&gt;
		cout &amp;amp;lt;&amp;amp;lt; arv[x] &amp;amp;lt;&amp;amp;lt; endl;&lt;br /&gt;
	}&lt;br /&gt;
return 0;&lt;br /&gt;
}&lt;br /&gt;
// outputs every character given to it&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Let&#039;s write a less good version of grep called greb:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#include &amp;amp;lt;iostream&amp;amp;gt;&lt;br /&gt;
#include &amp;amp;lt;fstream&amp;amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
&lt;br /&gt;
int main(int argc, char * argv[]) {&lt;br /&gt;
	string curLine;&lt;br /&gt;
	if (argc == 2){&lt;br /&gt;
		while(getline(cin,curLine)) {&lt;br /&gt;
			if (curLine.find(argv[1]) != string::npos) {&lt;br /&gt;
				cout &amp;amp;lt;&amp;amp;lt; curLine &amp;amp;lt;&amp;amp;lt; endl;&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	else if (argc == 3){&lt;br /&gt;
		ifstream inFile(argv[2], ifstream::in);&lt;br /&gt;
&lt;br /&gt;
		while(getline(inFile,curLine)) {&lt;br /&gt;
			if (curLine.find(argv[1]) != string::npos) {&lt;br /&gt;
				cout &amp;amp;lt;&amp;amp;lt; curLine &amp;amp;lt;&amp;amp;lt; endl;&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
	else {&lt;br /&gt;
		cerr &amp;amp;lt;&amp;amp;lt; &amp;amp;quot;Error: unknown parameters.&amp;amp;quot; &amp;amp;lt;&amp;amp;lt; endl;&lt;br /&gt;
		return 1;&lt;br /&gt;
	}&lt;br /&gt;
	return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Make A. Allows for automatic configuration and creation of usable binararies from OOP files, and can be used to install and uninstall programs B. Allows for the creation of archives of source code that build as packages into useful code C. typically named &#039;makefile&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# set a variables for the compiler&lt;br /&gt;
CC = g++&lt;br /&gt;
LC_MESSAGES=C&lt;br /&gt;
CFLAGS=-g -Wall&lt;br /&gt;
&lt;br /&gt;
# target name variable&lt;br /&gt;
TARGET = greb&lt;br /&gt;
&lt;br /&gt;
# file extension&lt;br /&gt;
FILEXT = cpp&lt;br /&gt;
&lt;br /&gt;
# the build target executable =&amp;amp;gt; install path of the executable&lt;br /&gt;
PREFIX = /usr/local&lt;br /&gt;
DESTDIR = /home/bernd/staging/&lt;br /&gt;
&lt;br /&gt;
# basic makefile format&lt;br /&gt;
# name of instruction: dependencies&lt;br /&gt;
# &amp;amp;lt;tab&amp;amp;gt; command to execute&lt;br /&gt;
# the FIRST one you list is the default&lt;br /&gt;
$(TARGET): $(TARGET).$(FILEXT)&lt;br /&gt;
	$(CC) $(CFLAGS) -o $(TARGET) $(TARGET).$(FILEXT)&lt;br /&gt;
&lt;br /&gt;
.PHONY: all&lt;br /&gt;
all: $(TARGET).$(FILEXT)&lt;br /&gt;
	$(CC) $(MAKEOPTS) $(CFLAGS) -o $(TARGET) $(TARGET).$(FILEXT)&lt;br /&gt;
&lt;br /&gt;
.PHONY: clean&lt;br /&gt;
clean:&lt;br /&gt;
	rm $(TARGET)&lt;br /&gt;
&lt;br /&gt;
.PHONY: install&lt;br /&gt;
install: $(TARGET)&lt;br /&gt;
	mkdir -p $(DESTDIR)$(PREFIX)/bin&lt;br /&gt;
	cp $&amp;amp;lt; $(DESTDIR)$(PREFIX)/bin/$&amp;amp;lt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;tar-and-packaging&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Tar and Packaging ===&lt;br /&gt;
&lt;br /&gt;
# tar A. the name &#039;tar&#039; comes from its original purpose: Tape ARchive B. you can bundle files as .tar, &#039;tarballs&#039;, which contain a series of file entries and terminating bytes between files C. each entry has a file descriptor and the binary contents of the file D. file descriptor, or header, contains the name of a file, a checksum of that file, and permissions data E. does not compress data, but instead keeps it in one file F. tar options: -c: Creates a tar archive -v: Verbose output -x: eXtract from a tar archive -f: specify a Filename -A: Appends two archives together -M: create or extract a multivolume archive -j: specify bzip2 compression -J: specify xz compression -z: specify gzip compression --lzma: specify lzma compression -t: Test an archive&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;more-unix-commands&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== More Unix Commands ===&lt;br /&gt;
&lt;br /&gt;
# fmt - format A. some files have crazy long lines of text B. reformats to a certain -width C. by default, truncates after 75 characters and cleans up paragraphs D. anything with 2+ blankline removed, and adds indention E. -s : prevents truncation of paragraphs&lt;br /&gt;
# nl - line number A. nl does count whitespace by default B. identical to cat -b (but not cat -n)&lt;br /&gt;
# pr - prepare a file for printing A. includes header, footer, and page breaks B. create colummns: pr -3 file.txt C. -l sets the length of lines D. -o choose the header text&lt;br /&gt;
# regular expressions - sed and awk A. simliar to wildcard expansion: ex; ls &#039;&#039;.txt B. grep and sed are two examples of regEx programs C. unix system programs have two different forms of regular expressions: basic and extended D. types of expresssions: 1. exact text match: grep &amp;amp;quot;blah&amp;amp;quot; returns all lines with &amp;amp;quot;blah&amp;amp;quot; 2. bracketed expressions: b[aeiou]g - returns bag, beg, big, bog, bug 3. bracketed with range: a[2-4]z - returns a2z, a3z, a4z 4. matching single char: a.z (allows for anything between a and z) 5. matching begin/end of line: ^ beginning, $ end 6. any of these can be combined with the wildcard: &#039;&#039; ex: A.* Lincoln (with 0 or more occurances of a pattern.) ex: A[ae]* Lincoln (with 0 or more occurances of a-e after A. 7. matching at least one of: + symbol ex. A[ae]+ Lincoln - returns at least Aa or Ae Lincoln 8. multiple possibilities or: | needs to be set up with &#039; ex. &#039;Darren (F|Fredrick) Seifert&#039; 9. grep -E invokes regex functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;shell-scripting&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Shell Scripting ===&lt;br /&gt;
&lt;br /&gt;
# The first line of a shell script tells which program to use to interpret the contents: #!/bin/bash or another shell A. the first two characters are (#!) are special code to tell the kernel this is a script - crunchbang, shebang, hashbang, poundbang B. the remaining lines beginning with # are considered comments &amp;lt;code&amp;gt;# this is a comment&amp;lt;/code&amp;gt;&lt;br /&gt;
# Classic Hello World&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# hello.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
# Print out hello world&lt;br /&gt;
echo &#039;Hello World!&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
# When you want to run a shell script, it needs to be made executable before it is an executable file: &#039;# chmod u+x ./file.sh&#039;&lt;br /&gt;
# Can be invoked with ./file.sh&lt;br /&gt;
# Alternative routes: A. bash file.sh works whether or not #!/bin/bash or chmod +x has been given B. exec file.sh is used to run scripts from within other scripts and to stop the tty instance after it is done (used to run scripts within scripts)&lt;br /&gt;
# Passing Parameters A. much like C++ programs, bash scripts can be passed parameters B. accessing these, the dollar sign is used, much like PHP or Perl, to call the number of the parameter 1. $0 - the name of the running script itself 2. $1 - the first parameter 3. and so on... 4. $? - returns the exit status of the last run command 5. $$ - returns the process ID (PID) of the current script 6. $USER - returns the username of the user running the script 7. $SECONDS - returns the runtime of the current script 8. $RANDOM - generates a random number (int 0 - 32000) 9. $LINENO - current line of script C. creation of new variables 1. variablename=value # no spaces ever 2. if you do want spaces, they must be escaped by quotes 3. double quotes recommended for variable substitution later 4. for instance varname=&amp;amp;quot;value $1&amp;amp;quot; allows for insertion of other variables into variables whereas varname=&#039;value $1&#039; will not work D. saving output into variables 1. output from programs can be saved into a variable 2. example: curdir=$(pwd) will run pwd and return the standard output as a variable 3. if you want to capture the standard error for a command, it can be saved as &amp;lt;code&amp;gt;error=$(&amp;amp;lt;/tmp/error)&amp;lt;/code&amp;gt; 4. alternative use: curdir=&amp;lt;code&amp;gt;pwd&amp;lt;/code&amp;gt; note the backtics&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# foo.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
# An example script&lt;br /&gt;
cp $1 $2&lt;br /&gt;
#verify it worked&lt;br /&gt;
echo &amp;amp;quot;Details for $2&amp;amp;quot;&lt;br /&gt;
ls -l $2&amp;lt;/pre&amp;gt;&lt;br /&gt;
* handling user input and output can use &#039;echo&#039; to create interactive scripts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# plususer.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
echo -n &#039;Please enter user name for account:&#039;&lt;br /&gt;
read username # this saves the stdin input as username&lt;br /&gt;
read -p &#039;Username&#039; $username # -n no-newline&lt;br /&gt;
echo $username&lt;br /&gt;
read -sp &#039;Password:&#039; password # -s stealth&amp;lt;/pre&amp;gt;&lt;br /&gt;
* scripts can also handle files as standard input like other commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# salesreport.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#a sales report generated from standard input&lt;br /&gt;
echo Data Summary:&lt;br /&gt;
cat /dev/stdin | cut -d &#039; &#039; -F2,3 | sort&amp;lt;/pre&amp;gt;&lt;br /&gt;
* variables can be made global via export&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# script.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
var1=blah&lt;br /&gt;
var2=foo&lt;br /&gt;
echo $0 :: var1 : $var1 , var2 : $var2&lt;br /&gt;
export var1&lt;br /&gt;
exec ./script2&lt;br /&gt;
echo $0 :: var1 : $var1 , var2 : $var2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;script2.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
echo $0 :: var1 : $var1 , var2 : $var2&lt;br /&gt;
var1=flop&lt;br /&gt;
var2=bleh&lt;br /&gt;
echo $0 :: var1 : $var1 , var2 : $var2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;sed---stream-editor&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Sed - Stream EDitor ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;the sed command uses regular expressions to modify stdin and sends the changes to stdout&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;usage : &amp;lt;code&amp;gt;sed [options] script.txt [inputfile]&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;some of the commands that can be used in the script portion&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;=&amp;lt;/code&amp;gt; - display the current line number&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;a\text&amp;lt;/code&amp;gt; - append text to file&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;i\text&amp;lt;/code&amp;gt; - insert text to file&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;r file&amp;lt;/code&amp;gt; - append text from filename into the file&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;c\text&amp;lt;/code&amp;gt; - replace the selected range with the text&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;s/2012/2013/&amp;lt;/code&amp;gt; - replace the first occurrence of 2012 on first occurrence on each line&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;s/2012/2013/g&amp;lt;/code&amp;gt; - replace &#039;&#039; &#039;&#039; every occurrence on each line&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;examples&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;code&amp;gt;sed &#039;s/Nick\|nick/Gary/g&#039; &amp;amp;lt; salaryprojections.txt&amp;lt;/code&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;^ this would replace any &#039;Nick&#039; or &#039;nick&#039; with &#039;Gary&#039; at all points in the file&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;standard replace format: &amp;lt;code&amp;gt;sed &#039;s/^/    /&#039; file.txt &amp;amp;gt; file.new.txt&amp;lt;/code&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;examining-processes&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Examining Processes ===&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;ps&amp;lt;/code&amp;gt; command&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The internal Unix command for process control is &amp;lt;code&amp;gt;ps&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;By default, &amp;lt;code&amp;gt;ps&amp;lt;/code&amp;gt; reports back what is happening inside of the current terminal/tty;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;shows &amp;lt;code&amp;gt;PID&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;TTY&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;TIME&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;CMD&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;PID&amp;lt;/code&amp;gt; is the Process ID number for a running program&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;TTY&amp;lt;/code&amp;gt; is the Teletypewriter device which the process runs from; reports stdout and stderr to this by default&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;TIME is the cumulative processor time used by the program on Linux&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;ps&amp;lt;/code&amp;gt; supports traditional Unix options and GNU flags, which can be somewhat confusing&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Options for ps&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Display all processes running &amp;lt;code&amp;gt;ps -A/-e&amp;lt;/code&amp;gt; both cause all processes on the system to be listed and output is identical&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Display processes belonging to a specific user: &amp;lt;code&amp;gt;ps -u user&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Display extra fields as a “full format” &amp;lt;code&amp;gt;ps -f&amp;lt;/code&amp;gt; can be combined with other options&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; User ID shows the username of the user running the command&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;PPID&amp;lt;/code&amp;gt; parent process ID, the process ID of the process that spawned the process&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;C&amp;lt;/code&amp;gt; processor utilization as % of usage over the lifetime of the process&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;STIME&amp;lt;/code&amp;gt; start time of the process as per system time (only in 24h clock format if current day; otherwise uses MMDD format)&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Display long format &amp;lt;code&amp;gt;ps -l&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;F&amp;lt;/code&amp;gt; Flags field&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; = no special flags for this process&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; = forked process, but did not call exec&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;4&amp;lt;/code&amp;gt; = executable was executed with superuser privileges&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;S&amp;lt;/code&amp;gt; State codes&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;D&amp;lt;/code&amp;gt; Uninterruptible sleep (usually IO)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;R&amp;lt;/code&amp;gt; Running or runnable (on run queue)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;S&amp;lt;/code&amp;gt; interruptible Sleep (waiting for an event to complete)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;T&amp;lt;/code&amp;gt; Stopped, either by a job control signal or because it is being traced.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;X&amp;lt;/code&amp;gt; dead (should never be seen)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;Z&amp;lt;/code&amp;gt; Defunct (“zombie”) process, terminated but not reaped by its parent.&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; uses system number rather than human readable name&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;PRI&amp;lt;/code&amp;gt; Priority is used by the kernel, rather than in userspace, to determine the next in queue for processing&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;NI&amp;lt;/code&amp;gt; Niceness of a process describes how accommodating a process is to sharing time on the system.&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;This number ranges from +19 to -20, with 0 as the default.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In the scheduling system, niceness is used to determine how much processing to give to each process when it asks for it.&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;ADDR&amp;lt;/code&amp;gt; the memory address of the process&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;SZ&amp;lt;/code&amp;gt; the size of the image in pages&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;how much virtual memory is in use by the process.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Includes text, data, and stack space&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;page size is a kernel variable and can be read by &amp;lt;code&amp;gt;getconf PAGE_SIZE&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;WCHAN&amp;lt;/code&amp;gt; address of where a function is sleeping (only kernel functions)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;RSS&amp;lt;/code&amp;gt; amount of physical memory in use&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;User-oriented format &amp;lt;code&amp;gt;ps -u&amp;lt;/code&amp;gt; displays information in a more readable manner&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;%CPU&amp;lt;/code&amp;gt; percent of processor time used by process divided by real time&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;%MEM&amp;lt;/code&amp;gt; actual percentage of non-reserved physical RAM&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;VSIZE&amp;lt;/code&amp;gt; virtual memory size used&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Virtual memory format &amp;lt;code&amp;gt;ps -v&amp;lt;/code&amp;gt; displays information including number of:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;MAJFL&amp;lt;/code&amp;gt; major page faults of the process, indicating times it has used swap space&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;TRS&amp;lt;/code&amp;gt; physical memory devoted to stack&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;DRS&amp;lt;/code&amp;gt; physical memory devoted to non-executable code&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Recieve a process hierarchy &amp;lt;code&amp;gt;ps -AH&amp;lt;/code&amp;gt; see parent-child relationships visually&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Choose your own adventure mode &amp;lt;code&amp;gt;ps -o uid,pid,ppid,command&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;this command used to determine certain columns&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Piping ps can be piped as per normal to other programs:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Ex; &amp;lt;code&amp;gt;ps -u darseife \| grep bash&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;pgrep&amp;lt;/code&amp;gt; is a common utility that behaves similarly to the previous command&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;top&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;top&amp;lt;/code&amp;gt; is used to view processes as they execute in real time&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt; used to choose update frequency in seconds&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt; pid to monitor specifically&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;-n&amp;lt;/code&amp;gt; run for N iterations&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;-r&amp;lt;/code&amp;gt; command to renice a process within top&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt; to change the update rate within top&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;htop&amp;lt;/code&amp;gt; can also be used as a next generation to top&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;nice&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;renice&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The &amp;lt;code&amp;gt;nice&amp;lt;/code&amp;gt; command is used to run a command with an adjusted niceness&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;generally can’t give negative values to programs without superuser access&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;nice -n 12 ./script.sh&amp;lt;/code&amp;gt; will add 12 to the default priority (0)&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;renice&amp;lt;/code&amp;gt; is used to adjust niceness of running processes.&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;renice 0 -p 2772 3562&amp;lt;/code&amp;gt; renices the processes 2772 and 3562 to 0&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;renice 1 -u darseife&amp;lt;/code&amp;gt; renices the processes of user darsiefe to 1&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Killing processes&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;kill&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;stopping a process currently running &amp;lt;code&amp;gt;-kill -s signal PID&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;PID&amp;lt;/code&amp;gt; PID by default, kill sends a signal to a number of process IDs&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;signal 1 is &amp;lt;code&amp;gt;SIGHUP&amp;lt;/code&amp;gt; terminates interactive programs and causes daemons to reread config files&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;signal 9 is &amp;lt;code&amp;gt;SIGKILL&amp;lt;/code&amp;gt; stops all processes without performing a graceful exit or shutdown&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;signal 15 is &amp;lt;code&amp;gt;SIGTERM&amp;lt;/code&amp;gt; asks the process to terminate and to close out open files, run its shutdown script, etc.&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;kill&amp;lt;/code&amp;gt; will only kill processes owned by the user, unless run with superuser access&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;killall&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;kill multiple things&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;killall vi&amp;lt;/code&amp;gt; kills all running instances of vi for the user; when run as a superuser, this will kill any running instance of vi&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;killall -s 9 vi&amp;lt;/code&amp;gt; kills all running instances of vi for the user by sending the &amp;lt;code&amp;gt;SIGKILL&amp;lt;/code&amp;gt; signal to it; when run as a superuser, this will kill any running instance of vi.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;killall -i vi&amp;lt;/code&amp;gt; uses interactive mode to ask which processes to kill&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;if you are running killall as root, try to use -i to prevent loss of other people’s work&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Additional process control&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;If you are running a program inside of a terminal, &amp;lt;code&amp;gt;[Ctrl + Z]&amp;lt;/code&amp;gt; will pause and go to background&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;To restart the process, run the command &amp;lt;code&amp;gt;fg&amp;lt;/code&amp;gt; in the same terminal&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;With multiple processes paused, &amp;lt;code&amp;gt;fg 1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;fg 2&amp;lt;/code&amp;gt; will bring back process 1 or 2&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Processes can be started in the background with &amp;amp;amp; at the end of the line; unlike paused processes, these will continue to run.&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;linux-time-and-scheduling&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Linux Time and Scheduling ===&lt;br /&gt;
&lt;br /&gt;
# Overview&lt;br /&gt;
#* Computer systems in general rely on a pair of clocks to operate&lt;br /&gt;
#* Two clocks&lt;br /&gt;
#** &#039;&#039;&#039;Hardware clock&#039;&#039;&#039; - initialized in BIOS/UEFI and kept updated via battery while computer is off&lt;br /&gt;
#** &#039;&#039;&#039;Software clock&#039;&#039;&#039; - initialized at boot from BIOS/UEFI time, and is used to track time while running&lt;br /&gt;
#* Typically, the clock of the computer is set using coordinated universal time (UTC)&lt;br /&gt;
#** adjusted for use based on timezones and localization settings like DST before entering userspace&lt;br /&gt;
#* Both the hardware clock and the software clock are not terribly reliable and tends to drift over time&lt;br /&gt;
#* This can be a problem on x86_64 systems in general because many network services rely on accurate timekeeping&lt;br /&gt;
#* This is made worse when having hundreds or thousands of servers requesting time from a single source could be bad&lt;br /&gt;
# Unix Time Commands&lt;br /&gt;
#* &amp;lt;code&amp;gt;date&amp;lt;/code&amp;gt; outputs the current software clock time&lt;br /&gt;
#* &amp;lt;code&amp;gt;date -u&amp;lt;/code&amp;gt; outputs the UTC time&lt;br /&gt;
#* &amp;lt;code&amp;gt;date 102715022019&amp;lt;/code&amp;gt; sets the time to exactly Oct 27, 15:02, 2019 in local time&lt;br /&gt;
#* &amp;lt;code&amp;gt;hwclock&amp;lt;/code&amp;gt; used to retrieve the value of the hardware clock; must be done as root&lt;br /&gt;
#* setting the hardware clock&lt;br /&gt;
#** &amp;lt;code&amp;gt;hwclock --set--date 102715022019&amp;lt;/code&amp;gt; is a manual set&lt;br /&gt;
#** &amp;lt;code&amp;gt;hwclock -hctosys&amp;lt;/code&amp;gt; set the hardware clock to the system clock&lt;br /&gt;
#** &amp;lt;code&amp;gt;hwclock --synctohc&amp;lt;/code&amp;gt; synchronizes system clock to hardware&lt;br /&gt;
#* these are called by daemons and init on startup and shutdown&lt;br /&gt;
#* both the system time and the hardware clock still suck and need a replacement&lt;br /&gt;
# &amp;lt;code&amp;gt;NTP&amp;lt;/code&amp;gt; Network Time Protocol&lt;br /&gt;
#* NTP relies on a tree of servers (each level is called a stratum) from a hardware atomic clock server&lt;br /&gt;
#* The further down the tree you are the less accurate the time is.&lt;br /&gt;
#* One NTP server requesting time from a center will exchange packet via timestamp and the delay between communications is estimated&lt;br /&gt;
#* It is best to pick NTP servers with a short delay&lt;br /&gt;
#* Typically, a cluster of computer is requested from a local time server, which in turn is the only computer requesting times outside of the network&lt;br /&gt;
# &amp;lt;code&amp;gt;timesyncd&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Traditionally, &amp;lt;code&amp;gt;ntpd&amp;lt;/code&amp;gt; is the daemon that has provided client time synchronization&lt;br /&gt;
#* Newer versions of Ubuntu use a service called &amp;lt;code&amp;gt;timesyncd&amp;lt;/code&amp;gt;&lt;br /&gt;
#** uses a slightly different protocol than NTP, called &amp;lt;code&amp;gt;SNTP&amp;lt;/code&amp;gt; (simplified network time protocol)&lt;br /&gt;
#** configuration information is at &amp;lt;code&amp;gt;/etc/systemd/timesyncd.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
#** &amp;lt;code&amp;gt;timedatectl&amp;lt;/code&amp;gt; is a way to view the current SNTP settings&lt;br /&gt;
#* also more information related to this accessible with &amp;lt;code&amp;gt;sudo systemctl status systemd-timesyncd&amp;lt;/code&amp;gt;&lt;br /&gt;
# Running jobs in the future: &amp;lt;code&amp;gt;cron&amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt;cron&amp;lt;/code&amp;gt; like timesyncd or ntpd, cron is a daemon that runs continuously and looks for events to cause it to spring into action&lt;br /&gt;
#* Most daemons are network services, but cron responds to temporal events&lt;br /&gt;
#* A cron daemon wakes up once per minute, and examines its config files in:&lt;br /&gt;
#** &amp;lt;code&amp;gt;/var/spool/cron/&amp;lt;/code&amp;gt;&lt;br /&gt;
#** &amp;lt;code&amp;gt;/etc/cron.d/&amp;lt;/code&amp;gt;&lt;br /&gt;
#** &amp;lt;code&amp;gt;/etc/crontab&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Executes command specified:&lt;br /&gt;
#** System jobs - run as root, and perform system maintenance tasks (rotate logs, clean out &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt;, remove old files, update system)&lt;br /&gt;
#** User jobs - run jobs in the future for users&lt;br /&gt;
#* &amp;lt;code&amp;gt;/etc/crontab&amp;lt;/code&amp;gt;&lt;br /&gt;
#** System cronjobs are controlled by this file&lt;br /&gt;
#** Normally, begins with environment variable configuration, then several lines like:&lt;br /&gt;
#*** On a typical system &amp;lt;code&amp;gt;02 4 * * * root run-parts /etc/cron.daily&amp;lt;/code&amp;gt;&lt;br /&gt;
#*** On Ubuntu Desktop &amp;lt;code&amp;gt;25 6 * * * root test -x /usr/sbin/anacron || cd / &amp;amp;amp;&amp;amp;amp; run-parts --report /etc/cron.daily&amp;lt;/code&amp;gt;&lt;br /&gt;
#** Fields for cron, in order&lt;br /&gt;
#**# the minute of the hour&lt;br /&gt;
#**# the hour of the day&lt;br /&gt;
#**# day of the month&lt;br /&gt;
#**# month of the year&lt;br /&gt;
#**# day of the week&lt;br /&gt;
#** different scripts for items are run from:&lt;br /&gt;
#*** &amp;lt;code&amp;gt;/etc/cron.daily&amp;lt;/code&amp;gt;&lt;br /&gt;
#*** &amp;lt;code&amp;gt;/etc/cron.weekly&amp;lt;/code&amp;gt;&lt;br /&gt;
#*** &amp;lt;code&amp;gt;/etc/cron.monthly&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;anacron&amp;lt;/code&amp;gt; a specific implementation of cron&lt;br /&gt;
#* &amp;lt;code&amp;gt;anacron&amp;lt;/code&amp;gt; is not intended to be a replacement for cron, it is a supplement&lt;br /&gt;
#* cron works great on systems that are &#039;&#039;always on&#039;&#039;&lt;br /&gt;
#* &amp;lt;code&amp;gt;anacron&amp;lt;/code&amp;gt; is smart in that it can tell if things are run&lt;br /&gt;
#** if things are missed, it plays catchup&lt;br /&gt;
#** light-night log rotation, for example, might never run&lt;br /&gt;
#** anacron is intended to address this&lt;br /&gt;
#*** when run it checks to see when it last executed each program&lt;br /&gt;
#*** if a period greater than the programs interval has passed, the program gets run by anacron&lt;br /&gt;
#** config file &amp;lt;code&amp;gt;/etc/anacrontab&amp;lt;/code&amp;gt;&lt;br /&gt;
#*** format: &amp;lt;code&amp;gt;1 5 cron.daily run-parts --report /etc/cron.daily&amp;lt;/code&amp;gt;&lt;br /&gt;
#**** first column: delay in minutes&lt;br /&gt;
#**** second column: frequency in days&lt;br /&gt;
# &amp;lt;code&amp;gt;crontab&amp;lt;/code&amp;gt; edit cronjobs for users&lt;br /&gt;
#* cron jobs for the system are under &amp;lt;code&amp;gt;/etc/&amp;lt;/code&amp;gt; but user ones are kept in &amp;lt;code&amp;gt;/var&amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt;crontab -e&amp;lt;/code&amp;gt; edit your user cronfile&lt;br /&gt;
#* root can edit other users with &amp;lt;code&amp;gt;crontab -u username -e&amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt;/etc/cron.allow&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/etc/cron.deny&amp;lt;/code&amp;gt; exist for whitelisting or blacklisting users from using &amp;lt;code&amp;gt;cron&amp;lt;/code&amp;gt;&lt;br /&gt;
#** an empty &amp;lt;code&amp;gt;/etc/cron.deny&amp;lt;/code&amp;gt; allows ALL USERS if present&lt;br /&gt;
#** an empty &amp;lt;code&amp;gt;/etc/cron.allow&amp;lt;/code&amp;gt; blocks ALL USERS if present&lt;br /&gt;
#* if neither of these exist, then only root may use &amp;lt;code&amp;gt;cron&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;at&amp;lt;/code&amp;gt; a handy simple task timer&lt;br /&gt;
#* cron and anacron can be overkill for simple tasks that need to be done once&lt;br /&gt;
#* example:&lt;br /&gt;
#** &amp;lt;code&amp;gt;at 5am Oct 31&amp;lt;/code&amp;gt;&lt;br /&gt;
#** &amp;lt;code&amp;gt;at&amp;amp;gt; /home/darren/run-backup.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
#** &amp;lt;code&amp;gt;at&amp;amp;gt; echo &amp;amp;quot;job done&amp;amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
#** &amp;lt;code&amp;gt;at&amp;amp;gt; mail -s &amp;amp;quot;backup job finished&amp;amp;quot; root&amp;lt;/code&amp;gt;&lt;br /&gt;
#** &amp;lt;code&amp;gt;at&amp;amp;gt;&amp;lt;/code&amp;gt; &#039;&#039;&#039;ctrl+d&#039;&#039;&#039; to finish&lt;br /&gt;
#* &amp;lt;code&amp;gt;at now +1 hour&amp;lt;/code&amp;gt; will run 1 hour from now relative to current system time&lt;br /&gt;
#* other examples:&lt;br /&gt;
#*# &amp;lt;code&amp;gt;at midnight&amp;lt;/code&amp;gt;&lt;br /&gt;
#*# &amp;lt;code&amp;gt;at noon&amp;lt;/code&amp;gt;&lt;br /&gt;
#*# &amp;lt;code&amp;gt;at teatime&amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt;aterm&amp;lt;/code&amp;gt; to remove an upcoming command&lt;br /&gt;
#* &amp;lt;code&amp;gt;atq&amp;lt;/code&amp;gt; used to list pending commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;log-files&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Log Files ===&lt;br /&gt;
&lt;br /&gt;
# Intro&lt;br /&gt;
#* Linux machines log files that record key details about system operation and are typically stored in &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Logging on Linux system is generally performed by the syslog daemon, &amp;lt;code&amp;gt;syslogd&amp;lt;/code&amp;gt;&lt;br /&gt;
#** However, some daemons and programs perform logging independently of syslog&lt;br /&gt;
#* Logging on Linux can be done locally to the computer, but in a networked environment, logs may be sent to a central logging server and by email&lt;br /&gt;
#* Logging is a security action and is typically a part of the system worth hardening because it is exploitable by an attacker to hide their break-in&lt;br /&gt;
#* Logs should be rotated, aka moved out of the system, to prevent &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; from being filled completely&lt;br /&gt;
# &amp;lt;code&amp;gt;syslog&amp;lt;/code&amp;gt;&lt;br /&gt;
#* The basic idea of a system logger is to provide a unified means of a handling log files&lt;br /&gt;
#* The daemon runs in the background and and accepts data delivered from servers and other programs&lt;br /&gt;
#* Once the log daemon receives a message, it is classified and directed to an appropriate file&lt;br /&gt;
#* &amp;lt;code&amp;gt;syslogd&amp;lt;/code&amp;gt; might be managing several services at the same time and providing different rule-based logging based on priority of the messages received&lt;br /&gt;
#* &amp;lt;code&amp;gt;syslogd&amp;lt;/code&amp;gt; relies on the config file &amp;lt;code&amp;gt;/etc/syslog.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
#** Ubuntu uses &amp;lt;code&amp;gt;/etc/rsyslog.conf&amp;lt;/code&amp;gt; for rocket-fast syslog&lt;br /&gt;
#** the configuration file supports a ruleset, located at &amp;lt;code&amp;gt;/etc/rsyslog.d/&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/etc/syslog.d/&amp;lt;/code&amp;gt; respectively&lt;br /&gt;
#** standard logging is done by daemon, with the format &amp;lt;code&amp;gt;facility.priority action&amp;lt;/code&amp;gt;&lt;br /&gt;
#*** example: &amp;lt;code&amp;gt;mail.* /var/log/mail.log&amp;lt;/code&amp;gt;&lt;br /&gt;
#** facility parameter is the name of the type of program the daemon that generates messages to be logged&lt;br /&gt;
#**# &amp;lt;code&amp;gt;auth/priv&amp;lt;/code&amp;gt; security messages&lt;br /&gt;
#**# &amp;lt;code&amp;gt;cron&amp;lt;/code&amp;gt; from the cron daemon&lt;br /&gt;
#**# &amp;lt;code&amp;gt;daemon&amp;lt;/code&amp;gt; catch-all for various systems servers&lt;br /&gt;
#**# &amp;lt;code&amp;gt;kern&amp;lt;/code&amp;gt; kernel messages&lt;br /&gt;
#**# &amp;lt;code&amp;gt;lpr&amp;lt;/code&amp;gt; printer and CUPS messages&lt;br /&gt;
#**# &amp;lt;code&amp;gt;mail&amp;lt;/code&amp;gt; mail subsystems&lt;br /&gt;
#**# &amp;lt;code&amp;gt;news&amp;lt;/code&amp;gt; oldschool newsgroups&lt;br /&gt;
#**# &amp;lt;code&amp;gt;syslog&amp;lt;/code&amp;gt; internally generated messages&lt;br /&gt;
#**# &amp;lt;code&amp;gt;uucp&amp;lt;/code&amp;gt; unix-to-unix copy daemon&lt;br /&gt;
#**# &amp;lt;code&amp;gt;local[0-7]&amp;lt;/code&amp;gt; predefined facilities for custom configurations&lt;br /&gt;
#** priority parameters include:&lt;br /&gt;
#*** &amp;lt;code&amp;gt;deb&amp;lt;/code&amp;gt; debugging messages&lt;br /&gt;
#*** &amp;lt;code&amp;gt;info&amp;lt;/code&amp;gt; normal operations&lt;br /&gt;
#*** &amp;lt;code&amp;gt;notice&amp;lt;/code&amp;gt; abnormalities that do not effect functionality&lt;br /&gt;
#*** &amp;lt;code&amp;gt;warn&amp;lt;/code&amp;gt; tells that an error will occur is action is not taken&lt;br /&gt;
#*** &amp;lt;code&amp;gt;err&amp;lt;/code&amp;gt; standard error for the daemon, non-urgent failure of the daemon causing an error message&lt;br /&gt;
#*** &amp;lt;code&amp;gt;crit&amp;lt;/code&amp;gt; critical error causing a secondary system to fail urgently&lt;br /&gt;
#*** &amp;lt;code&amp;gt;alert&amp;lt;/code&amp;gt; critical error causing a primary system to fail urgently&lt;br /&gt;
#*** &amp;lt;code&amp;gt;emerg&amp;lt;/code&amp;gt; Panic message - system unusable&lt;br /&gt;
#** the action parameter is a file or location on the network that will accept the message&lt;br /&gt;
#*** could be a file in &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt;&lt;br /&gt;
#*** could also be a tty: &amp;lt;code&amp;gt;/dev/tty8&amp;lt;/code&amp;gt;&lt;br /&gt;
#*** could also be a computer on the network: &amp;lt;code&amp;gt;@logger.ndus.edu&amp;lt;/code&amp;gt;&lt;br /&gt;
#* When a program sends a message to the system logger, it includes the priority: the message is only logged if it is of a certain level or higher&lt;br /&gt;
#** Exceptions:&lt;br /&gt;
#*** &amp;lt;code&amp;gt;*&amp;lt;/code&amp;gt; all codes&lt;br /&gt;
#*** = &amp;lt;code&amp;gt;(mail.=crit)&amp;lt;/code&amp;gt; applies to this priority only&lt;br /&gt;
#** You can also specify multiple facilities with the same priority by using a comma&lt;br /&gt;
#** Multiple facilities separated by commas followed by a priority all follow the same priority&lt;br /&gt;
#** A semicolon is used to specify a number of logging priorities &amp;lt;code&amp;gt;kern.info;kern.err&amp;lt;/code&amp;gt; everything between info and error&lt;br /&gt;
# &amp;lt;code&amp;gt;logger&amp;lt;/code&amp;gt; - logging something else&lt;br /&gt;
#* The &amp;lt;code&amp;gt;logger&amp;lt;/code&amp;gt; command allows a user to log something else other than established facilities&lt;br /&gt;
#* &amp;lt;code&amp;gt;logger shutting down for system maintenance&amp;lt;/code&amp;gt;&lt;br /&gt;
#** will log to &amp;lt;code&amp;gt;/var/log/syslog&amp;lt;/code&amp;gt; as &amp;lt;code&amp;gt;Nov 6 15:50:00 darseife-virtualbox darseife: shutting down for system maintenance&amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt; records the PID of the logger process when run (useful when run from script)&lt;br /&gt;
#* &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt; print the log message to standard error in addition to logging&lt;br /&gt;
#* &amp;lt;code&amp;gt;-f /foo&amp;lt;/code&amp;gt; logs to &amp;lt;code&amp;gt;/foo&amp;lt;/code&amp;gt; instead of the system log&lt;br /&gt;
#* &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt; specify both a facility and a priority for the system log message; &amp;lt;code&amp;gt;-p local3.info&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;firewalling&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Firewalling ===&lt;br /&gt;
&lt;br /&gt;
# TCP Wrappers&lt;br /&gt;
#* TCP wrappers depend on two config files to work properly; these are &amp;lt;code&amp;gt;/etc/hosts.allow&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/etc/hosts.deny&amp;lt;/code&amp;gt;&lt;br /&gt;
#* the most common config for these is default &amp;lt;code&amp;gt;deny&amp;lt;/code&amp;gt;&lt;br /&gt;
#** &amp;lt;code&amp;gt;ALL:ALL&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;/etc/hosts.deny&amp;lt;/code&amp;gt;&lt;br /&gt;
#** &amp;lt;code&amp;gt;ALL:127.0 [::1]&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;/etc/hosts.allow&amp;lt;/code&amp;gt;&lt;br /&gt;
#** specific services from a specific host enabled as the form &amp;lt;code&amp;gt;sshd:192.168.X.Y&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;/etc/hosts.allow&amp;lt;/code&amp;gt;&lt;br /&gt;
#** all services from a domain as &amp;lt;code&amp;gt;ALL:.minotstateu.edu&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;/etc/hosts.allow&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Also used is specific allow&lt;br /&gt;
#** nothing is listed in &amp;lt;code&amp;gt;/etc/hosts.allow&amp;lt;/code&amp;gt;&lt;br /&gt;
#** specifically removed IP addresses in the form &amp;lt;code&amp;gt;ALL:165.234.X.Y&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;/etc/hosts.deny&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Secondary service-level blocking can be used to apply rules to services in the form &amp;lt;code&amp;gt;/etc/sshd.hosts&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt; is the kernel level netfilter firewall&lt;br /&gt;
#* &amp;lt;code&amp;gt;iptables -L&amp;lt;/code&amp;gt; lists the current ruleset&lt;br /&gt;
#* &amp;lt;code&amp;gt;iptables -A&amp;lt;/code&amp;gt; is used to APPEND new rules to a chain (takes a chain name)&lt;br /&gt;
#* &amp;lt;code&amp;gt;iptables -I&amp;lt;/code&amp;gt; inserts a rule (takes a chain name and a position)&lt;br /&gt;
#** example &amp;lt;code&amp;gt;iptables -A INPUT -ptcp -dport ssh -j ACCEPT&amp;lt;/code&amp;gt;&lt;br /&gt;
#* rule options&lt;br /&gt;
#** &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt; the protocol used&lt;br /&gt;
#** &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt; the destination port, can accept a range of port&lt;br /&gt;
#** &amp;lt;code&amp;gt;-j&amp;lt;/code&amp;gt; the action to take, includes ACCEPT, DENY, DROP&lt;br /&gt;
#** &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt; specify a source address, can be either &amp;lt;code&amp;gt;192.168.0.1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;192.168.0.0/24&amp;lt;/code&amp;gt;&lt;br /&gt;
#** &amp;lt;code&amp;gt;-m&amp;lt;/code&amp;gt; require the rule to match a specific property&lt;br /&gt;
#*** ex &amp;lt;code&amp;gt;iptables -m conntrack&amp;lt;/code&amp;gt; allows filter rule to match based on connection state&lt;br /&gt;
#** &amp;lt;code&amp;gt;--ctstate&amp;lt;/code&amp;gt; define a list of connection states for the rule to match on&lt;br /&gt;
#**# NEW - new connections&lt;br /&gt;
#**# RELATED - new but related to a previous on&lt;br /&gt;
#**# ESTABLISHED - a preexisting connection already in progress&lt;br /&gt;
#**# INVALID - any malformed traffic or unidentified traffic&lt;br /&gt;
#** &amp;lt;code&amp;gt;-j&amp;lt;/code&amp;gt; tells iptable what to do with the packet given the rule&lt;br /&gt;
#*** ACCEPT - routes as normal as per IP header&lt;br /&gt;
#*** DROP - kills the packet without giving reply&lt;br /&gt;
#*** REJECT - sends an explicit error message&lt;br /&gt;
# Uncomplicated Firewall (ufw)&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw enable&amp;lt;/code&amp;gt; to turn on ufw&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw disable&amp;lt;/code&amp;gt; to turn off ufw&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw status&amp;lt;/code&amp;gt; view current rules for ufw&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw status verbose&amp;lt;/code&amp;gt; reports logging level + access levels for each rule&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw allow 80/tcp&amp;lt;/code&amp;gt; sets a rule to allow tcp packets on port 80&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw deny 22/udp&amp;lt;/code&amp;gt; sets a rule to reject udp packets on port 22&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw deny ssh&amp;lt;/code&amp;gt; sets a rule to reject all ssh protocol packets&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw allow 6000-6007/tcp&amp;lt;/code&amp;gt; sets a rule with a range to allow tcp packets from 6000-6007&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw allow from 15.15.15.1 to any&amp;lt;/code&amp;gt; sets a rule allowing all traffic from 15.15.15.1&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw status numbered&amp;lt;/code&amp;gt; returns a numbered list of rules in the set&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw delete 2&amp;lt;/code&amp;gt; removes rule number 2 in a list&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw logging {on/off}&amp;lt;/code&amp;gt; turns the logging on or off; usually caught by syslogd/rsyslog; logging is set to &amp;lt;code&amp;gt;low&amp;lt;/code&amp;gt; by default&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw logging {low/medium/high/full&amp;lt;/code&amp;gt; sets logging verbosity of ufw;&lt;br /&gt;
#** note that logging is rate limited at &amp;lt;code&amp;gt;medium&amp;lt;/code&amp;gt; and not rate limited at &amp;lt;code&amp;gt;high&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;bootinitialization&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Boot/Initialization ===&lt;br /&gt;
&lt;br /&gt;
# Slackware - SysV Init&lt;br /&gt;
#* System 5 style rc script via &amp;lt;code&amp;gt;init&amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt;PID 1&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;init&amp;lt;/code&amp;gt; which is the process that starts all other processes when the system boots&lt;br /&gt;
#* &amp;lt;code&amp;gt;init&amp;lt;/code&amp;gt; is responsible for processing &amp;lt;code&amp;gt;/etc/inittab&amp;lt;/code&amp;gt; to see how to start the system and at what runlevel&lt;br /&gt;
#* Things &amp;lt;code&amp;gt;init&amp;lt;/code&amp;gt; does&lt;br /&gt;
#** Runs the script &amp;lt;code&amp;gt;/etc/rc.d/rc.s&amp;lt;/code&amp;gt; to determine to prepare the system before loading to the desired runlevel&lt;br /&gt;
#** Enables virtual memory for the system and mounts filesystems in &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt;&lt;br /&gt;
#** Loads kernel modules&lt;br /&gt;
#** Near the end of the script &amp;lt;code&amp;gt;rc.s&amp;lt;/code&amp;gt;, init will run scripts related to the runlevel the system is entering -for example, &amp;lt;code&amp;gt;rc3.d&amp;lt;/code&amp;gt; is run at runlevel 3&lt;br /&gt;
# SystemD&lt;br /&gt;
#* Ubuntu, CentOS, RedHat, and others have moved from SysV init process to the SystemD initialization process&lt;br /&gt;
#* Rather than running many shell scripts during init, the systemD process uses one monolithic program to control startup of services&lt;br /&gt;
#* The way the services are started are controlled by a configuration file&lt;br /&gt;
#* systemd uses &#039;&#039;units&#039;&#039; and &#039;&#039;targets&#039;&#039; rather than scripts and runlevels&lt;br /&gt;
#** there are 11 different types of units:&lt;br /&gt;
#*** &amp;lt;code&amp;gt;mount&amp;lt;/code&amp;gt; unit defines a mountpoint on the system named with the mount path with slashes replaced as dashes&lt;br /&gt;
#*** &amp;lt;code&amp;gt;swapspace&amp;lt;/code&amp;gt;&lt;br /&gt;
#*** &amp;lt;code&amp;gt;device&amp;lt;/code&amp;gt; a device in the linux device tree&lt;br /&gt;
#*** &amp;lt;code&amp;gt;socket&amp;lt;/code&amp;gt; fifo pipe to an internet port with an associated service&lt;br /&gt;
#*** &amp;lt;code&amp;gt;service&amp;lt;/code&amp;gt; a service or application on the system&lt;br /&gt;
#** targets are used to stop and start the service and group units together&lt;br /&gt;
#** systemd identifies units by name and type&lt;br /&gt;
#*** example ssh could have an ssh.service and an ssh.socket&lt;br /&gt;
#* &amp;lt;code&amp;gt;systemctl&amp;lt;/code&amp;gt; - can list current units loaded on the system&lt;br /&gt;
#* config files - &amp;lt;code&amp;gt;/lib/systemd/system&amp;lt;/code&amp;gt;&lt;br /&gt;
#* modify how a unit functions - &amp;lt;code&amp;gt;/etc/systemd/system&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Unix_crash_course&amp;diff=131</id>
		<title>Unix crash course</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Unix_crash_course&amp;diff=131"/>
		<updated>2022-10-21T18:02:56Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Introduction to Unix==&lt;br /&gt;
&lt;br /&gt;
===Syllabus===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: decimal;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Recommended material:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Unix and Linux System Administration 5th Edition - Evi Nemeth, et al.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; CompTIA Linux+ Study Guide 4th Edition - Chritine Bresnahan and Richard Blum&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Objectives&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Shell scripting, input redirection, and C++/C code in a GNU/Linux environment&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Understanding of Linux file system including permissions&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Understanding of command and how to intermingle them to achieve more complex goals &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Basic system architecture, installation process, and management of Linux/Unix&amp;lt;/li&amp;gt; &amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;General notes&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Learning to use Bash scripting and &amp;lt;code&amp;gt;vi&amp;lt;/code&amp;gt;/&amp;lt;code&amp;gt;neovim&amp;lt;/code&amp;gt; essential to professional usage of Linux in real life&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Any commands discussed in class can be looked up via ‘man’&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;More detailed information for any command available from the command shell with an internet connection: &amp;lt;code&amp;gt;curl cheat.sh/command_na&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===History===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; Bell System &lt;br /&gt;
#&amp;lt;li&amp;gt;Dates back to late 1960s, Originally developed by Ken Thompson and Dennis Ritchie of Bell Labs &amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;Ritchie described the initial goal as to create a good environment in which to: &lt;br /&gt;
##&amp;lt;li&amp;gt;do programming and development &amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;foster communal computing through remote access and close communication &amp;lt;/li&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;Unix originally written in assembly, but was later re-written in C in 1972 &amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;First public releases in 1973, at Symposium on Operating Systems Principles; early source code sent by standard mail &amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;1975, Version 6 of Unix was licensed to companies for the first time. However, commercial users were rare. Licensees only received source code from AT&amp;amp;amp;T. &amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;Also in 1975, Ken Thompson takes a sabbatical from Bell Labs as a professor at UC Berkeley. &lt;br /&gt;
##&amp;lt;li&amp;gt;Creates BSD: The Berkeley System Distribution of Unix 4.2. &amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;Includes C-shell and vi editor for first time &amp;lt;/li&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;1983, Bell broken into several companies in anti-trust suit against AT&amp;amp;amp;T. &amp;lt;/li&amp;gt;&amp;lt;li&amp;gt; AT&amp;amp;amp;T new restrictive license almost kills commercial Unix. &lt;br /&gt;
##&amp;lt;li&amp;gt;By 1991, BSD had grown to a complete rewrite of AT&amp;amp;amp;T Unix and comes with BSD license. &amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;BSD survives today as: FreeBSD, OpenBSD, NetBSD, etc. &amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;Additionally, Darwin kernel of Mac OSX continues as a form of Unix. &amp;lt;/li&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;GNU Project into Linux &lt;br /&gt;
#&amp;lt;li&amp;gt;Around 1983, Richard Stallman creates GNU project &amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;Stallman’s GNU system goal was to create a ‘free’ system of software that had many of other capabilities of the commercial tools that many Unix also had &amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;By 1985, Stallman had founded the Free Software Foundation to raise funds to develop free versions of all the components of the Unix syste, under GNU GPL &amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;In 1991, Linus Torvalds began the development of a new free OS based on the MINIX operation system and SunOS. The 21 year old puts together the kernel. &amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;As the kernel for the GNU project was still very much in development, the two projects became a natural fit. &amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;To this day, Stallman insists that Linux is GNU/Linux due to the large reliance on GNU toolchain &amp;lt;/li&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Introduction to Red Hat Enterprise Linux=== &lt;br /&gt;
#Package Manager - YUM &lt;br /&gt;
##Stands for YellowDog Updater Modified&lt;br /&gt;
##Provides a set of tools for retrieving software from the internet using subscriptions to an update server&lt;br /&gt;
##Utilizes .rpm software files to install packages for management&lt;br /&gt;
##Creates an Enterprise Linux environment &lt;br /&gt;
##*&#039;&#039;&#039;cons:&#039;&#039;&#039; less software options overall&lt;br /&gt;
##*&#039;&#039;&#039;pro:&#039;&#039;&#039; all available software is tested and works without additional configuration&lt;br /&gt;
##5. &amp;lt;code&amp;gt;yum&amp;lt;/code&amp;gt; has an additional, alternative wrapper program &amp;lt;code&amp;gt;dnf&amp;lt;/code&amp;gt; to improve output and ease of use &lt;br /&gt;
##*stands for DaNdified YUM - commands in the format &amp;lt;code&amp;gt;sudo dnf [verb] [objects]&amp;lt;/code&amp;gt;&lt;br /&gt;
##*&amp;lt;code&amp;gt;-y&amp;lt;/code&amp;gt; flag gives YES as passed option for less attended installation 6. command commands&lt;br /&gt;
##*&amp;lt;code&amp;gt;sudo dnf -y install [package_name]&amp;lt;/code&amp;gt; install a particular package and dependencies&lt;br /&gt;
##* &amp;lt;code&amp;gt;sudo dnf -y update&amp;lt;/code&amp;gt; update all packages&lt;br /&gt;
&lt;br /&gt;
===Introduction to Ubuntu===&lt;br /&gt;
# Package Manager - APT&lt;br /&gt;
##Stands for Advanced Package Manager&lt;br /&gt;
##Ubuntu’s set of tools to install packages and keep them up to date&lt;br /&gt;
##Utilizes .deb software packages for management&lt;br /&gt;
##Keep in mind this package management system is far from standard &lt;br /&gt;
##*Many commercial Unixes have their own package managers&lt;br /&gt;
##*When all else fails, a tarball (.tar) file can be used to build from source&lt;br /&gt;
##Commands &lt;br /&gt;
##*&amp;lt;code&amp;gt;apt-get update&amp;lt;/code&amp;gt; synchronizes the index of packages to your system&lt;br /&gt;
##*&amp;lt;code&amp;gt;apt-get upgrade&amp;lt;/code&amp;gt; downloads and installs new versions of all currently installed packages in place, based on the index&lt;br /&gt;
##*&amp;lt;code&amp;gt;apt-get dist-upgrade&amp;lt;/code&amp;gt; downloads and installs new versions, and moves the system up to the next version, based on the index&lt;br /&gt;
##*&amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt; was originally “superuserdo”, now works to substitute - users and run programs as that user. /etc/sudoers controls this behavior.&lt;br /&gt;
##*&amp;lt;code&amp;gt;sudo apt-get install foo&amp;lt;/code&amp;gt; : installs package named &#039;&#039;&#039;foo&#039;&#039;&#039;&lt;br /&gt;
##*&amp;lt;code&amp;gt;sudo apt-get remove bar&amp;lt;/code&amp;gt; : removes a package named &#039;&#039;&#039;bar&#039;&#039;&#039;, but not the config files&lt;br /&gt;
##*&amp;lt;code&amp;gt;sudo apt-get purge bar&amp;lt;/code&amp;gt; : removes a package named &#039;&#039;&#039;bar&#039;&#039;&#039;, and removes config files&lt;br /&gt;
##*&amp;lt;code&amp;gt;sudo apt-get source * &amp;lt;/code&amp;gt;: gets the source code for a package&lt;br /&gt;
##*&amp;lt;code&amp;gt;sudo apt-get clean&amp;lt;/code&amp;gt; : removes downloaded packages (.deb files) used to install&lt;br /&gt;
&amp;lt;span id=&amp;quot;filesystem&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===File System===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: decimal;&amp;quot;&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt;Directories&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;first and bottom of the directory of the file structure tree is called root &#039;&#039;&#039;/&#039;&#039;&#039;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/root&#039;&#039;&#039; in addition, there is a file directory, within the root directory called /root (“slash root”), which acts as root’s home directory &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/home&#039;&#039;&#039; normal users’ directories&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/boot&#039;&#039;&#039; contains the boot directory, including kernel, initial RAMdisk, and bootloader&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;/dev&#039;&#039;&#039; lists all devices of the computer&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/etc&#039;&#039;&#039; configuration files for nearly all programs that need a state&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/tmp&#039;&#039;&#039; temporary files for the system&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/var&#039;&#039;&#039; variable-length files used by programs&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/var/spool&#039;&#039;&#039; old-school webmail location&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/var/www&#039;&#039;&#039; location of http server files&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/usr&#039;&#039;&#039; files available to users, including binaries for daily user tasks in /usr/bin &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/sbin&#039;&#039;&#039; binaries used only by root&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/bin&#039;&#039;&#039; binaries for the system everyone needs to use&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Commands&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;cd&#039;&#039;&#039; change directories&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;~&#039;&#039;&#039; alias used to shortcut the current user directory&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;Ctrl+R&#039;&#039;&#039; search history of commands in &amp;lt;code&amp;gt;bash&amp;lt;/code&amp;gt;; also available as output from &amp;lt;code&amp;gt;history&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;!!&#039;&#039;&#039; runs the previous command&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;ls&#039;&#039;&#039; list in the contents of current directory&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;.&#039;&#039;&#039;: the current directory&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;..&#039;&#039;&#039; : go up one directory#User and Group Configuration&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
===useradd/usermod=== &lt;br /&gt;
&lt;br /&gt;
#&amp;lt;code&amp;gt;useradd&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;usermod&amp;lt;/code&amp;gt; do much the same thing&lt;br /&gt;
#* &amp;lt;code&amp;gt;-c&amp;lt;/code&amp;gt; allows to add comments&lt;br /&gt;
#*&amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt; allows to change user home directory&lt;br /&gt;
#*&amp;lt;code&amp;gt;-e&amp;lt;/code&amp;gt; expiration date - date an account will expire (in YYYYMMDD format), kept in &amp;lt;code&amp;gt;/etc/shadow&amp;lt;/code&amp;gt;&lt;br /&gt;
#*&amp;lt;code&amp;gt;-f&amp;lt;/code&amp;gt; specify how many days the account can be inactive before password expires, kept in &amp;lt;code&amp;gt;/etc/shadow&amp;lt;/code&amp;gt;&lt;br /&gt;
#*&amp;lt;code&amp;gt;-g&amp;lt;/code&amp;gt; specify default group of the user&lt;br /&gt;
#*&amp;lt;code&amp;gt;-G&amp;lt;/code&amp;gt; append a list of additional groups for the user&lt;br /&gt;
#*&amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt;(usermod only) changes a user login ex: &amp;lt;code&amp;gt;usermod -l darren darseife&amp;lt;/code&amp;gt;&lt;br /&gt;
#*&amp;lt;code&amp;gt;-u&amp;lt;/code&amp;gt; uid&lt;br /&gt;
#*&amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt; specifies login shell&lt;br /&gt;
#*&amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt; specify pre-hashed password&lt;br /&gt;
#*&amp;lt;code&amp;gt;-L&amp;lt;/code&amp;gt; (usermod only) locks the user’s password so it cannot be entered directly (best used with -e, as well)&lt;br /&gt;
#*&amp;lt;code&amp;gt;-U&amp;lt;/code&amp;gt; will unlock a user’s password&lt;br /&gt;
&lt;br /&gt;
===passwd===&lt;br /&gt;
commands&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;code&amp;gt;sudo passwd darseife&amp;lt;/code&amp;gt; change the password of darseife&lt;br /&gt;
#&amp;lt;code&amp;gt;passwd&amp;lt;/code&amp;gt; can also be used to lock and unlock accounts&lt;br /&gt;
#*&amp;lt;code&amp;gt;passwd -l&amp;lt;/code&amp;gt; will lock the account’s password&lt;br /&gt;
#*a locked password will always be input incorrectly&lt;br /&gt;
#*does not necessarily lock user out of the account&lt;br /&gt;
#*puts an &amp;lt;code&amp;gt;!&amp;lt;/code&amp;gt; at the beginning of the password field in &amp;lt;code&amp;gt;/etc/shadow&amp;lt;/code&amp;gt;&lt;br /&gt;
#*&amp;lt;code&amp;gt;crypt&amp;lt;/code&amp;gt;, the algorithm used to implement ciphers, cannot generate an &amp;lt;code&amp;gt;!&amp;lt;/code&amp;gt;so the password hash is disabled&lt;br /&gt;
#*&amp;lt;code&amp;gt;passwd -u&amp;lt;/code&amp;gt; would unlock the account’s password&lt;br /&gt;
#&amp;lt;code&amp;gt;passwd -d&amp;lt;/code&amp;gt; removes the password of the account&lt;br /&gt;
#&amp;lt;code&amp;gt;passwd -S&amp;lt;/code&amp;gt; displays account information: &lt;br /&gt;
#*last password change&lt;br /&gt;
#*password expires&lt;br /&gt;
#*password inactive&lt;br /&gt;
#*account expires&lt;br /&gt;
#*minimum days between password change&lt;br /&gt;
#*maximum days before password change&lt;br /&gt;
#*warn period before changes&lt;br /&gt;
&lt;br /&gt;
===chage===&lt;br /&gt;
1. The &amp;lt;code&amp;gt;chage&amp;lt;/code&amp;gt; command allows you to modify account settings related to password expiration and aging 2. &amp;lt;code&amp;gt;chage&amp;lt;/code&amp;gt; can also be used to configure accounts to automatically expire if: - the password hasn’t been changed - or a date has been passed 3. &amp;lt;code&amp;gt;chage -l&amp;lt;/code&amp;gt; print expiration settings of an account 4. &amp;lt;code&amp;gt;chage -m DAYS username&amp;lt;/code&amp;gt; to set the minimum time between password changes 5. &amp;lt;code&amp;gt;chage -M DAYS username&amp;lt;/code&amp;gt; to set the maximum time between password changes 6. &amp;lt;code&amp;gt;chage -d YYYYMMDD username&amp;lt;/code&amp;gt; update the last day YYYY-MM-DD on which to change the password 7. &amp;lt;code&amp;gt;chage -E YYYYMMDD username&amp;lt;/code&amp;gt; set the expiration date as YYYY-MM-DD on which username’s account expires - setting the number to &amp;lt;code&amp;gt;-1&amp;lt;/code&amp;gt; will make it never expire 8. &amp;lt;code&amp;gt;chage -I DAYS username&amp;lt;/code&amp;gt; will lock the account password after number of days inactive 9. &amp;lt;code&amp;gt;chage -W DAYS username&amp;lt;/code&amp;gt; number of days the user will be warned before their account is made inactive 10. All of these settings are stored in &amp;lt;code&amp;gt;/etc/shadow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
###userdel 1. &amp;lt;code&amp;gt;userdel username&amp;lt;/code&amp;gt; deletes users 2. &amp;lt;code&amp;gt;userdel -r username&amp;lt;/code&amp;gt; deletes the user, their mail spool, their home directory, and everything in it 3. &amp;lt;code&amp;gt;userdel -f username&amp;lt;/code&amp;gt; deletes the user &#039;&#039;right now&#039;&#039; even if they are logged in&lt;br /&gt;
&lt;br /&gt;
###groupadd and groupmod 1. &amp;lt;code&amp;gt;groupadd&amp;lt;/code&amp;gt;add a group to a system 2. &amp;lt;code&amp;gt;groupadd -r&amp;lt;/code&amp;gt; used to create a system group, creating a GUID above 1000 3. &amp;lt;code&amp;gt;groupmod&amp;lt;/code&amp;gt; change a group 4. &amp;lt;code&amp;gt;groupmod -n&amp;lt;/code&amp;gt; change a group name&lt;br /&gt;
&lt;br /&gt;
###gpasswd - group password 1. &amp;lt;code&amp;gt;gpasswd groupname&amp;lt;/code&amp;gt; sets password for a group; it is most common to not have a group password 2. &amp;lt;code&amp;gt;gpasswd -R&amp;lt;/code&amp;gt; restricts access to users logging in with password via newgrp&lt;br /&gt;
&lt;br /&gt;
###getent - get entities 1. can be used to view individual records in &amp;lt;code&amp;gt;/etc/passwd&amp;lt;/code&amp;gt;, and other files 2. useful for getting exact matches for items 3. &amp;lt;code&amp;gt;getent password username&amp;lt;/code&amp;gt; - get passwd information for user 4. &amp;lt;code&amp;gt;getent shadow username&amp;lt;/code&amp;gt; - get shadow information for user 5. &amp;lt;code&amp;gt;getent group groupname&amp;lt;/code&amp;gt; - get group information for user#The *nix CLI ###The Shell explained 1. A shell is a command interpreter where the user interacts with the system via command line interface (CLI) 2. Different shells currently in-use A. &#039;&#039;&#039;Bourne-Again SHell&#039;&#039;&#039; - located at &amp;lt;code&amp;gt;/bin/bash&amp;lt;/code&amp;gt; is the main shell and is used was a default on most Linux systems B. &#039;&#039;&#039;sh&#039;&#039;&#039; - The Bourne Shell, old school version does not require any libraries. Rarely seen as a user-interface shell; typically a symbolic link to another shell binary. Created by Stephen Bourne, first included in Unix V7 C. &#039;&#039;&#039;tcsh&#039;&#039;&#039; Tee Shell. Based on the earlier C-shell from Unix. Has some additional features built into it. D. &#039;&#039;&#039;csh&#039;&#039;&#039; C-shell, a BSD component not often seen on Linux. Created by Bill Joy at UC Berkeley. E. &#039;&#039;&#039;ksh&#039;&#039;&#039; Korn shell from Bell Labs in the 1980s. The idea was to incorporate features from the Bourne Shell along with C-programming syntax. F. &#039;&#039;&#039;zsh&#039;&#039;&#039; 1990s, incorporates additional ideas into ksh. 3. Built-in Commands A. &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; changes directory - &amp;lt;code&amp;gt;cd ~&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;cd /home/user&amp;lt;/code&amp;gt; are equivalent B. &amp;lt;code&amp;gt;ls -&amp;lt;/code&amp;gt; lists files in a directory - default behavior just lists files - &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt; lists all files including hidden ones - &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt; long format - &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt; just directories - &amp;lt;code&amp;gt;-F&amp;lt;/code&amp;gt; uses a special character to rep filetypes - &amp;lt;code&amp;gt;-R&amp;lt;/code&amp;gt; recursive listing C. Single characters are substituted by &amp;lt;code&amp;gt;?&amp;lt;/code&amp;gt;, wildcards by &amp;lt;code&amp;gt;*&amp;lt;/code&amp;gt; D. Exiting the system - &amp;lt;code&amp;gt;exit&amp;lt;/code&amp;gt; exits the current shell - &amp;lt;code&amp;gt;logout&amp;lt;/code&amp;gt; only works for login shells E. Shutting down the system - &amp;lt;code&amp;gt;shutdown -h now&amp;lt;/code&amp;gt; halts the system now - &amp;lt;code&amp;gt;shutdown -r now&amp;lt;/code&amp;gt; restarts the system now - &amp;lt;code&amp;gt;shutdown -h +5 &amp;amp;quot; &amp;amp;quot;&amp;lt;/code&amp;gt; broadcasts the message in quotes and tells people it will be down in 5minutes - &amp;lt;code&amp;gt;halt&amp;lt;/code&amp;gt; on most systems, will drop the system into single user mode - &amp;lt;code&amp;gt;poweroff&amp;lt;/code&amp;gt; “on fire” graceless exit. Sends HW signal to kill power - &amp;lt;code&amp;gt;reboot&amp;lt;/code&amp;gt; essentially ‘shutdown -r’ - &amp;lt;code&amp;gt;reboot -f&amp;lt;/code&amp;gt; graceless restart exit, Sends HW signal to reboot F. &amp;lt;code&amp;gt;init&amp;lt;/code&amp;gt; relies on a series of programs or scripts to change run-state of machine and to start/stop linux services - &amp;lt;code&amp;gt;init 0&amp;lt;/code&amp;gt; - shuts the machine down - &amp;lt;code&amp;gt;init 6&amp;lt;/code&amp;gt; - reboots the machine - &amp;lt;code&amp;gt;init S&amp;lt;/code&amp;gt; - initializes system boot &lt;br /&gt;
&lt;br /&gt;
###Man pages and getting help 1. displays the manual pages for any packages on the system 2. typing &amp;lt;code&amp;gt;[/]&amp;lt;/code&amp;gt; will allow you to search through the page 3. allows you to move via &amp;lt;code&amp;gt;[spacebar]&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;[pgup/pgdn]&amp;lt;/code&amp;gt; 4. &amp;lt;code&amp;gt;man&amp;lt;/code&amp;gt; is broken up into seperate chapters: &amp;lt;code&amp;gt;man 5&amp;lt;/code&amp;gt; would show chapter 5 1. executable programs and shell 2. system calls 3. library calls 4. device calls 5. file formats 6. games 7. misc. (macro packages) 8. sys admin commands 9. kernel routines 5. &amp;lt;code&amp;gt;man -k *&amp;lt;/code&amp;gt; : to find any pages matching &amp;lt;code&amp;gt;*&amp;lt;/code&amp;gt; 6. most programs also allow for &amp;lt;code&amp;gt;--help&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;-?&amp;lt;/code&amp;gt; to be passed for a quick rundown on commands and usage&lt;br /&gt;
&lt;br /&gt;
###Unix filesystem permissions 1. filesystem permissions saved as a series of 3 bit numbers 2. format: &amp;lt;code&amp;gt;d,rwx,rwx,rwx&amp;lt;/code&amp;gt; for read-write-execute a. &amp;lt;code&amp;gt;d&amp;lt;/code&amp;gt; - denotes a Directory or file b. first triad is for the User of the file c. second triad is for Group members of the file d. third triad is for Everyone else 3. Read-write-execute for files a. &#039;&#039;&#039;Read&#039;&#039;&#039; allows the file to be opened b. &#039;&#039;&#039;Write&#039;&#039;&#039; allows for the file to be edited c. &#039;&#039;&#039;Execute&#039;&#039;&#039; allows for the file to run as a program 4. Read-write-execute for directories a. &#039;&#039;&#039;Read&#039;&#039;&#039; allows for the directory to view filenames in the directory b. &#039;&#039;&#039;Write&#039;&#039;&#039; allows files to be added or deleted from a dir c. &#039;&#039;&#039;Execute&#039;&#039;&#039; allows the directory to be visited, “permission to traverse through”; must have this to execute programs within a directory 5. &amp;lt;code&amp;gt;chmod&amp;lt;/code&amp;gt; changes file and directory permissions a. two modes for chmod 1. &#039;&#039;&#039;symbolic mode&#039;&#039;&#039; &amp;lt;code&amp;gt;chmod {u,g,o}[+,-,=]{r,w,x}&amp;lt;/code&amp;gt; 2. absolute mode - chmod 777 /path/to/file` * 0 no permissions * 1 execute * 2 write * 4 read F. chown - change file owner and group 1. chown user /foo - changes foo’s owner to user 2. chown root:root /foo - changes foo’s owner to root, also changes foo’s group to root G. echo - displays any text you enter after the command 1. primarially used in shell scripts or ‘programs’ that utilize a combination of of built-in commands, variables, and executables to complete tasks 2. variables reached from echo by invoking the variable name as $NAME #Input Redirection and Utils &lt;br /&gt;
&lt;br /&gt;
###Redirection symbols 1. prog &amp;amp;gt; - redirects std output to the file, truncating and rewriting 2. prog 2&amp;amp;gt; - redirect std error to the file, truncating and rewriting 3. &amp;amp;amp;&amp;amp;gt; - redirects both std output and error to file 4. &amp;lt;code&amp;gt;&amp;amp;gt;&amp;amp;gt;&amp;lt;/code&amp;gt; - non-destructively appends to end of file rather than rewriting 5. &amp;lt;code&amp;gt;- &amp;amp;quot;backtick&amp;amp;quot; process commands in the middle of another command 	a. A tool similar to xargs 	b. text within backticks are treated as a separate command line who&#039;s results are substituted on this command line 	c. things inside of backticks are attempted to be used as a command 	d. example: rm&amp;lt;/code&amp;gt; find / - user darren ` 6. $() - is used like a backtick; more resistant to weird syntax&lt;br /&gt;
&lt;br /&gt;
###Piping data between programs 1. programs on a UNIX system frequently use pipes to redirect each other’s output. 2. for instance you might use a text-filtering command on output from a file reading command. 3. allows small programs to operate on a flow of information in a row 4. | - this is an unnamed pipe 5. mkfifo - allows for the creation of named pipes a. &amp;lt;code&amp;gt;mkfifo fifo1&amp;lt;/code&amp;gt; b. &amp;lt;code&amp;gt;ls -l &amp;amp;gt; fifo1&amp;lt;/code&amp;gt; c. &amp;lt;code&amp;gt;cat &amp;amp;lt; fifo1&amp;lt;/code&amp;gt; 6. tee - read from standard input and write to standard output and files a. splits standard input so that is it is both displayed via standard output and also captured to one of more files b. allows for logging and redirection while the process is also shown on screen c. overwrites to a file as per ‘&amp;amp;gt;’ by default rather than like ‘&amp;amp;gt;&amp;amp;gt;’ d. example - echo $PATH | tee file1 file2 - file1, file2, and stdoutput all have same information 5. find - searches for files in directory hierarchy 6. xargs - builds a command from standard input, using command name and arguments to that command and then executes the command on each line of standard input a. example: find / - user darren | xargs -d %rm 7. file - returns the type of file and metadata information regarding files 8. join - combines two text files by matching the contents of specified fields a. by default, join uses spaces as the limiters (unless -t CHAR is given) b. example: join -1 3 -2 2 - this joins the third field of the first file and the second field of the second file 9. paste A. Paste is like cat rotated 90 degrees. When operating on multiple files, it will merge the lines of the files. 10. expand - converts tabs to spaces A. by default assumes you want 8 spaces per tab; -t changes B. unexpand - converts spaces to tabs 11. od - dump files into octal and other formats A. default usage is dumping binary file into octal binary format B. -x for 2byte hex output 12. sort - sorts lines of text files A. writes sorted concatenation of all files as output B. by default, uses first column C. Important options 1. -f : ignore case 2. -m : sort by three digit month abbreviation; ex, jan 3. -n : numeric sort 4. -v : sort by versio 5. -h : compare human readable numbers 6. -r : reverses the sort 7. -R : sorts randomly but groups like files 8. -d : dictionary-order 9. -k : sort via key, sorts by a field number, can be comma-seperated listq D. the opposite of this is ‘shuf’ 13. split - splits a file into 2 or more files A. needs to have an output file prefix B. where do you want to split 1. -b : size in bytes 2. -l : lines C. example: split -l 2 listening1.txt numbers -&amp;amp;gt; output is: ‘numbersaa’ and ‘numbersab’ D. by default: splits every 10,000 lines 14. tr - trnaslate or delete characters A. changes individual characters coming in through standard input and outputs via standard output B. options 1. [:lower:] - all lower case chars 2. [:upper:] - all upper case chars 3. [::] 15. cut - extracts portions of lines of input and prints out as output A. used to remove items within lines, delimited by spaces or tabs B. options 1. -b : cuts the specified list by byte 2. -c : cuts the specified characters 3. -f : cuts specified list of fields from input 4. -d : specifies the delimiter for fields C. EXAMPLE: cut -f 7 -d : /etc/passwd 16. uniq - take an input list and report or omit repeated lines A. only if they are next to each other, so you have to sort first B. EXAMPLE: cut -f 7 -d : /etc/passwd | sort | uniq&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;c-programs-and-makefiles&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===C++ programs and Makefiles===&lt;br /&gt;
&lt;br /&gt;
#Basic C++ program with input and output&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;int main (int args, char * argv[]){&lt;br /&gt;
	for(int x = 0; x &amp;amp;lt; argv[],x++){&lt;br /&gt;
		cout &amp;amp;lt;&amp;amp;lt; arv[x] &amp;amp;lt;&amp;amp;lt; endl;&lt;br /&gt;
	}&lt;br /&gt;
return 0;&lt;br /&gt;
}&lt;br /&gt;
// outputs every character given to it&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;ol start=&amp;quot;2&amp;quot; style=&amp;quot;list-style-type: decimal;&amp;quot;&amp;gt;	&lt;br /&gt;
&amp;lt;li&amp;gt;Let’s write a less good version of grep called greb:&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#include &amp;amp;lt;iostream&amp;amp;gt;&lt;br /&gt;
#include &amp;amp;lt;fstream&amp;amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
&lt;br /&gt;
int main(int argc, char * argv[]) {&lt;br /&gt;
	string curLine;&lt;br /&gt;
	if (argc == 2){&lt;br /&gt;
		while(getline(cin,curLine)) {&lt;br /&gt;
			if (curLine.find(argv[1]) != string::npos) {&lt;br /&gt;
				cout &amp;amp;lt;&amp;amp;lt; curLine &amp;amp;lt;&amp;amp;lt; endl;&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	else if (argc == 3){&lt;br /&gt;
		ifstream inFile(argv[2], ifstream::in);&lt;br /&gt;
&lt;br /&gt;
		while(getline(inFile,curLine)) {&lt;br /&gt;
			if (curLine.find(argv[1]) != string::npos) {&lt;br /&gt;
				cout &amp;amp;lt;&amp;amp;lt; curLine &amp;amp;lt;&amp;amp;lt; endl;&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
	else {&lt;br /&gt;
		cerr &amp;amp;lt;&amp;amp;lt; &amp;amp;quot;Error: unknown parameters.&amp;amp;quot; &amp;amp;lt;&amp;amp;lt; endl;&lt;br /&gt;
		return 1;&lt;br /&gt;
	}&lt;br /&gt;
	return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;ol start=&amp;quot;3&amp;quot; style=&amp;quot;list-style-type: decimal;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Make A. Allows for automatic configuration and creation of usable binararies from OOP files, and can be used to install and uninstall programs B. Allows for the creation of archives of source code that build as packages into useful code C. typically named ‘makefile’&amp;lt;/li&amp;gt; &amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# set a variables for the compiler&lt;br /&gt;
CC = g++&lt;br /&gt;
LC_MESSAGES=C&lt;br /&gt;
CFLAGS=-g -Wall&lt;br /&gt;
&lt;br /&gt;
# target name variable&lt;br /&gt;
TARGET = greb&lt;br /&gt;
&lt;br /&gt;
# file extension&lt;br /&gt;
FILEXT = cpp&lt;br /&gt;
&lt;br /&gt;
# the build target executable =&amp;amp;gt; install path of the executable&lt;br /&gt;
PREFIX = /usr/local&lt;br /&gt;
DESTDIR = /home/bernd/staging/&lt;br /&gt;
&lt;br /&gt;
# basic makefile format&lt;br /&gt;
# name of instruction: dependencies&lt;br /&gt;
# &amp;amp;lt;tab&amp;amp;gt; command to execute&lt;br /&gt;
# the FIRST one you list is the default&lt;br /&gt;
$(TARGET): $(TARGET).$(FILEXT)&lt;br /&gt;
	$(CC) $(CFLAGS) -o $(TARGET) $(TARGET).$(FILEXT)&lt;br /&gt;
&lt;br /&gt;
.PHONY: all&lt;br /&gt;
all: $(TARGET).$(FILEXT)&lt;br /&gt;
	$(CC) $(MAKEOPTS) $(CFLAGS) -o $(TARGET) $(TARGET).$(FILEXT)&lt;br /&gt;
&lt;br /&gt;
.PHONY: clean&lt;br /&gt;
clean:&lt;br /&gt;
	rm $(TARGET)&lt;br /&gt;
&lt;br /&gt;
.PHONY: install&lt;br /&gt;
install: $(TARGET)&lt;br /&gt;
	mkdir -p $(DESTDIR)$(PREFIX)/bin&lt;br /&gt;
	cp $&amp;amp;lt; $(DESTDIR)$(PREFIX)/bin/$&amp;amp;lt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;tar-and-packaging&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Tar and Packaging===&lt;br /&gt;
&lt;br /&gt;
#tar A. the name ‘tar’ comes from its original purpose: Tape ARchive B. you can bundle files as .tar, ‘tarballs’, which contain a series of file entries and terminating bytes between files C. each entry has a file descriptor and the binary contents of the file D. file descriptor, or header, contains the name of a file, a checksum of that file, and permissions data E. does not compress data, but instead keeps it in one file F. tar options: -c: Creates a tar archive -v: Verbose output -x: eXtract from a tar archive -f: specify a Filename -A: Appends two archives together -M: create or extract a multivolume archive -j: specify bzip2 compression -J: specify xz compression -z: specify gzip compression –lzma: specify lzma compression -t: Test an archive&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;more-unix-commands&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===More Unix Commands===&lt;br /&gt;
&lt;br /&gt;
#fmt - format A. some files have crazy long lines of text B. reformats to a certain -width C. by default, truncates after 75 characters and cleans up paragraphs D. anything with 2+ blankline removed, and adds indention E. -s : prevents truncation of paragraphs&lt;br /&gt;
#nl - line number A. nl does count whitespace by default B. identical to cat -b (but not cat -n)&lt;br /&gt;
#pr - prepare a file for printing A. includes header, footer, and page breaks B. create colummns: pr -3 file.txt C. -l sets the length of lines D. -o choose the header text&lt;br /&gt;
#regular expressions - sed and awk A. simliar to wildcard expansion: ex; ls &#039;&#039;.txt B. grep and sed are two examples of regEx programs C. unix system programs have two different forms of regular expressions: basic and extended D. types of expresssions: 1. exact text match: grep “blah” returns all lines with “blah” 2. bracketed expressions: b[aeiou]g - returns bag, beg, big, bog, bug 3. bracketed with range: a[2-4]z - returns a2z, a3z, a4z 4. matching single char: a.z (allows for anything between a and z) 5. matching begin/end of line: ^ beginning, $ end 6. any of these can be combined with the wildcard: &#039;&#039; ex: A.* Lincoln (with 0 or more occurances of a pattern.) ex: A[ae]* Lincoln (with 0 or more occurances of a-e after A. 7. matching at least one of: + symbol ex. A[ae]+ Lincoln - returns at least Aa or Ae Lincoln 8. multiple possibilities or: | needs to be set up with ’ ex. ‘Darren (F|Fredrick) Seifert’ 9. grep -E invokes regex functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;shell-scripting&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Shell Scripting===&lt;br /&gt;
&lt;br /&gt;
#The first line of a shell script tells which program to use to interpret the contents: #!/bin/bash or another shell A. the first two characters are (#!) are special code to tell the kernel this is a script - crunchbang, shebang, hashbang, poundbang B. the remaining lines beginning with # are considered comments &amp;lt;code&amp;gt;# this is a comment&amp;lt;/code&amp;gt;&lt;br /&gt;
#Classic Hello World&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# hello.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
# Print out hello world&lt;br /&gt;
echo &#039;Hello World!&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;ol start=&amp;quot;3&amp;quot; style=&amp;quot;list-style-type: decimal;&amp;quot;&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt;When you want to run a shell script, it needs to be made executable before it is an executable file: ‘# chmod u+x ./file.sh’&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Can be invoked with ./file.sh&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Alternative routes: A. bash file.sh works whether or not #!/bin/bash or chmod +x has been given B. exec file.sh is used to run scripts from within other scripts and to stop the tty instance after it is done (used to run scripts within scripts)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Passing Parameters A. much like C++ programs, bash scripts can be passed parameters B. accessing these, the dollar sign is used, much like PHP or Perl, to call the number of the parameter 1. $0 - the name of the running script itself 2. $1 - the first parameter 3. and so on… 4. $? - returns the exit status of the last run command 5. $$ - returns the process ID (PID) of the current script 6. $USER - returns the username of the user running the script 7. $SECONDS - returns the runtime of the current script 8. $RANDOM - generates a random number (int 0 - 32000) 9. $LINENO - current line of script C. creation of new variables 1. variablename=value # no spaces ever 2. if you do want spaces, they must be escaped by quotes 3. double quotes recommended for variable substitution later 4. for instance varname=“value $1” allows for insertion of other variables into variables whereas varname=’value &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;1&#039;  will not work D. saving output into variables  1. output from programs can be saved into a variable  2. example: curdir=&amp;lt;/math&amp;gt;(pwd) will run pwd and return the standard output as a variable 3. if you want to capture the standard error for a command, it can be saved as &amp;lt;code&amp;gt;error=$(&amp;amp;lt;/tmp/error)&amp;lt;/code&amp;gt; 4. alternative use: curdir=&amp;lt;code&amp;gt;pwd&amp;lt;/code&amp;gt; note the backtics&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# foo.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
# An example script&lt;br /&gt;
cp $1 $2&lt;br /&gt;
#verify it worked&lt;br /&gt;
echo &amp;amp;quot;Details for $2&amp;amp;quot;&lt;br /&gt;
ls -l $2&amp;lt;/pre&amp;gt;&lt;br /&gt;
*handling user input and output can use ‘echo’ to create interactive scripts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# plususer.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
echo -n &#039;Please enter user name for account:&#039;&lt;br /&gt;
read username # this saves the stdin input as username&lt;br /&gt;
read -p &#039;Username&#039; $username # -n no-newline&lt;br /&gt;
echo $username&lt;br /&gt;
read -sp &#039;Password:&#039; password # -s stealth&amp;lt;/pre&amp;gt;&lt;br /&gt;
*scripts can also handle files as standard input like other commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# salesreport.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#a sales report generated from standard input&lt;br /&gt;
echo Data Summary:&lt;br /&gt;
cat /dev/stdin | cut -d &#039; &#039; -F2,3 | sort&amp;lt;/pre&amp;gt;&lt;br /&gt;
*variables can be made global via export&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# script.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
var1=blah&lt;br /&gt;
var2=foo&lt;br /&gt;
echo $0 :: var1 : $var1 , var2 : $var2&lt;br /&gt;
export var1&lt;br /&gt;
exec ./script2&lt;br /&gt;
echo $0 :: var1 : $var1 , var2 : $var2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;script2.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
echo $0 :: var1 : $var1 , var2 : $var2&lt;br /&gt;
var1=flop&lt;br /&gt;
var2=bleh&lt;br /&gt;
echo $0 :: var1 : $var1 , var2 : $var2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;sed---stream-editor&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Sed - Stream EDitor=== &lt;br /&gt;
&lt;br /&gt;
#the sed command uses regular expressions to modify stdin and sends the changes to stdout&lt;br /&gt;
#usage : &amp;lt;code&amp;gt;sed [options] script.txt [inputfile]&amp;lt;/code&amp;gt;&lt;br /&gt;
#some of the commands that can be used in the script portion &lt;br /&gt;
#* &amp;lt;code&amp;gt;=&amp;lt;/code&amp;gt; - display the current line number&lt;br /&gt;
#*&amp;lt;code&amp;gt;a\text&amp;lt;/code&amp;gt; - append text to file&lt;br /&gt;
#*&amp;lt;code&amp;gt;i\text&amp;lt;/code&amp;gt; - insert text to file&lt;br /&gt;
#*&amp;lt;code&amp;gt;r file&amp;lt;/code&amp;gt; - append text from filename into the file&lt;br /&gt;
#*&amp;lt;code&amp;gt;c\text&amp;lt;/code&amp;gt; - replace the selected range with the text&lt;br /&gt;
#* &amp;lt;code&amp;gt;s/2012/2013/&amp;lt;/code&amp;gt; - replace the first occurrence of 2012 on first occurrence on each line&lt;br /&gt;
#* &amp;lt;code&amp;gt;s/2012/2013/g&amp;lt;/code&amp;gt; - replace ’’ ’’ every occurrence on each line&lt;br /&gt;
#examples&lt;br /&gt;
#*&amp;lt;code&amp;gt;sed &#039;s/Nick\|nick/Gary/g&#039; &amp;amp;lt; salaryprojections.txt&amp;lt;/code&amp;gt;&lt;br /&gt;
#*^ this would replace any ‘Nick’ or ‘nick’ with ‘Gary’ at all points in the file&lt;br /&gt;
#*standard replace format: &amp;lt;code&amp;gt;sed &#039;s/^/    /&#039; file.txt &amp;amp;gt; file.new.txt&amp;lt;/code&amp;gt; ### Examining Processes&lt;br /&gt;
#&amp;lt;code&amp;gt;ps&amp;lt;/code&amp;gt; command&lt;br /&gt;
#*The internal Unix command for process control is &amp;lt;code&amp;gt;ps&amp;lt;/code&amp;gt;&lt;br /&gt;
#*By default, &amp;lt;code&amp;gt;ps&amp;lt;/code&amp;gt; reports back what is happening inside of the current terminal/tty;&lt;br /&gt;
#* shows &amp;lt;code&amp;gt;PID&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;TTY&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;TIME&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;CMD&amp;lt;/code&amp;gt;&lt;br /&gt;
#**&amp;lt;code&amp;gt;PID&amp;lt;/code&amp;gt; is the Process ID number for a running program&lt;br /&gt;
#**&amp;lt;code&amp;gt;TTY&amp;lt;/code&amp;gt; is the Teletypewriter device which the process runs from; reports stdout and stderr to this by default&lt;br /&gt;
#**TIME is the cumulative processor time used by the program on Linux&lt;br /&gt;
#*&amp;lt;code&amp;gt;ps&amp;lt;/code&amp;gt; supports traditional Unix options and GNU flags, which can be somewhat confusing&lt;br /&gt;
#*Options for ps &lt;br /&gt;
#**Display all processes running &amp;lt;code&amp;gt;ps -A/-e&amp;lt;/code&amp;gt; both cause all processes on the system to be listed and output is identical&lt;br /&gt;
#** Display processes belonging to a specific user: &amp;lt;code&amp;gt;ps -u user&amp;lt;/code&amp;gt;&lt;br /&gt;
#**Display extra fields as a “full format” &amp;lt;code&amp;gt;ps -f&amp;lt;/code&amp;gt; can be combined with other options &lt;br /&gt;
#***&amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; User ID shows the username of the user running the command&lt;br /&gt;
#***&amp;lt;code&amp;gt;PPID&amp;lt;/code&amp;gt; parent process ID, the process ID of the process that spawned the process&lt;br /&gt;
#***&amp;lt;code&amp;gt;C&amp;lt;/code&amp;gt; processor utilization as % of usage over the lifetime of the process&lt;br /&gt;
#***&amp;lt;code&amp;gt;STIME&amp;lt;/code&amp;gt; start time of the process as per system time (only in 24h clock format if current day; otherwise uses MMDD format)&lt;br /&gt;
#**Display long format &amp;lt;code&amp;gt;ps -l&amp;lt;/code&amp;gt;&lt;br /&gt;
#***&amp;lt;code&amp;gt;F&amp;lt;/code&amp;gt; Flags field&lt;br /&gt;
#****&amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; = no special flags for this process&lt;br /&gt;
#****&amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; = forked process, but did not call exec&lt;br /&gt;
#****&amp;lt;code&amp;gt;4&amp;lt;/code&amp;gt; = executable was executed with superuser privileges&lt;br /&gt;
#***&amp;lt;code&amp;gt;S&amp;lt;/code&amp;gt; State codes&lt;br /&gt;
#****&amp;lt;code&amp;gt;D&amp;lt;/code&amp;gt; Uninterruptible sleep (usually IO)&lt;br /&gt;
#****&amp;lt;code&amp;gt;R&amp;lt;/code&amp;gt; Running or runnable (on run queue)&lt;br /&gt;
#****&amp;lt;code&amp;gt;S&amp;lt;/code&amp;gt; interruptible Sleep (waiting for an event to complete)&lt;br /&gt;
#****&amp;lt;code&amp;gt;T&amp;lt;/code&amp;gt; Stopped, either by a job control signal or because it is being traced.&lt;br /&gt;
#****&amp;lt;code&amp;gt;X&amp;lt;/code&amp;gt; dead (should never be seen)&lt;br /&gt;
#****&amp;lt;code&amp;gt;Z&amp;lt;/code&amp;gt; Defunct (“zombie”) process, terminated but not reaped by its parent.&lt;br /&gt;
#*** &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; uses system number rather than human readable name&lt;br /&gt;
#***&amp;lt;code&amp;gt;PRI&amp;lt;/code&amp;gt; Priority is used by the kernel, rather than in userspace, to determine the next in queue for processing&lt;br /&gt;
#***&amp;lt;code&amp;gt;NI&amp;lt;/code&amp;gt; Niceness of a process describes how accommodating a process is to sharing time on the system.&lt;br /&gt;
#**** This number ranges from +19 to -20, with 0 as the default.&lt;br /&gt;
#**** In the scheduling system, niceness is used to determine how much processing to give to each process when it asks for it.&lt;br /&gt;
#***&amp;lt;code&amp;gt;ADDR&amp;lt;/code&amp;gt; the memory address of the process&lt;br /&gt;
#***&amp;lt;code&amp;gt;SZ&amp;lt;/code&amp;gt; the size of the image in pages&lt;br /&gt;
#****how much virtual memory is in use by the process.&lt;br /&gt;
#****Includes text, data, and stack space&lt;br /&gt;
#****page size is a kernel variable and can be read by &amp;lt;code&amp;gt;getconf PAGE_SIZE&amp;lt;/code&amp;gt;&lt;br /&gt;
#***&amp;lt;code&amp;gt;WCHAN&amp;lt;/code&amp;gt; address of where a function is sleeping (only kernel functions)&lt;br /&gt;
#***&amp;lt;code&amp;gt;RSS&amp;lt;/code&amp;gt; amount of physical memory in use&lt;br /&gt;
#*User-oriented format &amp;lt;code&amp;gt;ps -u&amp;lt;/code&amp;gt; displays information in a more readable manner&lt;br /&gt;
#**&amp;lt;code&amp;gt;%CPU&amp;lt;/code&amp;gt; percent of processor time used by process divided by real time&lt;br /&gt;
#**&amp;lt;code&amp;gt;%MEM&amp;lt;/code&amp;gt; actual percentage of non-reserved physical RAM&lt;br /&gt;
#**&amp;lt;code&amp;gt;VSIZE&amp;lt;/code&amp;gt; virtual memory size used&lt;br /&gt;
#*Virtual memory format &amp;lt;code&amp;gt;ps -v&amp;lt;/code&amp;gt; displays information including number of:&lt;br /&gt;
#**&amp;lt;code&amp;gt;MAJFL&amp;lt;/code&amp;gt; major page faults of the process, indicating times it has used swap space&lt;br /&gt;
#**&amp;lt;code&amp;gt;TRS&amp;lt;/code&amp;gt; physical memory devoted to stack&lt;br /&gt;
#**&amp;lt;code&amp;gt;DRS&amp;lt;/code&amp;gt; physical memory devoted to non-executable code&lt;br /&gt;
#* Recieve a process hierarchy &amp;lt;code&amp;gt;ps -AH&amp;lt;/code&amp;gt; see parent-child relationships visually&lt;br /&gt;
#*Choose your own adventure mode &amp;lt;code&amp;gt;ps -o uid,pid,ppid,command&amp;lt;/code&amp;gt;&lt;br /&gt;
#**this command used to determine certain columns&lt;br /&gt;
#*Piping ps can be piped as per normal to other programs:&lt;br /&gt;
#**Ex; &amp;lt;code&amp;gt;ps -u darseife \| grep bash&amp;lt;/code&amp;gt;&lt;br /&gt;
#**&amp;lt;code&amp;gt;pgrep&amp;lt;/code&amp;gt; is a common utility that behaves similarly to the previous command&lt;br /&gt;
#&amp;lt;code&amp;gt;top&amp;lt;/code&amp;gt;&lt;br /&gt;
#*&amp;lt;code&amp;gt;top&amp;lt;/code&amp;gt; is used to view processes as they execute in real time&lt;br /&gt;
#**&amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt; used to choose update frequency in seconds&lt;br /&gt;
#**&amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt; pid to monitor specifically&lt;br /&gt;
#**&amp;lt;code&amp;gt;-n&amp;lt;/code&amp;gt; run for N iterations&lt;br /&gt;
#**&amp;lt;code&amp;gt;-r&amp;lt;/code&amp;gt; command to renice a process within top&lt;br /&gt;
#**&amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt; to change the update rate within top&lt;br /&gt;
#*&amp;lt;code&amp;gt;htop&amp;lt;/code&amp;gt; can also be used as a next generation to top&lt;br /&gt;
#&amp;lt;code&amp;gt;nice&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;renice&amp;lt;/code&amp;gt;&lt;br /&gt;
#*The &amp;lt;code&amp;gt;nice&amp;lt;/code&amp;gt; command is used to run a command with an adjusted niceness &lt;br /&gt;
#**generally can’t give negative values to programs without superuser access&lt;br /&gt;
#**&amp;lt;code&amp;gt;nice -n 12 ./script.sh&amp;lt;/code&amp;gt; will add 12 to the default priority (0)&lt;br /&gt;
#*&amp;lt;code&amp;gt;renice&amp;lt;/code&amp;gt; is used to adjust niceness of running processes.&lt;br /&gt;
#**&amp;lt;code&amp;gt;renice 0 -p 2772 3562&amp;lt;/code&amp;gt; renices the processes 2772 and 3562 to 0&lt;br /&gt;
#**&amp;lt;code&amp;gt;renice 1 -u darseife&amp;lt;/code&amp;gt; renices the processes of user darsiefe to 1&lt;br /&gt;
#Killing processes&lt;br /&gt;
##&amp;lt;code&amp;gt;kill&amp;lt;/code&amp;gt;&lt;br /&gt;
##*stopping a process currently running &amp;lt;code&amp;gt;-kill -s signal PID&amp;lt;/code&amp;gt;&lt;br /&gt;
##** &amp;lt;code&amp;gt;PID&amp;lt;/code&amp;gt; PID by default, kill sends a signal to a number of process IDs&lt;br /&gt;
##**signal 1 is &amp;lt;code&amp;gt;SIGHUP&amp;lt;/code&amp;gt; terminates interactive programs and causes daemons to reread config files&lt;br /&gt;
##** signal 9 is &amp;lt;code&amp;gt;SIGKILL&amp;lt;/code&amp;gt; stops all processes without performing a graceful exit or shutdown&lt;br /&gt;
##**signal 15 is &amp;lt;code&amp;gt;SIGTERM&amp;lt;/code&amp;gt; asks the process to terminate and to close out open files, run its shutdown script, etc.&lt;br /&gt;
##*&amp;lt;code&amp;gt;kill&amp;lt;/code&amp;gt; will only kill processes owned by the user, unless run with superuser access&lt;br /&gt;
##&amp;lt;code&amp;gt;killall&amp;lt;/code&amp;gt;&lt;br /&gt;
##*kill multiple things&lt;br /&gt;
##*&amp;lt;code&amp;gt;killall vi&amp;lt;/code&amp;gt; kills all running instances of vi for the user; when run as a superuser, this will kill any running instance of vi&lt;br /&gt;
##* &amp;lt;code&amp;gt;killall -s 9 vi&amp;lt;/code&amp;gt; kills all running instances of vi for the user by sending the &amp;lt;code&amp;gt;SIGKILL&amp;lt;/code&amp;gt; signal to it; when run as a superuser, this will kill any running instance of vi.&lt;br /&gt;
##*&amp;lt;code&amp;gt;killall -i vi&amp;lt;/code&amp;gt; uses interactive mode to ask which processes to kill&lt;br /&gt;
##*if you are running killall as root, try to use -i to prevent loss of other people’s work&lt;br /&gt;
#Additional process control&lt;br /&gt;
#*If you are running a program inside of a terminal, &amp;lt;code&amp;gt;[Ctrl + Z]&amp;lt;/code&amp;gt; will pause and go to background&lt;br /&gt;
#**To restart the process, run the command &amp;lt;code&amp;gt;fg&amp;lt;/code&amp;gt; in the same terminal&lt;br /&gt;
#** With multiple processes paused, &amp;lt;code&amp;gt;fg 1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;fg 2&amp;lt;/code&amp;gt; will bring back process 1 or 2&lt;br /&gt;
#*Processes can be started in the background with &amp;amp;amp; at the end of the line; unlike paused processes, these will continue to run.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;linux-time-and-scheduling&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Linux Time and Scheduling===&lt;br /&gt;
&lt;br /&gt;
#Overview&lt;br /&gt;
#*Computer systems in general rely on a pair of clocks to operate&lt;br /&gt;
#*Two clocks&lt;br /&gt;
#**&#039;&#039;&#039;Hardware clock&#039;&#039;&#039; - initialized in BIOS/UEFI and kept updated via battery while computer is off&lt;br /&gt;
#**&#039;&#039;&#039;Software clock&#039;&#039;&#039; - initialized at boot from BIOS/UEFI time, and is used to track time while running&lt;br /&gt;
#* Typically, the clock of the computer is set using coordinated universal time (UTC)&lt;br /&gt;
#**adjusted for use based on timezones and localization settings like DST before entering userspace&lt;br /&gt;
#*Both the hardware clock and the software clock are not terribly reliable and tends to drift over time&lt;br /&gt;
#*This can be a problem on x86_64 systems in general because many network services rely on accurate timekeeping&lt;br /&gt;
#*This is made worse when having hundreds or thousands of servers requesting time from a single source could be bad&lt;br /&gt;
#Unix Time Commands&lt;br /&gt;
#*&amp;lt;code&amp;gt;date&amp;lt;/code&amp;gt; outputs the current software clock time&lt;br /&gt;
#*&amp;lt;code&amp;gt;date -u&amp;lt;/code&amp;gt; outputs the UTC time&lt;br /&gt;
#*&amp;lt;code&amp;gt;date 102715022019&amp;lt;/code&amp;gt; sets the time to exactly Oct 27, 15:02, 2019 in local time&lt;br /&gt;
#* &amp;lt;code&amp;gt;hwclock&amp;lt;/code&amp;gt; used to retrieve the value of the hardware clock; must be done as root&lt;br /&gt;
#*setting the hardware clock&lt;br /&gt;
#** &amp;lt;code&amp;gt;hwclock --set--date 102715022019&amp;lt;/code&amp;gt; is a manual set&lt;br /&gt;
#**&amp;lt;code&amp;gt;hwclock -hctosys&amp;lt;/code&amp;gt; set the hardware clock to the system clock&lt;br /&gt;
#**&amp;lt;code&amp;gt;hwclock --synctohc&amp;lt;/code&amp;gt; synchronizes system clock to hardware&lt;br /&gt;
#*these are called by daemons and init on startup and shutdown&lt;br /&gt;
#*both the system time and the hardware clock still suck and need a replacement&lt;br /&gt;
#&amp;lt;code&amp;gt;NTP&amp;lt;/code&amp;gt; Network Time Protocol&lt;br /&gt;
#*NTP relies on a tree of servers (each level is called a stratum) from a hardware atomic clock server&lt;br /&gt;
#*The further down the tree you are the less accurate the time is.&lt;br /&gt;
#*One NTP server requesting time from a center will exchange packet via timestamp and the delay between communications is estimated&lt;br /&gt;
#*It is best to pick NTP servers with a short delay&lt;br /&gt;
#*Typically, a cluster of computer is requested from a local time server, which in turn is the only computer requesting times outside of the network&lt;br /&gt;
#&amp;lt;code&amp;gt;timesyncd&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Traditionally, &amp;lt;code&amp;gt;ntpd&amp;lt;/code&amp;gt; is the daemon that has provided client time synchronization&lt;br /&gt;
#* Newer versions of Ubuntu use a service called &amp;lt;code&amp;gt;timesyncd&amp;lt;/code&amp;gt;&lt;br /&gt;
#**uses a slightly different protocol than NTP, called &amp;lt;code&amp;gt;SNTP&amp;lt;/code&amp;gt; (simplified network time protocol)&lt;br /&gt;
#**configuration information is at &amp;lt;code&amp;gt;/etc/systemd/timesyncd.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
#**&amp;lt;code&amp;gt;timedatectl&amp;lt;/code&amp;gt; is a way to view the current SNTP settings&lt;br /&gt;
#*also more information related to this accessible with &amp;lt;code&amp;gt;sudo systemctl status systemd-timesyncd&amp;lt;/code&amp;gt;&lt;br /&gt;
#Running jobs in the future: &amp;lt;code&amp;gt;cron&amp;lt;/code&amp;gt;&lt;br /&gt;
#*&amp;lt;code&amp;gt;cron&amp;lt;/code&amp;gt; like timesyncd or ntpd, cron is a daemon that runs continuously and looks for events to cause it to spring into action&lt;br /&gt;
#*Most daemons are network services, but cron responds to temporal events&lt;br /&gt;
#*A cron daemon wakes up once per minute, and examines its config files in:&lt;br /&gt;
#**&amp;lt;code&amp;gt;/var/spool/cron/&amp;lt;/code&amp;gt;&lt;br /&gt;
#**&amp;lt;code&amp;gt;/etc/cron.d/&amp;lt;/code&amp;gt;&lt;br /&gt;
#**&amp;lt;code&amp;gt;/etc/crontab&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Executes command specified:&lt;br /&gt;
#**System jobs - run as root, and perform system maintenance tasks (rotate logs, clean out &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt;, remove old files, update system)&lt;br /&gt;
#**User jobs - run jobs in the future for users&lt;br /&gt;
#*&amp;lt;code&amp;gt;/etc/crontab&amp;lt;/code&amp;gt;&lt;br /&gt;
#** System cronjobs are controlled by this file&lt;br /&gt;
#**Normally, begins with environment variable configuration, then several lines like:&lt;br /&gt;
#***On a typical system &amp;lt;code&amp;gt;02 4 * * * root run-parts /etc/cron.daily&amp;lt;/code&amp;gt;&lt;br /&gt;
#***On Ubuntu Desktop &amp;lt;code&amp;gt;25 6 * * * root test -x /usr/sbin/anacron || cd / &amp;amp;amp;&amp;amp;amp; run-parts --report /etc/cron.daily&amp;lt;/code&amp;gt;&lt;br /&gt;
#**Fields for cron, in order&lt;br /&gt;
#**#the minute of the hour&lt;br /&gt;
#**#the hour of the day&lt;br /&gt;
#**#day of the month&lt;br /&gt;
#**#month of the year&lt;br /&gt;
#**#day of the week&lt;br /&gt;
#** different scripts for items are run from:&lt;br /&gt;
#***&amp;lt;code&amp;gt;/etc/cron.daily&amp;lt;/code&amp;gt;&lt;br /&gt;
#***&amp;lt;code&amp;gt;/etc/cron.weekly&amp;lt;/code&amp;gt;&lt;br /&gt;
#***&amp;lt;code&amp;gt;/etc/cron.monthly&amp;lt;/code&amp;gt;&lt;br /&gt;
#&amp;lt;code&amp;gt;anacron&amp;lt;/code&amp;gt; a specific implementation of cron&lt;br /&gt;
#*&amp;lt;code&amp;gt;anacron&amp;lt;/code&amp;gt; is not intended to be a replacement for cron, it is a supplement&lt;br /&gt;
#*cron works great on systems that are &#039;&#039;always on&#039;&#039;&lt;br /&gt;
#* &amp;lt;code&amp;gt;anacron&amp;lt;/code&amp;gt; is smart in that it can tell if things are run&lt;br /&gt;
#**if things are missed, it plays catchup&lt;br /&gt;
#**light-night log rotation, for example, might never run&lt;br /&gt;
#**anacron is intended to address this&lt;br /&gt;
#***when run it checks to see when it last executed each program&lt;br /&gt;
#***if a period greater than the programs interval has passed, the program gets run by anacron&lt;br /&gt;
#** config file &amp;lt;code&amp;gt;/etc/anacrontab&amp;lt;/code&amp;gt;&lt;br /&gt;
#***format: &amp;lt;code&amp;gt;1 5 cron.daily run-parts --report /etc/cron.daily&amp;lt;/code&amp;gt;&lt;br /&gt;
#****first column: delay in minutes&lt;br /&gt;
#****second column: frequency in days&lt;br /&gt;
#&amp;lt;code&amp;gt;crontab&amp;lt;/code&amp;gt; edit cronjobs for users&lt;br /&gt;
#*cron jobs for the system are under &amp;lt;code&amp;gt;/etc/&amp;lt;/code&amp;gt; but user ones are kept in &amp;lt;code&amp;gt;/var&amp;lt;/code&amp;gt;&lt;br /&gt;
#*&amp;lt;code&amp;gt;crontab -e&amp;lt;/code&amp;gt; edit your user cronfile&lt;br /&gt;
#*root can edit other users with &amp;lt;code&amp;gt;crontab -u username -e&amp;lt;/code&amp;gt;&lt;br /&gt;
#*&amp;lt;code&amp;gt;/etc/cron.allow&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/etc/cron.deny&amp;lt;/code&amp;gt; exist for whitelisting or blacklisting users from using &amp;lt;code&amp;gt;cron&amp;lt;/code&amp;gt;&lt;br /&gt;
#**an empty &amp;lt;code&amp;gt;/etc/cron.deny&amp;lt;/code&amp;gt; allows ALL USERS if present&lt;br /&gt;
#**an empty &amp;lt;code&amp;gt;/etc/cron.allow&amp;lt;/code&amp;gt; blocks ALL USERS if present&lt;br /&gt;
#*if neither of these exist, then only root may use &amp;lt;code&amp;gt;cron&amp;lt;/code&amp;gt;&lt;br /&gt;
#&amp;lt;code&amp;gt;at&amp;lt;/code&amp;gt; a handy simple task timer&lt;br /&gt;
#*cron and anacron can be overkill for simple tasks that need to be done once&lt;br /&gt;
#*example:&lt;br /&gt;
#**&amp;lt;code&amp;gt;at 5am Oct 31&amp;lt;/code&amp;gt;&lt;br /&gt;
#**&amp;lt;code&amp;gt;at&amp;amp;gt; /home/darren/run-backup.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
#**&amp;lt;code&amp;gt;at&amp;amp;gt; echo &amp;amp;quot;job done&amp;amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
#**&amp;lt;code&amp;gt;at&amp;amp;gt; mail -s &amp;amp;quot;backup job finished&amp;amp;quot; root&amp;lt;/code&amp;gt;&lt;br /&gt;
#**&amp;lt;code&amp;gt;at&amp;amp;gt;&amp;lt;/code&amp;gt; &#039;&#039;&#039;ctrl+d&#039;&#039;&#039; to finish&lt;br /&gt;
#*&amp;lt;code&amp;gt;at now +1 hour&amp;lt;/code&amp;gt; will run 1 hour from now relative to current system time&lt;br /&gt;
#* other examples:&lt;br /&gt;
#*#&amp;lt;code&amp;gt;at midnight&amp;lt;/code&amp;gt;&lt;br /&gt;
#*# &amp;lt;code&amp;gt;at noon&amp;lt;/code&amp;gt;&lt;br /&gt;
#*#&amp;lt;code&amp;gt;at teatime&amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt;aterm&amp;lt;/code&amp;gt; to remove an upcoming command&lt;br /&gt;
#* &amp;lt;code&amp;gt;atq&amp;lt;/code&amp;gt; used to list pending commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;log-files&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Log Files===&lt;br /&gt;
&lt;br /&gt;
#Intro&lt;br /&gt;
#*Linux machines log files that record key details about system operation and are typically stored in &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Logging on Linux system is generally performed by the syslog daemon, &amp;lt;code&amp;gt;syslogd&amp;lt;/code&amp;gt; &lt;br /&gt;
#**However, some daemons and programs perform logging independently of syslog&lt;br /&gt;
#*Logging on Linux can be done locally to the computer, but in a networked environment, logs may be sent to a central logging server and by email&lt;br /&gt;
#*Logging is a security action and is typically a part of the system worth hardening because it is exploitable by an attacker to hide their break-in&lt;br /&gt;
#* Logs should be rotated, aka moved out of the system, to prevent &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; from being filled completely&lt;br /&gt;
#&amp;lt;code&amp;gt;syslog&amp;lt;/code&amp;gt;&lt;br /&gt;
#*The basic idea of a system logger is to provide a unified means of a handling log files&lt;br /&gt;
#*The daemon runs in the background and and accepts data delivered from servers and other programs&lt;br /&gt;
#*Once the log daemon receives a message, it is classified and directed to an appropriate file&lt;br /&gt;
#*&amp;lt;code&amp;gt;syslogd&amp;lt;/code&amp;gt; might be managing several services at the same time and providing different rule-based logging based on priority of the messages received&lt;br /&gt;
#*&amp;lt;code&amp;gt;syslogd&amp;lt;/code&amp;gt; relies on the config file &amp;lt;code&amp;gt;/etc/syslog.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
#**Ubuntu uses &amp;lt;code&amp;gt;/etc/rsyslog.conf&amp;lt;/code&amp;gt; for rocket-fast syslog&lt;br /&gt;
#**the configuration file supports a ruleset, located at &amp;lt;code&amp;gt;/etc/rsyslog.d/&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/etc/syslog.d/&amp;lt;/code&amp;gt; respectively&lt;br /&gt;
#**standard logging is done by daemon, with the format &amp;lt;code&amp;gt;facility.priority action&amp;lt;/code&amp;gt;&lt;br /&gt;
#***example: &amp;lt;code&amp;gt;mail.* /var/log/mail.log&amp;lt;/code&amp;gt;&lt;br /&gt;
#**facility parameter is the name of the type of program the daemon that generates messages to be logged &lt;br /&gt;
#**#&amp;lt;code&amp;gt;auth/priv&amp;lt;/code&amp;gt; security messages&lt;br /&gt;
#**#&amp;lt;code&amp;gt;cron&amp;lt;/code&amp;gt; from the cron daemon&lt;br /&gt;
#**#&amp;lt;code&amp;gt;daemon&amp;lt;/code&amp;gt; catch-all for various systems servers&lt;br /&gt;
#**#&amp;lt;code&amp;gt;kern&amp;lt;/code&amp;gt; kernel messages&lt;br /&gt;
#**#&amp;lt;code&amp;gt;lpr&amp;lt;/code&amp;gt; printer and CUPS messages&lt;br /&gt;
#**#&amp;lt;code&amp;gt;mail&amp;lt;/code&amp;gt; mail subsystems&lt;br /&gt;
#**#&amp;lt;code&amp;gt;news&amp;lt;/code&amp;gt; oldschool newsgroups&lt;br /&gt;
#**#&amp;lt;code&amp;gt;syslog&amp;lt;/code&amp;gt; internally generated messages&lt;br /&gt;
#**#&amp;lt;code&amp;gt;uucp&amp;lt;/code&amp;gt; unix-to-unix copy daemon&lt;br /&gt;
#**#&amp;lt;code&amp;gt;local[0-7]&amp;lt;/code&amp;gt; predefined facilities for custom configurations&lt;br /&gt;
#** priority parameters include:&lt;br /&gt;
#*** &amp;lt;code&amp;gt;deb&amp;lt;/code&amp;gt; debugging messages&lt;br /&gt;
#*** &amp;lt;code&amp;gt;info&amp;lt;/code&amp;gt; normal operations&lt;br /&gt;
#*** &amp;lt;code&amp;gt;notice&amp;lt;/code&amp;gt; abnormalities that do not effect functionality&lt;br /&gt;
#***&amp;lt;code&amp;gt;warn&amp;lt;/code&amp;gt; tells that an error will occur is action is not taken&lt;br /&gt;
#***&amp;lt;code&amp;gt;err&amp;lt;/code&amp;gt; standard error for the daemon, non-urgent failure of the daemon causing an error message&lt;br /&gt;
#***&amp;lt;code&amp;gt;crit&amp;lt;/code&amp;gt; critical error causing a secondary system to fail urgently&lt;br /&gt;
#***&amp;lt;code&amp;gt;alert&amp;lt;/code&amp;gt; critical error causing a primary system to fail urgently&lt;br /&gt;
#***&amp;lt;code&amp;gt;emerg&amp;lt;/code&amp;gt; Panic message - system unusable&lt;br /&gt;
#**the action parameter is a file or location on the network that will accept the message &lt;br /&gt;
#***could be a file in &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt;&lt;br /&gt;
#***could also be a tty: &amp;lt;code&amp;gt;/dev/tty8&amp;lt;/code&amp;gt;&lt;br /&gt;
#***could also be a computer on the network: &amp;lt;code&amp;gt;@logger.ndus.edu&amp;lt;/code&amp;gt;&lt;br /&gt;
#*When a program sends a message to the system logger, it includes the priority: the message is only logged if it is of a certain level or higher&lt;br /&gt;
#**Exceptions:&lt;br /&gt;
#***&amp;lt;code&amp;gt;*&amp;lt;/code&amp;gt; all codes&lt;br /&gt;
#***= &amp;lt;code&amp;gt;(mail.=crit)&amp;lt;/code&amp;gt; applies to this priority only&lt;br /&gt;
#**You can also specify multiple facilities with the same priority by using a comma&lt;br /&gt;
#**Multiple facilities separated by commas followed by a priority all follow the same priority&lt;br /&gt;
#**A semicolon is used to specify a number of logging priorities &amp;lt;code&amp;gt;kern.info;kern.err&amp;lt;/code&amp;gt; everything between info and error&lt;br /&gt;
#&amp;lt;code&amp;gt;logger&amp;lt;/code&amp;gt; - logging something else&lt;br /&gt;
#*The &amp;lt;code&amp;gt;logger&amp;lt;/code&amp;gt; command allows a user to log something else other than established facilities&lt;br /&gt;
#*&amp;lt;code&amp;gt;logger shutting down for system maintenance&amp;lt;/code&amp;gt;&lt;br /&gt;
#**will log to &amp;lt;code&amp;gt;/var/log/syslog&amp;lt;/code&amp;gt; as &amp;lt;code&amp;gt;Nov 6 15:50:00 darseife-virtualbox darseife: shutting down for system maintenance&amp;lt;/code&amp;gt;&lt;br /&gt;
#*&amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt; records the PID of the logger process when run (useful when run from script)&lt;br /&gt;
#*&amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt; print the log message to standard error in addition to logging&lt;br /&gt;
#* &amp;lt;code&amp;gt;-f /foo&amp;lt;/code&amp;gt; logs to &amp;lt;code&amp;gt;/foo&amp;lt;/code&amp;gt; instead of the system log&lt;br /&gt;
#*&amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt; specify both a facility and a priority for the system log message; &amp;lt;code&amp;gt;-p local3.info&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;firewalling&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Firewalling===&lt;br /&gt;
&lt;br /&gt;
#TCP Wrappers&lt;br /&gt;
#*TCP wrappers depend on two config files to work properly; these are &amp;lt;code&amp;gt;/etc/hosts.allow&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/etc/hosts.deny&amp;lt;/code&amp;gt;&lt;br /&gt;
#*the most common config for these is default &amp;lt;code&amp;gt;deny&amp;lt;/code&amp;gt;&lt;br /&gt;
#**&amp;lt;code&amp;gt;ALL:ALL&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;/etc/hosts.deny&amp;lt;/code&amp;gt;&lt;br /&gt;
#**&amp;lt;code&amp;gt;ALL:127.0 [::1]&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;/etc/hosts.allow&amp;lt;/code&amp;gt;&lt;br /&gt;
#**specific services from a specific host enabled as the form &amp;lt;code&amp;gt;sshd:192.168.X.Y&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;/etc/hosts.allow&amp;lt;/code&amp;gt;&lt;br /&gt;
#**all services from a domain as &amp;lt;code&amp;gt;ALL:.minotstateu.edu&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;/etc/hosts.allow&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Also used is specific allow&lt;br /&gt;
#**nothing is listed in &amp;lt;code&amp;gt;/etc/hosts.allow&amp;lt;/code&amp;gt;&lt;br /&gt;
#**specifically removed IP addresses in the form &amp;lt;code&amp;gt;ALL:165.234.X.Y&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;/etc/hosts.deny&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Secondary service-level blocking can be used to apply rules to services in the form &amp;lt;code&amp;gt;/etc/sshd.hosts&amp;lt;/code&amp;gt;&lt;br /&gt;
#&amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt;&lt;br /&gt;
#*&amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt; is the kernel level netfilter firewall&lt;br /&gt;
#*&amp;lt;code&amp;gt;iptables -L&amp;lt;/code&amp;gt; lists the current ruleset&lt;br /&gt;
#*&amp;lt;code&amp;gt;iptables -A&amp;lt;/code&amp;gt; is used to APPEND new rules to a chain (takes a chain name)&lt;br /&gt;
#*&amp;lt;code&amp;gt;iptables -I&amp;lt;/code&amp;gt; inserts a rule (takes a chain name and a position)&lt;br /&gt;
#**example &amp;lt;code&amp;gt;iptables -A INPUT -ptcp -dport ssh -j ACCEPT&amp;lt;/code&amp;gt;&lt;br /&gt;
#*rule options&lt;br /&gt;
#**&amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt; the protocol used&lt;br /&gt;
#**&amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt; the destination port, can accept a range of port&lt;br /&gt;
#**&amp;lt;code&amp;gt;-j&amp;lt;/code&amp;gt; the action to take, includes ACCEPT, DENY, DROP&lt;br /&gt;
#**&amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt; specify a source address, can be either &amp;lt;code&amp;gt;192.168.0.1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;192.168.0.0/24&amp;lt;/code&amp;gt;&lt;br /&gt;
#**&amp;lt;code&amp;gt;-m&amp;lt;/code&amp;gt; require the rule to match a specific property&lt;br /&gt;
#***ex &amp;lt;code&amp;gt;iptables -m conntrack&amp;lt;/code&amp;gt; allows filter rule to match based on connection state&lt;br /&gt;
#**&amp;lt;code&amp;gt;--ctstate&amp;lt;/code&amp;gt; define a list of connection states for the rule to match on&lt;br /&gt;
#**#NEW - new connections&lt;br /&gt;
#**#RELATED - new but related to a previous on&lt;br /&gt;
#**#ESTABLISHED - a preexisting connection already in progress&lt;br /&gt;
#**# INVALID - any malformed traffic or unidentified traffic&lt;br /&gt;
#**&amp;lt;code&amp;gt;-j&amp;lt;/code&amp;gt; tells iptable what to do with the packet given the rule&lt;br /&gt;
#***ACCEPT - routes as normal as per IP header&lt;br /&gt;
#***DROP - kills the packet without giving reply&lt;br /&gt;
#***REJECT - sends an explicit error message&lt;br /&gt;
# Uncomplicated Firewall (ufw)&lt;br /&gt;
#*&amp;lt;code&amp;gt;ufw enable&amp;lt;/code&amp;gt; to turn on ufw&lt;br /&gt;
#*&amp;lt;code&amp;gt;ufw disable&amp;lt;/code&amp;gt; to turn off ufw&lt;br /&gt;
#*&amp;lt;code&amp;gt;ufw status&amp;lt;/code&amp;gt; view current rules for ufw&lt;br /&gt;
#*&amp;lt;code&amp;gt;ufw status verbose&amp;lt;/code&amp;gt; reports logging level + access levels for each rule&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw allow 80/tcp&amp;lt;/code&amp;gt; sets a rule to allow tcp packets on port 80&lt;br /&gt;
#*&amp;lt;code&amp;gt;ufw deny 22/udp&amp;lt;/code&amp;gt; sets a rule to reject udp packets on port 22&lt;br /&gt;
#*&amp;lt;code&amp;gt;ufw deny ssh&amp;lt;/code&amp;gt; sets a rule to reject all ssh protocol packets&lt;br /&gt;
#*&amp;lt;code&amp;gt;ufw allow 6000-6007/tcp&amp;lt;/code&amp;gt; sets a rule with a range to allow tcp packets from 6000-6007&lt;br /&gt;
#*&amp;lt;code&amp;gt;ufw allow from 15.15.15.1 to any&amp;lt;/code&amp;gt; sets a rule allowing all traffic from 15.15.15.1&lt;br /&gt;
#*&amp;lt;code&amp;gt;ufw status numbered&amp;lt;/code&amp;gt; returns a numbered list of rules in the set&lt;br /&gt;
#*&amp;lt;code&amp;gt;ufw delete 2&amp;lt;/code&amp;gt; removes rule number 2 in a list&lt;br /&gt;
#*&amp;lt;code&amp;gt;ufw logging {on/off}&amp;lt;/code&amp;gt; turns the logging on or off; usually caught by syslogd/rsyslog; logging is set to &amp;lt;code&amp;gt;low&amp;lt;/code&amp;gt; by default&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw logging {low/medium/high/full&amp;lt;/code&amp;gt; sets logging verbosity of ufw;&lt;br /&gt;
#**note that logging is rate limited at &amp;lt;code&amp;gt;medium&amp;lt;/code&amp;gt; and not rate limited at &amp;lt;code&amp;gt;high&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;bootinitialization&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Boot/Initialization===&lt;br /&gt;
&lt;br /&gt;
# Slackware - SysV Init&lt;br /&gt;
#*System 5 style rc script via &amp;lt;code&amp;gt;init&amp;lt;/code&amp;gt;&lt;br /&gt;
#*&amp;lt;code&amp;gt;PID 1&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;init&amp;lt;/code&amp;gt; which is the process that starts all other processes when the system boots&lt;br /&gt;
#* &amp;lt;code&amp;gt;init&amp;lt;/code&amp;gt; is responsible for processing &amp;lt;code&amp;gt;/etc/inittab&amp;lt;/code&amp;gt; to see how to start the system and at what runlevel&lt;br /&gt;
#*Things &amp;lt;code&amp;gt;init&amp;lt;/code&amp;gt; does&lt;br /&gt;
#**Runs the script &amp;lt;code&amp;gt;/etc/rc.d/rc.s&amp;lt;/code&amp;gt; to determine to prepare the system before loading to the desired runlevel&lt;br /&gt;
#**Enables virtual memory for the system and mounts filesystems in &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt;&lt;br /&gt;
#**Loads kernel modules&lt;br /&gt;
#**Near the end of the script &amp;lt;code&amp;gt;rc.s&amp;lt;/code&amp;gt;, init will run scripts related to the runlevel the system is entering -for example, &amp;lt;code&amp;gt;rc3.d&amp;lt;/code&amp;gt; is run at runlevel 3&lt;br /&gt;
#SystemD&lt;br /&gt;
#*Ubuntu, CentOS, RedHat, and others have moved from SysV init process to the SystemD initialization process&lt;br /&gt;
#*Rather than running many shell scripts during init, the systemD process uses one monolithic program to control startup of services&lt;br /&gt;
#*The way the services are started are controlled by a configuration file&lt;br /&gt;
#*systemd uses &#039;&#039;units&#039;&#039; and &#039;&#039;targets&#039;&#039; rather than scripts and runlevels &lt;br /&gt;
#**there are 11 different types of units:&lt;br /&gt;
#***&amp;lt;code&amp;gt;mount&amp;lt;/code&amp;gt; unit defines a mountpoint on the system named with the mount path with slashes replaced as dashes&lt;br /&gt;
#***&amp;lt;code&amp;gt;swapspace&amp;lt;/code&amp;gt;&lt;br /&gt;
#***&amp;lt;code&amp;gt;device&amp;lt;/code&amp;gt; a device in the linux device tree&lt;br /&gt;
#***&amp;lt;code&amp;gt;socket&amp;lt;/code&amp;gt; fifo pipe to an internet port with an associated service&lt;br /&gt;
#*** &amp;lt;code&amp;gt;service&amp;lt;/code&amp;gt; a service or application on the system&lt;br /&gt;
#**targets are used to stop and start the service and group units together&lt;br /&gt;
#**systemd identifies units by name and type&lt;br /&gt;
#***example ssh could have an ssh.service and an ssh.socket&lt;br /&gt;
#*&amp;lt;code&amp;gt;systemctl&amp;lt;/code&amp;gt; - can list current units loaded on the system&lt;br /&gt;
#*config files - &amp;lt;code&amp;gt;/lib/systemd/system&amp;lt;/code&amp;gt;&lt;br /&gt;
#*modify how a unit functions - &amp;lt;code&amp;gt;/etc/systemd/system&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=VASP_and_VMD_on_CCAST&amp;diff=130</id>
		<title>VASP and VMD on CCAST</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=VASP_and_VMD_on_CCAST&amp;diff=130"/>
		<updated>2022-10-21T17:48:48Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&#039;&#039;&#039;Misc. Tools&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cd foldername&lt;br /&gt;
| lets you go into a folder&lt;br /&gt;
|-&lt;br /&gt;
| cd ..&lt;br /&gt;
| Backs you out of folder you are in&lt;br /&gt;
|-&lt;br /&gt;
| cd -&lt;br /&gt;
| Goes back to previous directory&lt;br /&gt;
|-&lt;br /&gt;
| cd ~&lt;br /&gt;
| Goes to home directory&lt;br /&gt;
|-&lt;br /&gt;
| freenodes&lt;br /&gt;
| in ccast&lt;br /&gt;
|-&lt;br /&gt;
| vi filename&lt;br /&gt;
| Lets you go into file to edit&lt;br /&gt;
|-&lt;br /&gt;
| i&lt;br /&gt;
| When in “vi” this initiates the editing&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| This lets you stop editing&lt;br /&gt;
|-&lt;br /&gt;
| “Ctrl+c” press on keyboard, not a typing thing&lt;br /&gt;
| Lets you stop any current running process&lt;br /&gt;
|-&lt;br /&gt;
| pwd&lt;br /&gt;
| Gives you current directory location&lt;br /&gt;
|-&lt;br /&gt;
| wc&lt;br /&gt;
| Word count: The 1st number shows number of lines present in file. 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; number of words present in file. 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; column shows number of characters present in file. 4&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; number is the file name which is given as an argument.&lt;br /&gt;
|-&lt;br /&gt;
| ls&lt;br /&gt;
| Lists what is in the current directory&lt;br /&gt;
|-&lt;br /&gt;
| ls -lt&lt;br /&gt;
| Lists what is in the current directory sorting from newest to oldest&lt;br /&gt;
|-&lt;br /&gt;
| ls –lt W*&lt;br /&gt;
| Lists everything that starts with a W sorting from newest to oldest. (Can be used for other letters as well)&lt;br /&gt;
|-&lt;br /&gt;
| ls -lisanh&lt;br /&gt;
| gives information on the files in whole directory&lt;br /&gt;
|-&lt;br /&gt;
| ls -lisanh filename&lt;br /&gt;
| gives information on the specific file&lt;br /&gt;
|-&lt;br /&gt;
| ls -lisan&lt;br /&gt;
| gives information on the files in whole directory&lt;br /&gt;
|-&lt;br /&gt;
| ls -lisan filename&lt;br /&gt;
| gives information on the specific file&lt;br /&gt;
|-&lt;br /&gt;
| ls -a&lt;br /&gt;
| shows all files, including hidden ones&lt;br /&gt;
|-&lt;br /&gt;
| babel –ixyz file.xyz –opdb file.pdb xyz to pdb&lt;br /&gt;
|&lt;br /&gt;
Using babel, converts the input file of .xyz to outputfile of .pdb&lt;br /&gt;
&lt;br /&gt;
That is where the –ixyz and –opdb comes from&lt;br /&gt;
|-&lt;br /&gt;
| “shift+alt+left click”&lt;br /&gt;
| For slecting just comlumn or just row information you want exactly&lt;br /&gt;
|-&lt;br /&gt;
| egrep &#039;163|166&#039; OS_STRENGTH&lt;br /&gt;
| grep technique&lt;br /&gt;
|-&lt;br /&gt;
| more filename&lt;br /&gt;
| Lets you see what is in the file&lt;br /&gt;
|-&lt;br /&gt;
| more ~/bin/filename&lt;br /&gt;
| Lets you see the file in a location not in your current directory.&lt;br /&gt;
|-&lt;br /&gt;
| more filename | grep ### or value | grep again if desired&lt;br /&gt;
| shows file and grabs lines with same input you put after the grep command&lt;br /&gt;
|-&lt;br /&gt;
| cp /Location/filename .&lt;br /&gt;
| Copies a file from a different directory location and input it into the current directory. Don’t forget the PERIOD!&lt;br /&gt;
|-&lt;br /&gt;
| P /Location/filename ./newfilename&lt;br /&gt;
| Copies a file from a different directory location and input it into the current directory and rename it in one step&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/filename .&lt;br /&gt;
| Takes file from different SERVER/ACCOUNT. You must be in the destination directory you want the files to go to when typing this line&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/* .&lt;br /&gt;
| Takes ALL files from different SERVER/ACCOUNT. You must be in the destination directory you want the files to go to when typing this line&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/*.filetype .&lt;br /&gt;
| Takes ALL files with that specific file type from different SERVER/ACCOUNT. You must be in the destination directory you want the files to go to when typing this line&lt;br /&gt;
|-&lt;br /&gt;
| scp * destinationUser:/destinationLocation&lt;br /&gt;
| Sends all files from source directory to destination directory. Must be in source directory when typing this line&lt;br /&gt;
|-&lt;br /&gt;
| scp * username@photon.chem.ndsu.nodak.edu:/scratch001/Chem_476/CHEM676_2019/username/DIMER/DIMabsorptionspec&lt;br /&gt;
| Example of scp&lt;br /&gt;
|-&lt;br /&gt;
| sbatch corifilename&lt;br /&gt;
| Lets you submit a file in cori using a corifile made by others&lt;br /&gt;
|-&lt;br /&gt;
| grep specificdetail filename&lt;br /&gt;
| Grabs the specific detail from the file you chose&lt;br /&gt;
|-&lt;br /&gt;
| sort -n -r filename&lt;br /&gt;
| sorts the file in ascending order&lt;br /&gt;
|-&lt;br /&gt;
| babel BondLength.xyz -O out.xyz --separate&lt;br /&gt;
| THIS IS CORRECT WAY THE SEP WORD IS SPELLED INCORRECTLY BUT IS CORRECT FOR BABEL&lt;br /&gt;
|-&lt;br /&gt;
| awk &#039;{ if($4 &amp;amp;gt;= 4.0000 &amp;amp;amp;&amp;amp;amp; $4&amp;amp;lt;=5.0000) print }&#039; OS_STRENGTH1&lt;br /&gt;
| lets you get lines of data that contain the range from 4-5 from column 4&lt;br /&gt;
|-&lt;br /&gt;
| users&lt;br /&gt;
| lets you see what users are on&lt;br /&gt;
|-&lt;br /&gt;
| clear&lt;br /&gt;
| lets you clear screen&lt;br /&gt;
|-&lt;br /&gt;
| who&lt;br /&gt;
| who is on and more detail about them&lt;br /&gt;
|-&lt;br /&gt;
| w&lt;br /&gt;
| all the people and differing details about them&lt;br /&gt;
|-&lt;br /&gt;
| id&lt;br /&gt;
| lets me see what groups I am in&lt;br /&gt;
|-&lt;br /&gt;
| freenodes&lt;br /&gt;
| lets you see if nodes are available or not&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6335cce9234bc4ef.png|439x225px]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| pbsnodes –avSj | sort -n&lt;br /&gt;
| shows available nodes, the | sorts it into order&lt;br /&gt;
|-&lt;br /&gt;
| pbsnodes –avSj | sort –n | more&lt;br /&gt;
| does this in page format rather than all at once&lt;br /&gt;
|-&lt;br /&gt;
| module avail&lt;br /&gt;
| what software is available&lt;br /&gt;
|-&lt;br /&gt;
| $HOME&lt;br /&gt;
| lets you go to your login directory “home” directory&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
thunder.ccast.ndsu.edu&lt;br /&gt;
&lt;br /&gt;
meade.erickson&lt;br /&gt;
| to get into putty&lt;br /&gt;
|-&lt;br /&gt;
| C:\Users\meade.erickson\Documents\OriginLab\User Files\&lt;br /&gt;
| Origin themes location&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Explanations&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| fermi&lt;br /&gt;
| fermi energy is referring to the energy difference between the highest and lowest occupied single-particle states. ([https://en.wikipedia.org/wiki/Fermi_energy &amp;lt;u&amp;gt;https://en.wikipedia.org/wiki/Fermi_energy&amp;lt;/u&amp;gt;])&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Explanations Input Files:&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| INCAR&lt;br /&gt;
| It is the central input file of VASP. It determines &amp;amp;quot;what to do and how to do it&amp;amp;quot;. ([https://www.vasp.at/wiki/index.php/INCAR &amp;lt;u&amp;gt;https://www.vasp.at/wiki/index.php/INCAR&amp;lt;/u&amp;gt;])&lt;br /&gt;
|-&lt;br /&gt;
| POSCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| POTCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| KPOINTS&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Explanations Output Files:&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| CONTCAR&lt;br /&gt;
|&lt;br /&gt;
Contains actual coordinates, velocities, and predictor corrector coordinates. 1&amp;lt;sup&amp;gt;st&amp;lt;/sup&amp;gt; block is lattice parameters and atom coordinates. 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; block Initial Velocites for atoms. 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; block Predictor-corrector coordinates.&lt;br /&gt;
&lt;br /&gt;
Written at end of each job. Used as the POSCAR file for next MD job.&lt;br /&gt;
|-&lt;br /&gt;
| WAVECAR&lt;br /&gt;
| Provides wavefunctions. we usually use it for spectrum data ([https://www.vasp.at/wiki/index.php/WAVECAR &amp;lt;u&amp;gt;https://www.vasp.at/wiki/index.php/WAVECAR&amp;lt;/u&amp;gt;])&lt;br /&gt;
|-&lt;br /&gt;
| OS_STRENGTH&lt;br /&gt;
| Information about the OS_STRENGTH&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_8bf47c7304419724.png|354x154px]]&lt;br /&gt;
|&lt;br /&gt;
From Wikipedia&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In spectroscopy, &#039;&#039;&#039;oscillator strength&#039;&#039;&#039; is a dimensionless quantity that expresses the probability of [https://en.wikipedia.org/wiki/Absorption_(electromagnetic_radiation) &amp;lt;u&amp;gt;absorption&amp;lt;/u&amp;gt;] or [https://en.wikipedia.org/wiki/Emission_spectrum &amp;lt;u&amp;gt;emission&amp;lt;/u&amp;gt;] of [https://en.wikipedia.org/wiki/Electromagnetic_radiation &amp;lt;u&amp;gt;electromagnetic radiation&amp;lt;/u&amp;gt;] in transitions between [https://en.wikipedia.org/wiki/Energy_level &amp;lt;u&amp;gt;energy levels&amp;lt;/u&amp;gt;] of an atom or molecule&amp;lt;sup&amp;gt;[&amp;lt;/sup&amp;gt;[https://en.wikipedia.org/wiki/Wikipedia:Accuracy_dispute#Disputed_statement &amp;lt;sup&amp;gt;&#039;&#039;&amp;lt;u&amp;gt;dubious&amp;lt;/u&amp;gt;&#039;&#039;&amp;lt;/sup&amp;gt;]&amp;lt;sup&amp;gt;&#039;&#039; – &#039;&#039;&amp;lt;/sup&amp;gt;[https://en.wikipedia.org/wiki/Talk:Oscillator_strength#Wrong_definition_oscillator_strength &amp;lt;sup&amp;gt;&#039;&#039;&amp;lt;u&amp;gt;discuss&amp;lt;/u&amp;gt;&#039;&#039;&amp;lt;/sup&amp;gt;]&amp;lt;sup&amp;gt;]&amp;lt;/sup&amp;gt;.&amp;lt;sup&amp;gt;&amp;lt;u&amp;gt;[https://en.wikipedia.org/wiki/Oscillator_strength#cite_note-Demtr%C3%B6der2003-1 [1]][https://en.wikipedia.org/wiki/Oscillator_strength#cite_note-Robinson1996-2 [2]]&amp;lt;/u&amp;gt;&amp;lt;/sup&amp;gt; The oscillator strength can be thought of as the ratio between the quantum mechanical transition rate and the classical absorption/emission rate of a single electron oscillator with the same frequency as the transition.&lt;br /&gt;
|-&lt;br /&gt;
| POTIM (in INCAR file)&lt;br /&gt;
| timestep in femtoseconds. So POTIM=1 is 1 femtosecod&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Density of States&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| To get DOS you need to run the correct calculations in VASP using 4 files. INCAR, POSCAR, POTCAR, OUTCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Once you get output from your submitted information to cori or photon you can follow these steps to get Density of states&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| grep NBA OUTCAR&lt;br /&gt;
| Grabs the number of bands (we need this for later) (STATES)&lt;br /&gt;
|-&lt;br /&gt;
| vi input_overlap&lt;br /&gt;
| editing input_overlap&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Number of Bands from the grep NBA OUTCAR line&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| “esc” key&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| quitting editing input_overlap&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/extract_energy_pop.exe&lt;br /&gt;
| getting energy pop from different location&lt;br /&gt;
|-&lt;br /&gt;
| cp energy_pop STATES&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| wc STATES&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| grep NELE OUTCAR&lt;br /&gt;
| record number of electrons&lt;br /&gt;
|-&lt;br /&gt;
| grep NIO OUTCAR&lt;br /&gt;
| record number of ions&lt;br /&gt;
|-&lt;br /&gt;
| grep E-fer OUTCAR&lt;br /&gt;
| record the three values and their names. If this line doesn’t work the try next line)&lt;br /&gt;
|-&lt;br /&gt;
| grep ferm OUTCAR | tail –n 1&lt;br /&gt;
| record the three values and their names&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/DRESS_DOS_NORM&lt;br /&gt;
| Executes the DOS code from different file location&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Number of states from grep NBA OUTCAR&lt;br /&gt;
| grep NBA OUTCAR line&lt;br /&gt;
|-&lt;br /&gt;
| -20&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
E-fermi info from grep E_fermi&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
To literally line up DOS and STATES, you may need to type in 0 for both fermi and alpha+beta.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;A more standard way is to use the middle point energy between HOMO and LUMO i.e. (E_HOMO+E_LUMO)/2 for fermi and 0 for alpha+beta. In this way, the mid point of DOS is at zero, anything below zero is occupied and above zero is unoccupied.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
alpha+beta info from grep E_fermi&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| .01&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Number of ions from grep NIO OUTCAR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Number of electrons from grep NELE OUTCAR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
gnuplot ~/bin/gnuprog_DOS.fermi&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| Plotting the DOS (This is done in NERSC or PHOTON)&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
ps2pdfwr DOS.ps&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| Converting DOS file from .ps to .pdf&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;br /&amp;gt;set out MEADESDOS.ps MAY NOT NEED THIS NOT SURE YET&lt;br /&gt;
set style line 4 lw 4 lc -1; unset key; plot [-6:6.6] &#039;DOS.fermi&#039; using ($1-2.2617):5 w i title &amp;amp;quot;Electron Occupation&amp;amp;quot;, &#039;DOS.fermi&#039; u ($1-2.2617):4 w l title &amp;amp;quot;Dimer Density of States&amp;amp;quot; ls 4; set xlabel &#039;Orbital Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Density of States&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Density of States Dimer Molecule&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
&lt;br /&gt;
set style line 4 lw 4 lc -1&lt;br /&gt;
&lt;br /&gt;
unset key&lt;br /&gt;
&lt;br /&gt;
plot [-6:6.6] &#039;DOS.fermi&#039; using ($1-2.2617):5 w i title &amp;amp;quot;Electron Occupation&amp;amp;quot;, &#039;DOS.fermi&#039; u ($1-2.2617):4 w l title &amp;amp;quot;Dimer Density of States&amp;amp;quot; ls 4;&lt;br /&gt;
&lt;br /&gt;
set xlabel &#039;Orbital Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0&lt;br /&gt;
&lt;br /&gt;
set ylabel &#039;Density of States&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0&lt;br /&gt;
&lt;br /&gt;
set title &amp;amp;quot;Density of States Dimer Molecule&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0&lt;br /&gt;
&lt;br /&gt;
set tics font &amp;amp;quot;,30&amp;amp;quot;&lt;br /&gt;
&lt;br /&gt;
set ytics offset 0,0,0&lt;br /&gt;
&lt;br /&gt;
set xtics offset -0.4,-1,0&lt;br /&gt;
&lt;br /&gt;
set style line 4 lw 4 lc -1; unset key; plot [-6.1:6.1] &#039;DOS.fermi&#039; using ($1-0.518567):5 w i lw 2 title &amp;amp;quot;Electron Occupation&amp;amp;quot;, &#039;DOS.fermi&#039; u ($1-0.518567):4 w l title &amp;amp;quot;Dimer Density of States&amp;amp;quot; ls 4; set xlabel &#039;Orbital Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Density of States&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Density of States Dimer Molecule&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
&lt;br /&gt;
set style line 4 lw 4 lc -1; unset key; plot [-6.1:6.1] &#039;DOS.fermi&#039; using ($1-0.173350):5 w i lw 2 title &amp;amp;quot;Electron Occupation&amp;amp;quot;, &#039;DOS.fermi&#039; u ($1-0.17335):4 w l title &amp;amp;quot;Wet Monomer Density of States&amp;amp;quot; ls 4; set xlabel &#039;Orbital Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Density of States&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Density of States Wet Monomer Molecule&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
I am initially specifying a style that I will be using. In this case chose style 4 and am editing it to what I want.&lt;br /&gt;
&lt;br /&gt;
lw stands for linwidth, lc line color, not sure where the library is but lc -1 is black, 0=red I think and find out other through trial and error&lt;br /&gt;
&lt;br /&gt;
lw is just multiplyer, so lw 4 is 4 times larger than default.&lt;br /&gt;
&lt;br /&gt;
unset key gets rid of key,&lt;br /&gt;
&lt;br /&gt;
[#,#] is the range of my x axis graph.&lt;br /&gt;
&lt;br /&gt;
($#-###): $# is the column I want to take data from which is being subtracted by the amount of shift I am giving to the data (we want data to be centered at 0 sometimes and so for DOS we take the middle between the start of non occupied plus the end of occupied and divide by 2 to get our shift. (Notoccupied + occupied)/2 ) and the number after the “:” is the column I am correlating the X and Y axis with. So when we plot stuff we need to specify what is the x and what is the y axis.&lt;br /&gt;
&lt;br /&gt;
not sure exactly what the “w i” portion does but it helps us change from points to lines and then is what fills in the red portion of our graph. (The “i” stands for impulses. Add an extra “lw 2’ to increase the line width as shown in green text.) “w l” does the same thing but DOESN”T fill out the the electron density portion.&lt;br /&gt;
&lt;br /&gt;
xlabel and y labels are the axis titles and offsets help position them due to the changing sizes of the axes and tics.&lt;br /&gt;
&lt;br /&gt;
Tics are the numbers on the Y and x axis so ytics offsets them and xtics does the horizontal axis change.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
--OPEN A NEW TAB IN MOBA XTERM--&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Without logging into the account you should be able to see if you are on your current computer&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ls&lt;br /&gt;
| make sure you are in your computer directory. Usually you will see “DESKTOP” as an option&lt;br /&gt;
|-&lt;br /&gt;
| cd DESKTOP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/*.pdf .&lt;br /&gt;
| This is done while in the desktop directory so on your desktop you will see all the pdf files your just generated in desktop&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Absorption Spectrum - Transition Energy eV – Wavelength nm&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
You need a POSCAR file from a previous calculation. SO if you have done a calculation this process can be followed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| create an absorption directory where ever you would like and go into this directory&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/INCAR-gm&lt;br /&gt;
|&lt;br /&gt;
copying INCAR-gm into the directory as long as you are in it&lt;br /&gt;
&lt;br /&gt;
MAKE SURE&lt;br /&gt;
&lt;br /&gt;
LWAVE= .TRUE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
username@cori07:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/COOL_INTERMED_Mead/absorptionSpec/TEST&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Or make sure the INCAR has this Ag+Carboxyl&lt;br /&gt;
&lt;br /&gt;
#ISIF=7&lt;br /&gt;
&lt;br /&gt;
#PREC = HIGH&lt;br /&gt;
&lt;br /&gt;
ENCUT= 300&lt;br /&gt;
&lt;br /&gt;
IBRION =3&lt;br /&gt;
&lt;br /&gt;
POTIM=0.2&lt;br /&gt;
&lt;br /&gt;
NSW = 30000&lt;br /&gt;
&lt;br /&gt;
ALGO = NORMAL  #48&lt;br /&gt;
&lt;br /&gt;
ISMEAR = 0&lt;br /&gt;
&lt;br /&gt;
SIGMA = 0.01&lt;br /&gt;
&lt;br /&gt;
LREAL = A&lt;br /&gt;
&lt;br /&gt;
#ISTART = 0&lt;br /&gt;
&lt;br /&gt;
LWAVE = .TRUE.&lt;br /&gt;
&lt;br /&gt;
LCHARG = .FALSE.&lt;br /&gt;
&lt;br /&gt;
EDIFF=1E-6&lt;br /&gt;
&lt;br /&gt;
EDIFFG=-0.05&lt;br /&gt;
&lt;br /&gt;
LVTOT   =  .FALSE.&lt;br /&gt;
&lt;br /&gt;
#LVDW=.TRUE.&lt;br /&gt;
&lt;br /&gt;
#SPRING = -5&lt;br /&gt;
&lt;br /&gt;
#LCLIMB = .TRUE.&lt;br /&gt;
&lt;br /&gt;
#IMAGES = 7&lt;br /&gt;
&lt;br /&gt;
#IOPT=7&lt;br /&gt;
&lt;br /&gt;
#ICHAIN=0&lt;br /&gt;
&lt;br /&gt;
NELM=40&lt;br /&gt;
&lt;br /&gt;
#ISPIN=2&lt;br /&gt;
&lt;br /&gt;
ISYM=0&lt;br /&gt;
&lt;br /&gt;
NPAR=4&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/CONTCAR ./POSCAR&lt;br /&gt;
| Changing CONTCAR to POSCAR&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/POTCAR .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/KPOINTS .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mv INCAR-gm INCAR&lt;br /&gt;
| changing file name from INCAR-gm to INCAR&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/cori-regular.sh .&lt;br /&gt;
| this is our job submission file&lt;br /&gt;
|-&lt;br /&gt;
| vi cori-regular.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6b3108944fbb5d2b.png|345x215px]]&lt;br /&gt;
|&lt;br /&gt;
Make it Look like this.&lt;br /&gt;
&lt;br /&gt;
While in the screen press “I” to insert and edit the file.&lt;br /&gt;
&lt;br /&gt;
When done editing it press “:wq” to save and quit the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you don’t like the edits you made you can press “:q!” to exit the file without saving it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sbatch cori-regular.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| It is necessary to have the ‘spectrum’ file made which comes from a healthy WAVECAR which is used to generate OS_STRENGTH. After OS_STRENGHT we make the spectrum ~/bin/SPECTRUM_imp3 file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Assuming you have conducted a calculation which generated a healthy WAVECAR file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| If healthy WAVECAR exists then…&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| grep NBA OUTCAR&lt;br /&gt;
| record Number of bands&lt;br /&gt;
|-&lt;br /&gt;
| vi input_overlap&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
1&lt;br /&gt;
&lt;br /&gt;
Number of Bands&lt;br /&gt;
&lt;br /&gt;
1&lt;br /&gt;
| 36740210&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
‘esc’ key&lt;br /&gt;
&lt;br /&gt;
:wq&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/extract_energy_pop.exe&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp energy_pop STATES&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/OS/2020/*.exe .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| module swap PrgEnv-intel PrgEnv-gnu&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ./osc_str.exe&lt;br /&gt;
| This makes the OS_STRENGTH (oscillator strength)&lt;br /&gt;
|-&lt;br /&gt;
| grep &#039;2.0000  0.0000&#039; OS_STRENGTH &amp;amp;gt; OS_STRENGTHvc&lt;br /&gt;
|&lt;br /&gt;
Takes the orbital pairs from 2.0000 to 0.0000 into new file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp OS_STRENGTH OS_STRENGTH1&lt;br /&gt;
| making sure I have original OS_STRENGTH&lt;br /&gt;
|-&lt;br /&gt;
| cp OS_STRENGTHvc OS_STRENGTH&lt;br /&gt;
| making sure I have file OS_STRENGvc kept for 2.0000 – 0.0000 but it will be our OS_STRENGTH&lt;br /&gt;
|-&lt;br /&gt;
| wc OS_STRENGTH&lt;br /&gt;
| Record First number&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/SPECTRUM_imp3&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Number from OS_STERNEGTH&lt;br /&gt;
&lt;br /&gt;
.1&lt;br /&gt;
&lt;br /&gt;
10&lt;br /&gt;
&lt;br /&gt;
.001&lt;br /&gt;
&lt;br /&gt;
HOMO&lt;br /&gt;
|&lt;br /&gt;
Should be able to find HOMO from STATES file (or energy_pop)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Can change the “.001” to “0.1 or 0.01” to smooth out the line&lt;br /&gt;
|-&lt;br /&gt;
| a ‘spectrum’ file should have been made. This holds all the spectrum data. The spectrum can be visualized using these commands in Cori. If you want to visualize in photon then use the gnuplot information below&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| gnuplot ~/bin/gnuprog_SPE&lt;br /&gt;
|&lt;br /&gt;
IN CORI YOU CAN USE THESE&lt;br /&gt;
&lt;br /&gt;
THEN SCP them to photon, then the desktop!&lt;br /&gt;
|-&lt;br /&gt;
| gnuplot ~/bin/gnuprog_SPE_nm_200_800&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| ps2pdfwr SPE.ps&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| ps2pdfwr SPE_nm.ps&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| scp * username@photon.chem.ndsu.nodak.edu:/scratch001/Chem_476/CHEM676_2019/Meade/DIMER/TDESMD_112_116/COOL_INTERMED_Mead/absorptionSpec&lt;br /&gt;
| example make sure you are in the directory of the files you want to send. Send it to a premade directory in photon&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
--OPEN A NEW TAB IN MOBA XTERM--&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Without logging into the account you should be able to see if you are on your current computer&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ls&lt;br /&gt;
| make sure you are in your computer directory. Usually you will see “DESKTOP” as an option&lt;br /&gt;
|-&lt;br /&gt;
| cd DESKTOP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/*.pdf .&lt;br /&gt;
| This is done while in the desktop directory so on your desktop you will see all the pdf files your just generated in desktop&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
FOR PHOTON USE THESE STEPSWe are plotting the information of spectrum to get the spectrum in wavelength of nanometers nm and transition energy in electron volts eV&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| more spectrum&lt;br /&gt;
|&lt;br /&gt;
(Be sure to be in correct directory)&lt;br /&gt;
&lt;br /&gt;
Column 1 is the spectrum in wavelength of nm&lt;br /&gt;
&lt;br /&gt;
column 2 is the spectrum in transition energy of eV&lt;br /&gt;
&lt;br /&gt;
column 3 is absorbance/absorption in a.u. (absoption units). Absorbance goes with wavelength, absorption goes with transition energy&lt;br /&gt;
&lt;br /&gt;
column 4 idk what this is.&lt;br /&gt;
|-&lt;br /&gt;
| gnuplot&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| plot ‘spectrum’ 2:3&lt;br /&gt;
| This gives you transition energy in x axis and absorption in a.u for yaxis.&lt;br /&gt;
|-&lt;br /&gt;
| set style line 4 lw 4 lc 3; unset key; plot [0:10] &#039;spectrum&#039; using 2:3 w l title &amp;amp;quot;Transition Energy&amp;amp;quot; ls 4; set xlabel &#039;Transition Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;absorption a.u&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Absorption Spectrum Dimer&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
| This is transition energy in x axis and absorption in yaxis.&lt;br /&gt;
|-&lt;br /&gt;
| set style line 4 lw 4 lc 3; unset key; plot [200:800] &#039;spectrum&#039; using 1:3 w l title &amp;amp;quot;Absorption Spectrum&amp;amp;quot; ls 4; set xlabel &#039;Wavelength, nm&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;absorbance, a.u&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Absorption Spectrum Dimer&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
| nm in x axis and absorbance in yaxis&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;UV-Vis Absorption Spectrum&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
You need a POSCAR file from a previous calculation. SO if you have done a calculation this process can be followed.&lt;br /&gt;
&lt;br /&gt;
We did one calculation already but we need to do a “geometry optimization” for the next one.&lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| create an absorption directory where ever you would like and go into this directory&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/INCAR-gm&lt;br /&gt;
| copying INCAR-gm into the directory as long as you are in it&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/CONTCAR ./POSCAR&lt;br /&gt;
| Changing CONTCAR to POSCAR&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/POTCAR .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/KPOINTS .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mv INCAR-gm INCAR&lt;br /&gt;
| changing file name from INCAR-gm to INCAR&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/cori-regular.sh .&lt;br /&gt;
| this is our job submission file&lt;br /&gt;
|-&lt;br /&gt;
| vi cori-regular.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6b3108944fbb5d2b.png|352x219px]]&lt;br /&gt;
|&lt;br /&gt;
Make it Look like this.&lt;br /&gt;
&lt;br /&gt;
While in the screen press “I” to insert and edit the file.&lt;br /&gt;
&lt;br /&gt;
When done editing it press “:wq” to save and quit the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you don’t like the edits you made you can press “:q!” to exit the file without saving it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sbatch cori-regular.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Generating CANDIDATES file for Photofragmentation&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| grep –A 700 fermi OUTCAR | tail –n 700 &amp;amp;gt; STATES1&lt;br /&gt;
| Fermi information from OUTCAR into a file called STATES 1. Not sure what the –A or 700 mean. But the tail is choosing a specific section of the data, the “tail” end of the chosen information from the OUTCAR file.&lt;br /&gt;
|-&lt;br /&gt;
| more STATES1&lt;br /&gt;
| Determine HOMO and LUMO, HOMO is the highest orbital with a 2, LUMO is the first 0. In my case HOMO is 112 and LUMO is 113&lt;br /&gt;
|-&lt;br /&gt;
| NOT SURE HOW HE GENERATED STATES FILE&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| head STATES&lt;br /&gt;
| Record the lowest number, in my case it is 81 for DIMER&lt;br /&gt;
|-&lt;br /&gt;
| tail STATES&lt;br /&gt;
| Record the Highest number, in my case it is 160 for DIMER&lt;br /&gt;
|-&lt;br /&gt;
| vi input_overlap&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| i&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 160&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp energy_pop STATES&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| more ~/bin/ADVICE.spectrum&lt;br /&gt;
| This will make spectrum. This will show 3 lines of code. Literally copy one line and press enter starting with the “module swap PrgEnv-intel PrgEnv-gnu”&lt;br /&gt;
|-&lt;br /&gt;
| module swap PrgEnv-intel PrgEnv-gnu&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/OS/2020/*.exe .&lt;br /&gt;
| copying templates and inputting them into the directory you are in&lt;br /&gt;
|-&lt;br /&gt;
| ./osc_str_CHEM676.exe&lt;br /&gt;
| This reads binary WAVECAR file, Reads input_overlap, creates Oscillator strength&lt;br /&gt;
|-&lt;br /&gt;
| ls –lt | head&lt;br /&gt;
| This should show a fresh OS_STRENGTH was made&lt;br /&gt;
|-&lt;br /&gt;
| grep ‘2.0000 0.0000’ OS_STRENGTH &amp;amp;gt; OS_NEW&lt;br /&gt;
| In the OS_STRENGTH file we will see lines of no transition from occupied to unnoccupied. What we want to see is the lines that have an occupied originally (2.0000) and then are unoccupied (0.0000). This shows excitation. The lines that meet this requirement are then inputted into OS_NEW&lt;br /&gt;
|-&lt;br /&gt;
| head OS_NEW&lt;br /&gt;
| This should show a range of orbitals that have been occupied and are now unoccupied. With the differing orbitals involved. Columns 1 and 2 are the initial and final orbitals that are involved with the “hopping” of electrons. The 3rd column is oscillator Strength. 4th Column is Transition energy.&lt;br /&gt;
|-&lt;br /&gt;
| mv OS_NEW OS_STRENGTH&lt;br /&gt;
| We don’t need all OS_STRENGTH data, just the stuff we “grepped” in OS_NEW. This overrides OS_STRENGTH with information from OS_NEW.&lt;br /&gt;
|-&lt;br /&gt;
| wc OS_STRENGTH&lt;br /&gt;
| Word count: The 1st number shows number of lines present in file. 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; number of words present in file. 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; column shows number of characters present in file. 4&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; number is the file name which is given as an argument.&lt;br /&gt;
|-&lt;br /&gt;
| head –n 30 OS_STRENGTH&lt;br /&gt;
| In this particular case we only want the top 30 rather than the original value the first column gave was. In my case it was about 1536.&lt;br /&gt;
|-&lt;br /&gt;
| head –n 30 OS_STRENGTH | sort –gk 4&lt;br /&gt;
| To sort in ascending order of transition energy. 4 is the 4&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; column. I don’t know what –gk means.&lt;br /&gt;
|-&lt;br /&gt;
| head –n 30 OS_STRENGTH | sort –gk 4 &amp;amp;gt; CANDIDATES&lt;br /&gt;
| Inputs this information into CANDIDATES file&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Orbital Visualization&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| I don’t have all information available here, for example I personally didn’t make the PARCHG files.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Guidance to make PARCHG files:&lt;br /&gt;
&lt;br /&gt;
username@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; mkdir ORBITALS&lt;br /&gt;
&lt;br /&gt;
username@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp WAVECAR ORBITALS/&lt;br /&gt;
&lt;br /&gt;
username@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp CONTCAR ORBITALS/POSCAR&lt;br /&gt;
&lt;br /&gt;
username@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp POTCAR ORBITALS/&lt;br /&gt;
&lt;br /&gt;
username@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp *.sh  ORBITALS/&lt;br /&gt;
&lt;br /&gt;
username@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp KPOINTS ORBITALS/&lt;br /&gt;
&lt;br /&gt;
&amp;amp;gt; cd ORBITALS/&lt;br /&gt;
&lt;br /&gt;
username@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/ORBITALS&amp;amp;gt; grep NBA ../OUTCAR&lt;br /&gt;
&lt;br /&gt;
   k-points           NKPTS =      1   k-points in BZ     NKDIM =      1   number of bands    NBANDS=    160&lt;br /&gt;
&lt;br /&gt;
username@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/ORBITALS&amp;amp;gt; cp ~/bin/INCAR/INCAR-pc ./INCAR&lt;br /&gt;
&lt;br /&gt;
username@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/ORBITALS&amp;amp;gt; tail INCAR&lt;br /&gt;
&lt;br /&gt;
IBRION=2        #conjugate-gradient algorithm used to relax ions (bad&lt;br /&gt;
&lt;br /&gt;
NSW=0           #number of ionic steps&lt;br /&gt;
&lt;br /&gt;
POTIM= .2       #time step in fs&lt;br /&gt;
&lt;br /&gt;
EDIFFG=-0.001 #minimum energy difference between ionic iterations&lt;br /&gt;
&lt;br /&gt;
EINT= -4.4 -0.5&lt;br /&gt;
&lt;br /&gt;
EINT= -6 2 &lt;br /&gt;
&lt;br /&gt;
LVTOT   =  .TRUE.&lt;br /&gt;
&lt;br /&gt;
username@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/ORBITALS&amp;amp;gt; sbatch cori_debug.sh &lt;br /&gt;
&lt;br /&gt;
Submitted batch job 32413471&lt;br /&gt;
&lt;br /&gt;
many thanks for the new version!&lt;br /&gt;
&lt;br /&gt;
The main question in your email is orbitals with VASP:&lt;br /&gt;
&lt;br /&gt;
a. generate or use premade healthy WAVECAR &lt;br /&gt;
&lt;br /&gt;
(it is an analog of .chk in gaussian)&lt;br /&gt;
&lt;br /&gt;
b. in a new directory, use template of the INCAR for orbitals and run vasp once again.&lt;br /&gt;
&lt;br /&gt;
the templates are named ~/bin/INCAR/INCAR_pc  and similar names.&lt;br /&gt;
&lt;br /&gt;
(it is an analog of the cubegen procedure in gaussian)&lt;br /&gt;
&lt;br /&gt;
c. upon successful run, there appear files nammed PARCHG.XXXX.ALLK, where XXXX stands for the index of orbital, e.g. PARCHG..01112.ALLK&lt;br /&gt;
&lt;br /&gt;
(those files are analogs of the .cube files in gaussian. note that vasp DOES not generate literal .cube files!)&lt;br /&gt;
&lt;br /&gt;
d. download these files and open then in the VMD - the same software you have used for the trajectories.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Step 2. Changing PARCHG Files to cube files (For Orbital Visualization)&lt;br /&gt;
| From what I have seen we need cube files to show in guassview AND VMD&lt;br /&gt;
|-&lt;br /&gt;
| Once obtained PARCH.####.ALLK Files then use following command in PHOTON to convert the orbitals you care about to cube!&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ~/vtstools/chg2cube.pl filename&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| selecting PARCHG&lt;br /&gt;
|-&lt;br /&gt;
| 1 6 7 8&lt;br /&gt;
| (These are the atomic numbers for the atoms in your system. In my case I have Hydrogen, Nitrogen, Oxygen, and Carbon&lt;br /&gt;
|-&lt;br /&gt;
| Your cube file is then generated&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| SEND cube files, POSCAR (OR CONTCAR), CHGCAR FILES TO DESKTOP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Step 3. Using VMD to generate orbitals&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Open VMD&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
In the VMD Main window go to “File” “new Molecule” Upload your&lt;br /&gt;
&lt;br /&gt;
1.POSCAR (OR POSSIBLY CONTCAR): By selecting VASP_POSCAR under the “Determine file type:”&lt;br /&gt;
&lt;br /&gt;
2. CHGCAR: By selecting VASP_CHGCAR under the “Determine file type:”&lt;br /&gt;
&lt;br /&gt;
3. USE THIS ONE PARCHG: By selecting VASP_PARCHG under the “Determine file type:” (Even though the file ends in .cube we are classifying it as PARCHG)&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_b0283f3c67e04e7d.png|219x134px]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_eae9e77b87b8627b.png|222x103px]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
After all three are uploaded,&lt;br /&gt;
&lt;br /&gt;
in the VMD Main window go to “Graphics” and then “Representations”&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
In the Graphical Representations window follow these three examples.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;(Change the file you are using by the dropdown menu of “selected Molecule”)&lt;br /&gt;
|&lt;br /&gt;
The red lettering means that PARCHG Isosurface isn’t being shown. You can double click on the red lettering to make it black and showing on the OpenGL Display Window. Double click again to revert to black.&lt;br /&gt;
&lt;br /&gt;
Parchrg can be shown and can be visualized in conjungtion with the CHGCAR file&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_e7a558f4dc169c4e.png|121x260px]] [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6b15ffb6b911b765.png|124x266px]] [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_3734231f026ab64e.png|124x265px]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
-You can change the iso value in CHGCAR to get varying orbital visualizations.&lt;br /&gt;
&lt;br /&gt;
-Play with it.&lt;br /&gt;
&lt;br /&gt;
-Change the color by changing the ColorID to different ones.&lt;br /&gt;
&lt;br /&gt;
-(Range in CHGCAR doesn’t matter)&lt;br /&gt;
|&lt;br /&gt;
For Monomer Project Show&lt;br /&gt;
&lt;br /&gt;
all index 52 47 29 44 38 28 18 56 64&lt;br /&gt;
&lt;br /&gt;
H52&lt;br /&gt;
&lt;br /&gt;
H47&lt;br /&gt;
&lt;br /&gt;
H29&lt;br /&gt;
&lt;br /&gt;
H44&lt;br /&gt;
&lt;br /&gt;
H38&lt;br /&gt;
&lt;br /&gt;
H28&lt;br /&gt;
&lt;br /&gt;
H18&lt;br /&gt;
&lt;br /&gt;
H56&lt;br /&gt;
&lt;br /&gt;
H64&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_c5f67d67a9a89fa7.png|355x180px]] [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_d4c6c68549d8e025.png|357x209px]]&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| To get rid of opaque water molecuels make both of these in “Graphics” “Materials” 123 is for faded bods and 124 is for the orbitals&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_8d905765b5183c3.png|142x229px]] [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_449e5be8bb4a3541.png|139x222px]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| For my Monomer_H2O first frame hide these atoms if you don’t want in view&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
O108&lt;br /&gt;
&lt;br /&gt;
O99&lt;br /&gt;
&lt;br /&gt;
O94&lt;br /&gt;
&lt;br /&gt;
O101&lt;br /&gt;
&lt;br /&gt;
O81&lt;br /&gt;
&lt;br /&gt;
O91&lt;br /&gt;
&lt;br /&gt;
O90&lt;br /&gt;
&lt;br /&gt;
O86&lt;br /&gt;
&lt;br /&gt;
O82&lt;br /&gt;
&lt;br /&gt;
O87&lt;br /&gt;
&lt;br /&gt;
O79&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;H73&lt;br /&gt;
&lt;br /&gt;
H45&lt;br /&gt;
&lt;br /&gt;
H62&lt;br /&gt;
&lt;br /&gt;
H51&lt;br /&gt;
&lt;br /&gt;
H58&lt;br /&gt;
&lt;br /&gt;
H50&lt;br /&gt;
&lt;br /&gt;
H48&lt;br /&gt;
&lt;br /&gt;
H14&lt;br /&gt;
&lt;br /&gt;
H22&lt;br /&gt;
&lt;br /&gt;
H36&lt;br /&gt;
&lt;br /&gt;
H42&lt;br /&gt;
&lt;br /&gt;
H31&lt;br /&gt;
&lt;br /&gt;
H20&lt;br /&gt;
&lt;br /&gt;
H23&lt;br /&gt;
&lt;br /&gt;
H35&lt;br /&gt;
&lt;br /&gt;
H30&lt;br /&gt;
&lt;br /&gt;
H54&lt;br /&gt;
&lt;br /&gt;
H59&lt;br /&gt;
&lt;br /&gt;
H25&lt;br /&gt;
|&lt;br /&gt;
all not index ### ### ### ###...&lt;br /&gt;
&lt;br /&gt;
all not index 108 99 94 101 81 91 90 86 82 87 79 73 45 62 51 58 50 48 14 22 36 42 31 20 23 35 30 54 59 25&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;backbone &lt;br /&gt;
&lt;br /&gt;
index 97 103 11 9 10 13 12 96 1 84 78 3 4 100 77 0 8 2 5 6 7&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;These are for the figure first frame for still seeing the water atoms but hazy&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
H22 14 26 19 30 35 15 17 60 69 73 62 45 34 40 16 21 37 27 55 53 49 24 32 43 39 33 67 70 71 65 75 76 66 72 68 63 59 50 51 58 54 48 20 47 23 36 42 31 25 74 61 57 41 46&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;O90 86 91 99 94 104 106 111 109 110 107 92 85 95 102 88 80 89 108 105 83 87 82 81 90 101 79 93&lt;br /&gt;
| 22 14 26 19 30 35 15 17 60 69 73 62 45 34 40 16 21 37 27 55 53 49 24 32 43 39 33 67 70 71 65 75 76 66 72 68 63 59 50 51 58 54 48 20 47 23 36 42 31 25 74 61 57 41 46 90 86 91 99 94 104 106 111 109 110 107 92 85 95 102 88 80 89 108 105 83 87 82 81 90 101 79 93&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Index for Diagram for pics Middle Frame for H20 molecules&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
H63&lt;br /&gt;
&lt;br /&gt;
H33&lt;br /&gt;
&lt;br /&gt;
H17&lt;br /&gt;
&lt;br /&gt;
H21&lt;br /&gt;
&lt;br /&gt;
60&lt;br /&gt;
&lt;br /&gt;
68&lt;br /&gt;
&lt;br /&gt;
42&lt;br /&gt;
&lt;br /&gt;
38&lt;br /&gt;
&lt;br /&gt;
34&lt;br /&gt;
&lt;br /&gt;
50&lt;br /&gt;
&lt;br /&gt;
72&lt;br /&gt;
&lt;br /&gt;
73&lt;br /&gt;
&lt;br /&gt;
16&lt;br /&gt;
&lt;br /&gt;
61&lt;br /&gt;
&lt;br /&gt;
55&lt;br /&gt;
&lt;br /&gt;
71&lt;br /&gt;
&lt;br /&gt;
59&lt;br /&gt;
&lt;br /&gt;
69&lt;br /&gt;
&lt;br /&gt;
40&lt;br /&gt;
&lt;br /&gt;
14&lt;br /&gt;
&lt;br /&gt;
39&lt;br /&gt;
&lt;br /&gt;
74&lt;br /&gt;
&lt;br /&gt;
67&lt;br /&gt;
&lt;br /&gt;
53&lt;br /&gt;
&lt;br /&gt;
49&lt;br /&gt;
&lt;br /&gt;
41&lt;br /&gt;
&lt;br /&gt;
52&lt;br /&gt;
&lt;br /&gt;
27&lt;br /&gt;
&lt;br /&gt;
15&lt;br /&gt;
&lt;br /&gt;
31&lt;br /&gt;
&lt;br /&gt;
23&lt;br /&gt;
&lt;br /&gt;
54&lt;br /&gt;
&lt;br /&gt;
62&lt;br /&gt;
&lt;br /&gt;
32&lt;br /&gt;
&lt;br /&gt;
64&lt;br /&gt;
&lt;br /&gt;
30&lt;br /&gt;
&lt;br /&gt;
26&lt;br /&gt;
&lt;br /&gt;
57&lt;br /&gt;
&lt;br /&gt;
37&lt;br /&gt;
&lt;br /&gt;
51&lt;br /&gt;
&lt;br /&gt;
58&lt;br /&gt;
&lt;br /&gt;
70&lt;br /&gt;
&lt;br /&gt;
43&lt;br /&gt;
&lt;br /&gt;
25&lt;br /&gt;
&lt;br /&gt;
35&lt;br /&gt;
&lt;br /&gt;
46&lt;br /&gt;
&lt;br /&gt;
45&lt;br /&gt;
|&lt;br /&gt;
O80&lt;br /&gt;
&lt;br /&gt;
87&lt;br /&gt;
&lt;br /&gt;
99&lt;br /&gt;
&lt;br /&gt;
81&lt;br /&gt;
&lt;br /&gt;
88&lt;br /&gt;
&lt;br /&gt;
105&lt;br /&gt;
&lt;br /&gt;
104&lt;br /&gt;
&lt;br /&gt;
91&lt;br /&gt;
&lt;br /&gt;
90&lt;br /&gt;
&lt;br /&gt;
106&lt;br /&gt;
&lt;br /&gt;
97&lt;br /&gt;
&lt;br /&gt;
108&lt;br /&gt;
&lt;br /&gt;
102&lt;br /&gt;
&lt;br /&gt;
89&lt;br /&gt;
&lt;br /&gt;
93&lt;br /&gt;
&lt;br /&gt;
101&lt;br /&gt;
&lt;br /&gt;
92&lt;br /&gt;
&lt;br /&gt;
107&lt;br /&gt;
&lt;br /&gt;
78&lt;br /&gt;
&lt;br /&gt;
109&lt;br /&gt;
&lt;br /&gt;
86&lt;br /&gt;
&lt;br /&gt;
83&lt;br /&gt;
&lt;br /&gt;
94&lt;br /&gt;
&lt;br /&gt;
63 33 17 21 60 68 42 38 34 50 72 73 16 61 55 71 59 69 40 14 39 74 67 53 49 41 52 27 15 31 23 54 62 32 64 30 26 57 37 51 58 70 43 25 35 46 45 80 87 99 81 88 105 104 91 90 106 97 108 102 89 93 101 92 107 78 109 86 83 94&lt;br /&gt;
&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_783e625ce0b8a321.png|182x247px]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Preparation of TDESMD Orbital Files and Job Submission&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mkdir TDESMD_111_114&lt;br /&gt;
| We will now use the information of the CANDIDATES file and create new folder for each scenario. You create a file titled using the orbitals involved. In my case the first scenario is with orbitals 111 and 114&lt;br /&gt;
|-&lt;br /&gt;
| cd TDESMD_111_114&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_111_114/INCAR_EXCITED&lt;br /&gt;
| Taking INCAR_EXCITED file from location. In my case it is here.&lt;br /&gt;
|-&lt;br /&gt;
| vi INCAR_EXCITED&lt;br /&gt;
| Edit the INCAR_EXCITED file to make it look like&lt;br /&gt;
|-&lt;br /&gt;
| i&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_79a32df6f9f33bb0.png|303x201px]]&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
Change FERWE=#### to match the total number of orbitals/bands. In this example we have a total number of 160 bands/orbitals.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The first segment of FERWE, “110*1” says we have the first 110 orbitals occupied. The second portion is orbital number 111 which we have listed as a “0” signifying this orbital is unnoccopied for our job submission. Then orbital number 112 is occupied with “1”. Then orbital number 113 is unoccupied with “0”. Then orbital number 114 is occupied with “1”. The last part of “46*0” is talking about the other orbitals not mentioned. These orbital should add up to 160. These numbers change with the differing orbitals designating in the CANDIDATES FILE.&lt;br /&gt;
&lt;br /&gt;
The main thing that is changing is the position of one occupied orbital and one unoccupied orbital when the compound is in ground state. In this example number 111 is usually occupied in ground state and we are moving the electron to 114 which is unoccupied in ground state.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| ONE more example is as follows. With TDESMD_102_115&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_51e84877e4374ca6.png|300x199px]]&lt;br /&gt;
|-&lt;br /&gt;
| “esc” key&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/POSCAR ./CONTCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/KPOINTS&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/POTCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_111_114/debug1.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sbatch debug1.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Creating Videos from movieAll.xyz files and uploading them on youtube&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| scp –r TDESMD_###_### DestinationUser:/DestinationLocation&lt;br /&gt;
|&lt;br /&gt;
Starting in cori&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using this to send files from cori to photon. We specifically want the movieALL.xyz files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is sending the WHOLE directory and everything it contains&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
--OPEN A NEW TAB IN MOBA XTERM--&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Without logging into the account you should be able to see if you are on your current computer&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ls&lt;br /&gt;
| make sure you are in your computer directory. Usually you will see “DESKTOP” as an option&lt;br /&gt;
|-&lt;br /&gt;
| cd DESKTOP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mkdir TDESMD_###_###&lt;br /&gt;
|&lt;br /&gt;
In DESKTOP&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
generate TDESMD_###_### directories&lt;br /&gt;
|-&lt;br /&gt;
| scp username@photon.chem.ndsu.nodak.edu:/scratch001/Chem_476/CHEM676_2019/Meade/DIMER/TDESMD_##_###/movieALL.xyz .&lt;br /&gt;
| WHILE IN THE TDESMD DIRECTORY THAT YOU WANT TO BE THE DESTINATION take “movieALL.xyz” from photon and put into specific directory&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| Once the file is in your desktop you can go to your windows folders and open it to check if it is there.&lt;br /&gt;
|-&lt;br /&gt;
| In windows search bar&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| VMD&lt;br /&gt;
|&lt;br /&gt;
type vmd in windows search bar and open it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
VMD will open with multiple screens.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| We will focus on this screen first to open all the extra screens we need. (VMD Main)&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_5f31d31c2c72c623.png|244x114px]]&lt;br /&gt;
|-&lt;br /&gt;
| Press “File”, “New Molecule,”&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| On the window that comes up (Molecule File Browser) Press “Browse” and find the file you would like. Find the file you want. In this example it is an xyz file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Once A file is picked then press “Load” in the Molecule File Browser window.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Going back to VMD Main&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Press “Graphics” and Representations to open a long slender screen.(VMD Main)&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_c8cfeb66ca7723b0.png|225x487px]]&lt;br /&gt;
|-&lt;br /&gt;
| Press the “Create Rep” Button (Graphical Representation window)&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| With one of the “Reps” highlighted in green, in the drawing Method switch from Lines to VDW&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Change the Sphere scale to 0.2.&lt;br /&gt;
&lt;br /&gt;
Resolution can stay at default or can be raised if desired.&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6ceb4d7e0c7c142a.png|157x340px]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Click on the other line that still says “LINES” and in the Drawing Method change it to Dynamic Bonds&lt;br /&gt;
&lt;br /&gt;
Change Distance Cutoff to 1.6&lt;br /&gt;
&lt;br /&gt;
Bond Radius to 0.1&lt;br /&gt;
&lt;br /&gt;
And Resolution can stay at default or be increased&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_dba6c2b704e3401a.png|158x337px]]&lt;br /&gt;
|-&lt;br /&gt;
| Go back to VMD Main&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Go to “Extensions,” “Visualizations,” and “Movie maker”&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Go to the VMD Movie Generator window&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| In the box of “Name of movie” type the TDESMD_##_### you have.&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_b50ecc50051093d9.png|214x167px]]&lt;br /&gt;
|-&lt;br /&gt;
| “Set Working Directory“ choose the destination directory you want the movie to go to.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| “Rotation Angle” I put it to 0 but you can put it to whatever.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| “trajectory step size” 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| “Movie Duration” This depends on your frames from the (VMDMain) Usually 1000 frames is about 20-30 seconds if the speed (step) is set to 1. But By changing the speed of the video we should make the total video length to 30-45 seconds long.&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_b50ecc50051093d9.png|232x181px]]&lt;br /&gt;
|-&lt;br /&gt;
| Back to VMD Main window&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Press “Mouse,” “Label,” “Bonds”&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| click on two neighboring atoms to get the atom name and bond length&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
IN VMD Main, go to “Graphics” and “Labels.” select “atoms” in the drop down menu on the “Labels” window.&lt;br /&gt;
&lt;br /&gt;
Select all atoms by clicking on the top atom and then “SHIFT+left click” the bottom atom to select all atoms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
While all atoms are selected (highlighted in green). Go to “Properties” and in the “Format” box type %e%i.&lt;br /&gt;
&lt;br /&gt;
(The %e gives the element and the %i gives the index number)&lt;br /&gt;
&lt;br /&gt;
Some information can be presented by simply having your cursor over the %e%i and a yellow box will pop up for some info.&lt;br /&gt;
&lt;br /&gt;
You can move the lettering of each atom by moving the offset information.&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_46eab8f828aa40bc.png|215x201px]]&lt;br /&gt;
|-&lt;br /&gt;
| Click the global properties and change text size and text thickness. ( all of this can be see in the (VMD1.9.3 OpenGL Display) [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_260ebe13a2eda05.png|162x114px]]&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_3968014bc41ed6a4.png|224x212px]]&lt;br /&gt;
|-&lt;br /&gt;
| in VMD movie Generator press “make movie” and quickly in VMD main press the play button.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Once the video is done a popup should be produced asking where to find videomach. Here is the directory for my computer.&lt;br /&gt;
&lt;br /&gt;
C:\Program Files (x86)\VideoMach\videomach.exe&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Once you put in the file videomach.exe then videomach should show up.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Switch the file type to MP4&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6a986dcfd4344618.png|374x27px]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_da932791910b2a04.png|167x188px]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_d35497678abed954.png|155x364px]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| Polymer/Monomer Photodegradation: TDESMD 91 121 Bond Data&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Obtaining MASSPECTRUM Data from FERWE TDESMD Calculations&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| We will be using python scripts that are premade. In PHOTON&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| go to the TDESMD_###_### directory you want to go to&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| in here make another directory called massspectrum&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mkdir massspectrum&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cd masssspectrum&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /Location/movieALL.xyz&lt;br /&gt;
| This should be from the TDESMD_###_### you are in.&lt;br /&gt;
|-&lt;br /&gt;
| cp /Location/script1n.py&lt;br /&gt;
| /scratch001/Chem_476/CHEM676_2019/Meade/Pythonscript/script1n.py&lt;br /&gt;
|-&lt;br /&gt;
| babel –ixyz movieALL.xyz shot.xyz -m&lt;br /&gt;
|&lt;br /&gt;
Creating shot files. Each shot is a “frame” from the video.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Record number of molecules converted.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-2055 molecules converted&lt;br /&gt;
&lt;br /&gt;
-2055 files output. The first is shot1.xyz&lt;br /&gt;
|-&lt;br /&gt;
| python3 script1n.py&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| enter number of molecules converted&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| a frequency file should be created&lt;br /&gt;
|-&lt;br /&gt;
| cp frequency.txt frequency1.txt&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| awk &#039;ORS=(!(NR%2)?&amp;amp;quot;\n&amp;amp;quot;:&amp;amp;quot; &amp;amp;quot;)&#039; RS=&amp;amp;quot; &amp;amp;quot; frequency.txt &amp;amp;gt; file1.txt&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp rmovingfile.sh&lt;br /&gt;
| /scratch001/Chem_476/CHEM676_2019/Meade/DIMER/TDESMD_112_116/massspectrum/MultipleCellMassSpec&lt;br /&gt;
|-&lt;br /&gt;
| bash rmovingfile.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| vi file1.txt&lt;br /&gt;
| Edit the file by deleting everything that doesn’t relate to the numbers.&lt;br /&gt;
|-&lt;br /&gt;
| i&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| before [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_b3731e92878413d2.png|289x328px]]&lt;br /&gt;
|&lt;br /&gt;
after&lt;br /&gt;
&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_c6aa114dd0a5843f.png|108x333px]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
IT IS NECESSARY TO MENTION THAT WHEN CREATING THE FRAGMENTS FILE AN EXTRA BLANK LINE WILL BE GENERATED. IT IS ESSENTIAL TO DELETE.&lt;br /&gt;
&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_2104ec24e9b14aae.png|258x363px]]&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_36d7bfd4ff6b9e13.png|218x371px]]&lt;br /&gt;
|-&lt;br /&gt;
| “esc” key&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp file1.txt fragments&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| wc fragments&lt;br /&gt;
|&lt;br /&gt;
record the first number&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
in my case it is 21&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/DRESS_FRAGMENT_v2&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
21&lt;br /&gt;
&lt;br /&gt;
100&lt;br /&gt;
&lt;br /&gt;
300&lt;br /&gt;
&lt;br /&gt;
.1&lt;br /&gt;
&lt;br /&gt;
1&lt;br /&gt;
&lt;br /&gt;
62&lt;br /&gt;
&lt;br /&gt;
160&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
number of states&lt;br /&gt;
&lt;br /&gt;
Min MASS (can change if desired)&lt;br /&gt;
&lt;br /&gt;
Max MASS (can change if desired)&lt;br /&gt;
&lt;br /&gt;
width of the line used&lt;br /&gt;
&lt;br /&gt;
magnitude (keep at one)&lt;br /&gt;
&lt;br /&gt;
number of atoms&lt;br /&gt;
&lt;br /&gt;
number of electrons&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Plotting FERWE MASSPECTRUM&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| gnuplot&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| set style line 4 lw 100 lc -1; unset key; plot &amp;amp;quot;MASS_SPEC.norm&amp;amp;quot; using 3:5 w l lw 3; set xlabel &#039;Molecular Weight, amu&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Intensity (a.u)&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Mass Spectrum Dimer Multiple Cells&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0&lt;br /&gt;
| e in the directory of the file you want to plot, in this example we are using MASS_SPEC.norm as our file with the data we want.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
set style line 4 lw 100 lc -1; unset key; plot &amp;amp;quot;MASS_SPEC.norm&amp;amp;quot; using 3:5 w l lw 3; set xlabel &#039;Molecular Weight, amu&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Intensity (a.u)&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Mass Spectrum Monomer H2O Multiple Cells&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;To press the right mouse button and move mouse to preferred window size. Then left click&lt;br /&gt;
| monomer h20&lt;br /&gt;
|-&lt;br /&gt;
| ressing p takes you to the previous zoom level, n to the next level, and u unzooms&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| set style line 4 lw 100 lc -1; unset key; plot &amp;amp;quot;MASS_SPEC.norm&amp;amp;quot; using 3:5 w l lw 3; set xlabel &#039;Molecular Weight, amu&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Intensity&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Mass Spectrum Dimer Multiple Cells&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Obtaining Multiple Cell MASSPECTRUM Data from FERWE TDESMD Calculations&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Make sure TDESMD CONTCAREXICTED and CONTCARGROUND files have been generated. Start in Cori go to Photon&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/test.sh&lt;br /&gt;
&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/ test_o.sh&lt;br /&gt;
&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/ANA_v2.exe&lt;br /&gt;
&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/input_ANA&lt;br /&gt;
&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/CONTCAREXICTED and GROUNDFILES&lt;br /&gt;
|&lt;br /&gt;
Take these files from Cori and put them into photon.&lt;br /&gt;
&lt;br /&gt;
These two files are needed for running the scripts properly&lt;br /&gt;
&lt;br /&gt;
These are the “important parts of the code”&lt;br /&gt;
&lt;br /&gt;
~/vtstools3/pos2xyz.pl CONTCAR&lt;br /&gt;
&lt;br /&gt;
cp CONTCAR.xyz INPUT.xyz&lt;br /&gt;
&lt;br /&gt;
~/bin/ANA_v2.exe&lt;br /&gt;
&lt;br /&gt;
cat OUTPUT.xyz &amp;amp;gt; movieANA.xyz&lt;br /&gt;
&lt;br /&gt;
input_ANA should have similar format to this&lt;br /&gt;
&lt;br /&gt;
Where the first 3 numbers are from POSCAR, the last 3 are the number of cells in the x,y,z axes respectively. This files was duplicated across Z axis.&lt;br /&gt;
&lt;br /&gt;
18.54438999999999&lt;br /&gt;
&lt;br /&gt;
14.45937999999995&lt;br /&gt;
&lt;br /&gt;
17.76793999999994&lt;br /&gt;
&lt;br /&gt;
1&lt;br /&gt;
&lt;br /&gt;
1&lt;br /&gt;
&lt;br /&gt;
10&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
~/vtstools3/pos2xyz.pl CONTCAR&lt;br /&gt;
&lt;br /&gt;
cp CONTCAR.xyz INPUT.xyz&lt;br /&gt;
&lt;br /&gt;
~/bin/ANA_v2.exe&lt;br /&gt;
&lt;br /&gt;
cat OUTPUT.xyz &amp;amp;gt; movieANA.xyz&lt;br /&gt;
|&lt;br /&gt;
Delete movieANA.xyz if you have it already.&lt;br /&gt;
&lt;br /&gt;
( This is to make sure the OUTPUT and initial part of the moveANA.xyz file is what it needs to be. In my situation I wanted to have 10 cells combined together.&lt;br /&gt;
&lt;br /&gt;
I used input_ANA&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
CHECK to see if OUTPUT has the correct number of atoms&lt;br /&gt;
&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_4a92367ce10afd50.png|624x64px]]&lt;br /&gt;
| Single cell had 620 atoms, I multipled it by 10 since I wanted to duplicate 10 times. If this is good procede to next steps&lt;br /&gt;
|-&lt;br /&gt;
| vi test.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_19d33c90b0cefb7a.png|278x215px]]&lt;br /&gt;
| change the number to later stage in your trajectory(or the number where you think degradation had occurred. For example my total CONTCARGround and excited was about 191 files. I saw degradation occur later in the simulation so I chose the number 190. This changes with the simulations.&lt;br /&gt;
|-&lt;br /&gt;
| bash test.sh&lt;br /&gt;
| this runs the test.sh file&lt;br /&gt;
|-&lt;br /&gt;
| bash test_o.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| NOW LOOKING INTO PHOTON&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp all files into photon directory&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /Location/script1n.py&lt;br /&gt;
| /scratch001/Chem_476/CHEM676_2019/Meade/Pythonscript/script1n.py&lt;br /&gt;
|-&lt;br /&gt;
| babel –ixyz movieANA.xyz shot.xyz -m&lt;br /&gt;
|&lt;br /&gt;
Creating shot files. Each shot is a “frame” from the video.&lt;br /&gt;
&lt;br /&gt;
Record number of molecules converted.&lt;br /&gt;
&lt;br /&gt;
-2055 molecules converted&lt;br /&gt;
&lt;br /&gt;
-2055 files output. The first is shot1.xyz&lt;br /&gt;
|-&lt;br /&gt;
| Follow regular mass spec steps from above. Rather than using MovieALL we are using movieANA.xyz.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
photon&lt;br /&gt;
&lt;br /&gt;
/scratch001/Chem_476/CHEM676_2019/Meade/DIMER/TDESMD_112_116/massspectrum/MultipleCellMassSpec&lt;br /&gt;
&lt;br /&gt;
cori&lt;br /&gt;
&lt;br /&gt;
/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/test&lt;br /&gt;
|-&lt;br /&gt;
| plummer code for renaming files&lt;br /&gt;
| /global/project/projectdirs/m1251/vasp/CHEM676/meade/MONOMER_H2O/TDESMD_162_167/massspec/multiplemassspectest/plumoutput&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;How to read/get the fragments with their xyz coordinates&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Go into the directory with the shot files with the multiple cells. Make sure that some files have this comment inside of them by opening a shot file that has name shot##n#.xyz&lt;br /&gt;
&lt;br /&gt;
The comment should be.&lt;br /&gt;
&lt;br /&gt;
created by duplicating cells#&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| grep -E &#039;created by duplicating cells.* 17.&#039; shot*&lt;br /&gt;
|&lt;br /&gt;
finds lines that have both “created by duplicating cells” and the number 17 in the same line.&lt;br /&gt;
&lt;br /&gt;
17 is the mass number we are looking for&lt;br /&gt;
&lt;br /&gt;
I am unsure what the “.*” does in this code&lt;br /&gt;
&lt;br /&gt;
make sure there is a space between the * and the 17&lt;br /&gt;
|-&lt;br /&gt;
| Then open one of the xyz files listed.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Literally drag and copy the file information into a notepad document in your desktop.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| more shot291n10.xyz&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_9c48a58b9e24dc27.png|210x268px]]&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_7c3a89906ed25e30.png|180x270px]]&lt;br /&gt;
|-&lt;br /&gt;
| open the xyz file in Avogadro and save as mol file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| the Avogadro file is correct visualization of the fragments. Mol file will have some defects so you will have to change those.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Making Video from output of VASP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
~/vtstools3/pos2xyz.pl CONTCAR&lt;br /&gt;
&lt;br /&gt;
cp CONTCAR.xyz INPUT.xyz&lt;br /&gt;
&lt;br /&gt;
~/bin/ANA_v2.exemore&lt;br /&gt;
&lt;br /&gt;
cat OUTPUT.xyz &amp;amp;gt; movieANA.xyz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
Delete movieANA.xyz if you have it already.&lt;br /&gt;
&lt;br /&gt;
( This is to make sure the OUTPUT and initial part of the moveANA.xyz file is what it needs to be. In my situation I wanted to have 10 cells combined together.&lt;br /&gt;
&lt;br /&gt;
I used input_ANA&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;LAAMPS&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_796f3aade1e5b306.png|314x150px]]&lt;br /&gt;
|&lt;br /&gt;
testwater file:&lt;br /&gt;
&lt;br /&gt;
Epsolon is Inputs from something like DFT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Columns:&lt;br /&gt;
&lt;br /&gt;
Atom ID&lt;br /&gt;
&lt;br /&gt;
Molecule ID&lt;br /&gt;
&lt;br /&gt;
Atom Type&lt;br /&gt;
&lt;br /&gt;
Q - charge&lt;br /&gt;
&lt;br /&gt;
X&lt;br /&gt;
&lt;br /&gt;
Y&lt;br /&gt;
&lt;br /&gt;
Z&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_f474cba5e65bdaab.png|306x66px]]&lt;br /&gt;
| This infor can be put in input script if desired.&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_a9802b534de46367.png|624x180px]]&lt;br /&gt;
|&lt;br /&gt;
bond id&lt;br /&gt;
&lt;br /&gt;
bond tuype&lt;br /&gt;
&lt;br /&gt;
atom id that connects&lt;br /&gt;
&lt;br /&gt;
atom id that connects as well&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_3b00d172c3a15f2b.png|310x103px]]&lt;br /&gt;
|&lt;br /&gt;
Angle ID&lt;br /&gt;
&lt;br /&gt;
Angle Type 1 being single bond 2 being double, etc&lt;br /&gt;
&lt;br /&gt;
Item ID such as first atom O , 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; and 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; atom H&lt;br /&gt;
|-&lt;br /&gt;
| qsub submit.sh&lt;br /&gt;
| submits the job using submit.sh&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;background: #101010&amp;quot;&amp;gt;qstat -u meade.erickson&amp;lt;/span&amp;gt;&lt;br /&gt;
| shoes me my jobs&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;background: #101010&amp;quot;&amp;gt;chmod -777 lmp_mpi_12Dec18&amp;lt;/span&amp;gt;&lt;br /&gt;
| modifies permission for this file&lt;br /&gt;
|-&lt;br /&gt;
| [meade.erickson@login0002 testwater]$ chmod -777 ~/bin/lmp_mpi_12Dec18&lt;br /&gt;
| giving permission while in a different&lt;br /&gt;
|-&lt;br /&gt;
| topo readlammpsdata project.data&lt;br /&gt;
| reads data file for vmd tk console&lt;br /&gt;
|-&lt;br /&gt;
| Inputting files, put in .dcd file then right click on it and “Load Data into Molecule” then select .data file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_73b2551819922e26.png|287x164px]]&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| module avail&lt;br /&gt;
| Available software in ccast&lt;br /&gt;
|-&lt;br /&gt;
| qdet job id&lt;br /&gt;
| qdel ######&lt;br /&gt;
|-&lt;br /&gt;
| fragment 0 to 9 or fragment 14&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=VASP_and_VMD_on_CCAST&amp;diff=129</id>
		<title>VASP and VMD on CCAST</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=VASP_and_VMD_on_CCAST&amp;diff=129"/>
		<updated>2022-10-21T17:45:45Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: removed top info&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&#039;&#039;&#039;Misc. Tools&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cd foldername&lt;br /&gt;
| lets you go into a folder&lt;br /&gt;
|-&lt;br /&gt;
| cd ..&lt;br /&gt;
| Backs you out of folder you are in&lt;br /&gt;
|-&lt;br /&gt;
| cd -&lt;br /&gt;
| Goes back to previous directory&lt;br /&gt;
|-&lt;br /&gt;
| cd ~&lt;br /&gt;
| Goes to home directory&lt;br /&gt;
|-&lt;br /&gt;
| freenodes&lt;br /&gt;
| in ccast&lt;br /&gt;
|-&lt;br /&gt;
| vi filename&lt;br /&gt;
| Lets you go into file to edit&lt;br /&gt;
|-&lt;br /&gt;
| i&lt;br /&gt;
| When in “vi” this initiates the editing&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| This lets you stop editing&lt;br /&gt;
|-&lt;br /&gt;
| “Ctrl+c” press on keyboard, not a typing thing&lt;br /&gt;
| Lets you stop any current running process&lt;br /&gt;
|-&lt;br /&gt;
| pwd&lt;br /&gt;
| Gives you current directory location&lt;br /&gt;
|-&lt;br /&gt;
| wc&lt;br /&gt;
| Word count: The 1st number shows number of lines present in file. 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; number of words present in file. 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; column shows number of characters present in file. 4&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; number is the file name which is given as an argument.&lt;br /&gt;
|-&lt;br /&gt;
| ls&lt;br /&gt;
| Lists what is in the current directory&lt;br /&gt;
|-&lt;br /&gt;
| ls -lt&lt;br /&gt;
| Lists what is in the current directory sorting from newest to oldest&lt;br /&gt;
|-&lt;br /&gt;
| ls –lt W*&lt;br /&gt;
| Lists everything that starts with a W sorting from newest to oldest. (Can be used for other letters as well)&lt;br /&gt;
|-&lt;br /&gt;
| ls -lisanh&lt;br /&gt;
| gives information on the files in whole directory&lt;br /&gt;
|-&lt;br /&gt;
| ls -lisanh filename&lt;br /&gt;
| gives information on the specific file&lt;br /&gt;
|-&lt;br /&gt;
| ls -lisan&lt;br /&gt;
| gives information on the files in whole directory&lt;br /&gt;
|-&lt;br /&gt;
| ls -lisan filename&lt;br /&gt;
| gives information on the specific file&lt;br /&gt;
|-&lt;br /&gt;
| ls -a&lt;br /&gt;
| shows all files, including hidden ones&lt;br /&gt;
|-&lt;br /&gt;
| babel –ixyz file.xyz –opdb file.pdb xyz to pdb&lt;br /&gt;
|&lt;br /&gt;
Using babel, converts the input file of .xyz to outputfile of .pdb&lt;br /&gt;
&lt;br /&gt;
That is where the –ixyz and –opdb comes from&lt;br /&gt;
|-&lt;br /&gt;
| “shift+alt+left click”&lt;br /&gt;
| For slecting just comlumn or just row information you want exactly&lt;br /&gt;
|-&lt;br /&gt;
| egrep &#039;163|166&#039; OS_STRENGTH&lt;br /&gt;
| grep technique&lt;br /&gt;
|-&lt;br /&gt;
| more filename&lt;br /&gt;
| Lets you see what is in the file&lt;br /&gt;
|-&lt;br /&gt;
| more ~/bin/filename&lt;br /&gt;
| Lets you see the file in a location not in your current directory.&lt;br /&gt;
|-&lt;br /&gt;
| more filename | grep ### or value | grep again if desired&lt;br /&gt;
| shows file and grabs lines with same input you put after the grep command&lt;br /&gt;
|-&lt;br /&gt;
| cp /Location/filename .&lt;br /&gt;
| Copies a file from a different directory location and input it into the current directory. Don’t forget the PERIOD!&lt;br /&gt;
|-&lt;br /&gt;
| P /Location/filename ./newfilename&lt;br /&gt;
| Copies a file from a different directory location and input it into the current directory and rename it in one step&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/filename .&lt;br /&gt;
| Takes file from different SERVER/ACCOUNT. You must be in the destination directory you want the files to go to when typing this line&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/* .&lt;br /&gt;
| Takes ALL files from different SERVER/ACCOUNT. You must be in the destination directory you want the files to go to when typing this line&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/*.filetype .&lt;br /&gt;
| Takes ALL files with that specific file type from different SERVER/ACCOUNT. You must be in the destination directory you want the files to go to when typing this line&lt;br /&gt;
|-&lt;br /&gt;
| scp * destinationUser:/destinationLocation&lt;br /&gt;
| Sends all files from source directory to destination directory. Must be in source directory when typing this line&lt;br /&gt;
|-&lt;br /&gt;
| scp * kilin@photon.chem.ndsu.nodak.edu:/scratch001/Chem_476/CHEM676_2019/Meade/DIMER/DIMabsorptionspec&lt;br /&gt;
| Example of scp&lt;br /&gt;
|-&lt;br /&gt;
| sbatch corifilename&lt;br /&gt;
| Lets you submit a file in cori using a corifile made by others&lt;br /&gt;
|-&lt;br /&gt;
| grep specificdetail filename&lt;br /&gt;
| Grabs the specific detail from the file you chose&lt;br /&gt;
|-&lt;br /&gt;
| sort -n -r filename&lt;br /&gt;
| sorts the file in ascending order&lt;br /&gt;
|-&lt;br /&gt;
| babel BondLength.xyz -O out.xyz --separate&lt;br /&gt;
| THIS IS CORRECT WAY THE SEP WORD IS SPELLED INCORRECTLY BUT IS CORRECT FOR BABEL&lt;br /&gt;
|-&lt;br /&gt;
| awk &#039;{ if($4 &amp;amp;gt;= 4.0000 &amp;amp;amp;&amp;amp;amp; $4&amp;amp;lt;=5.0000) print }&#039; OS_STRENGTH1&lt;br /&gt;
| lets you get lines of data that contain the range from 4-5 from column 4&lt;br /&gt;
|-&lt;br /&gt;
| users&lt;br /&gt;
| lets you see what users are on&lt;br /&gt;
|-&lt;br /&gt;
| clear&lt;br /&gt;
| lets you clear screen&lt;br /&gt;
|-&lt;br /&gt;
| who&lt;br /&gt;
| who is on and more detail about them&lt;br /&gt;
|-&lt;br /&gt;
| w&lt;br /&gt;
| all the people and differing details about them&lt;br /&gt;
|-&lt;br /&gt;
| id&lt;br /&gt;
| lets me see what groups I am in&lt;br /&gt;
|-&lt;br /&gt;
| freenodes&lt;br /&gt;
| lets you see if nodes are available or not&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6335cce9234bc4ef.png|439x225px]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| pbsnodes –avSj | sort -n&lt;br /&gt;
| shows available nodes, the | sorts it into order&lt;br /&gt;
|-&lt;br /&gt;
| pbsnodes –avSj | sort –n | more&lt;br /&gt;
| does this in page format rather than all at once&lt;br /&gt;
|-&lt;br /&gt;
| module avail&lt;br /&gt;
| what software is available&lt;br /&gt;
|-&lt;br /&gt;
| $HOME&lt;br /&gt;
| lets you go to your login directory “home” directory&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
thunder.ccast.ndsu.edu&lt;br /&gt;
&lt;br /&gt;
meade.erickson&lt;br /&gt;
| to get into putty&lt;br /&gt;
|-&lt;br /&gt;
| C:\Users\meade.erickson\Documents\OriginLab\User Files\&lt;br /&gt;
| Origin themes location&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Explanations&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| fermi&lt;br /&gt;
| fermi energy is referring to the energy difference between the highest and lowest occupied single-particle states. ([https://en.wikipedia.org/wiki/Fermi_energy &amp;lt;u&amp;gt;https://en.wikipedia.org/wiki/Fermi_energy&amp;lt;/u&amp;gt;])&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Explanations Input Files:&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| INCAR&lt;br /&gt;
| It is the central input file of VASP. It determines &amp;amp;quot;what to do and how to do it&amp;amp;quot;. ([https://www.vasp.at/wiki/index.php/INCAR &amp;lt;u&amp;gt;https://www.vasp.at/wiki/index.php/INCAR&amp;lt;/u&amp;gt;])&lt;br /&gt;
|-&lt;br /&gt;
| POSCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| POTCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| KPOINTS&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Explanations Output Files:&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| CONTCAR&lt;br /&gt;
|&lt;br /&gt;
Contains actual coordinates, velocities, and predictor corrector coordinates. 1&amp;lt;sup&amp;gt;st&amp;lt;/sup&amp;gt; block is lattice parameters and atom coordinates. 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; block Initial Velocites for atoms. 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; block Predictor-corrector coordinates.&lt;br /&gt;
&lt;br /&gt;
Written at end of each job. Used as the POSCAR file for next MD job.&lt;br /&gt;
|-&lt;br /&gt;
| WAVECAR&lt;br /&gt;
| Provides wavefunctions. we usually use it for spectrum data ([https://www.vasp.at/wiki/index.php/WAVECAR &amp;lt;u&amp;gt;https://www.vasp.at/wiki/index.php/WAVECAR&amp;lt;/u&amp;gt;])&lt;br /&gt;
|-&lt;br /&gt;
| OS_STRENGTH&lt;br /&gt;
| Information about the OS_STRENGTH&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_8bf47c7304419724.png|354x154px]]&lt;br /&gt;
|&lt;br /&gt;
From Wikipedia&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In spectroscopy, &#039;&#039;&#039;oscillator strength&#039;&#039;&#039; is a dimensionless quantity that expresses the probability of [https://en.wikipedia.org/wiki/Absorption_(electromagnetic_radiation) &amp;lt;u&amp;gt;absorption&amp;lt;/u&amp;gt;] or [https://en.wikipedia.org/wiki/Emission_spectrum &amp;lt;u&amp;gt;emission&amp;lt;/u&amp;gt;] of [https://en.wikipedia.org/wiki/Electromagnetic_radiation &amp;lt;u&amp;gt;electromagnetic radiation&amp;lt;/u&amp;gt;] in transitions between [https://en.wikipedia.org/wiki/Energy_level &amp;lt;u&amp;gt;energy levels&amp;lt;/u&amp;gt;] of an atom or molecule&amp;lt;sup&amp;gt;[&amp;lt;/sup&amp;gt;[https://en.wikipedia.org/wiki/Wikipedia:Accuracy_dispute#Disputed_statement &amp;lt;sup&amp;gt;&#039;&#039;&amp;lt;u&amp;gt;dubious&amp;lt;/u&amp;gt;&#039;&#039;&amp;lt;/sup&amp;gt;]&amp;lt;sup&amp;gt;&#039;&#039; – &#039;&#039;&amp;lt;/sup&amp;gt;[https://en.wikipedia.org/wiki/Talk:Oscillator_strength#Wrong_definition_oscillator_strength &amp;lt;sup&amp;gt;&#039;&#039;&amp;lt;u&amp;gt;discuss&amp;lt;/u&amp;gt;&#039;&#039;&amp;lt;/sup&amp;gt;]&amp;lt;sup&amp;gt;]&amp;lt;/sup&amp;gt;.&amp;lt;sup&amp;gt;&amp;lt;u&amp;gt;[https://en.wikipedia.org/wiki/Oscillator_strength#cite_note-Demtr%C3%B6der2003-1 [1]][https://en.wikipedia.org/wiki/Oscillator_strength#cite_note-Robinson1996-2 [2]]&amp;lt;/u&amp;gt;&amp;lt;/sup&amp;gt; The oscillator strength can be thought of as the ratio between the quantum mechanical transition rate and the classical absorption/emission rate of a single electron oscillator with the same frequency as the transition.&lt;br /&gt;
|-&lt;br /&gt;
| POTIM (in INCAR file)&lt;br /&gt;
| timestep in femtoseconds. So POTIM=1 is 1 femtosecod&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Density of States&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| To get DOS you need to run the correct calculations in VASP using 4 files. INCAR, POSCAR, POTCAR, OUTCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Once you get output from your submitted information to cori or photon you can follow these steps to get Density of states&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| grep NBA OUTCAR&lt;br /&gt;
| Grabs the number of bands (we need this for later) (STATES)&lt;br /&gt;
|-&lt;br /&gt;
| vi input_overlap&lt;br /&gt;
| editing input_overlap&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Number of Bands from the grep NBA OUTCAR line&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| “esc” key&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| quitting editing input_overlap&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/extract_energy_pop.exe&lt;br /&gt;
| getting energy pop from different location&lt;br /&gt;
|-&lt;br /&gt;
| cp energy_pop STATES&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| wc STATES&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| grep NELE OUTCAR&lt;br /&gt;
| record number of electrons&lt;br /&gt;
|-&lt;br /&gt;
| grep NIO OUTCAR&lt;br /&gt;
| record number of ions&lt;br /&gt;
|-&lt;br /&gt;
| grep E-fer OUTCAR&lt;br /&gt;
| record the three values and their names. If this line doesn’t work the try next line)&lt;br /&gt;
|-&lt;br /&gt;
| grep ferm OUTCAR | tail –n 1&lt;br /&gt;
| record the three values and their names&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/DRESS_DOS_NORM&lt;br /&gt;
| Executes the DOS code from different file location&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Number of states from grep NBA OUTCAR&lt;br /&gt;
| grep NBA OUTCAR line&lt;br /&gt;
|-&lt;br /&gt;
| -20&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
E-fermi info from grep E_fermi&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
To literally line up DOS and STATES, you may need to type in 0 for both fermi and alpha+beta.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;A more standard way is to use the middle point energy between HOMO and LUMO i.e. (E_HOMO+E_LUMO)/2 for fermi and 0 for alpha+beta. In this way, the mid point of DOS is at zero, anything below zero is occupied and above zero is unoccupied.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
alpha+beta info from grep E_fermi&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| .01&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Number of ions from grep NIO OUTCAR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Number of electrons from grep NELE OUTCAR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
gnuplot ~/bin/gnuprog_DOS.fermi&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| Plotting the DOS (This is done in NERSC or PHOTON)&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
ps2pdfwr DOS.ps&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| Converting DOS file from .ps to .pdf&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;br /&amp;gt;set out MEADESDOS.ps MAY NOT NEED THIS NOT SURE YET&lt;br /&gt;
set style line 4 lw 4 lc -1; unset key; plot [-6:6.6] &#039;DOS.fermi&#039; using ($1-2.2617):5 w i title &amp;amp;quot;Electron Occupation&amp;amp;quot;, &#039;DOS.fermi&#039; u ($1-2.2617):4 w l title &amp;amp;quot;Dimer Density of States&amp;amp;quot; ls 4; set xlabel &#039;Orbital Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Density of States&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Density of States Dimer Molecule&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
&lt;br /&gt;
set style line 4 lw 4 lc -1&lt;br /&gt;
&lt;br /&gt;
unset key&lt;br /&gt;
&lt;br /&gt;
plot [-6:6.6] &#039;DOS.fermi&#039; using ($1-2.2617):5 w i title &amp;amp;quot;Electron Occupation&amp;amp;quot;, &#039;DOS.fermi&#039; u ($1-2.2617):4 w l title &amp;amp;quot;Dimer Density of States&amp;amp;quot; ls 4;&lt;br /&gt;
&lt;br /&gt;
set xlabel &#039;Orbital Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0&lt;br /&gt;
&lt;br /&gt;
set ylabel &#039;Density of States&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0&lt;br /&gt;
&lt;br /&gt;
set title &amp;amp;quot;Density of States Dimer Molecule&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0&lt;br /&gt;
&lt;br /&gt;
set tics font &amp;amp;quot;,30&amp;amp;quot;&lt;br /&gt;
&lt;br /&gt;
set ytics offset 0,0,0&lt;br /&gt;
&lt;br /&gt;
set xtics offset -0.4,-1,0&lt;br /&gt;
&lt;br /&gt;
set style line 4 lw 4 lc -1; unset key; plot [-6.1:6.1] &#039;DOS.fermi&#039; using ($1-0.518567):5 w i lw 2 title &amp;amp;quot;Electron Occupation&amp;amp;quot;, &#039;DOS.fermi&#039; u ($1-0.518567):4 w l title &amp;amp;quot;Dimer Density of States&amp;amp;quot; ls 4; set xlabel &#039;Orbital Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Density of States&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Density of States Dimer Molecule&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
&lt;br /&gt;
set style line 4 lw 4 lc -1; unset key; plot [-6.1:6.1] &#039;DOS.fermi&#039; using ($1-0.173350):5 w i lw 2 title &amp;amp;quot;Electron Occupation&amp;amp;quot;, &#039;DOS.fermi&#039; u ($1-0.17335):4 w l title &amp;amp;quot;Wet Monomer Density of States&amp;amp;quot; ls 4; set xlabel &#039;Orbital Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Density of States&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Density of States Wet Monomer Molecule&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
I am initially specifying a style that I will be using. In this case chose style 4 and am editing it to what I want.&lt;br /&gt;
&lt;br /&gt;
lw stands for linwidth, lc line color, not sure where the library is but lc -1 is black, 0=red I think and find out other through trial and error&lt;br /&gt;
&lt;br /&gt;
lw is just multiplyer, so lw 4 is 4 times larger than default.&lt;br /&gt;
&lt;br /&gt;
unset key gets rid of key,&lt;br /&gt;
&lt;br /&gt;
[#,#] is the range of my x axis graph.&lt;br /&gt;
&lt;br /&gt;
($#-###): $# is the column I want to take data from which is being subtracted by the amount of shift I am giving to the data (we want data to be centered at 0 sometimes and so for DOS we take the middle between the start of non occupied plus the end of occupied and divide by 2 to get our shift. (Notoccupied + occupied)/2 ) and the number after the “:” is the column I am correlating the X and Y axis with. So when we plot stuff we need to specify what is the x and what is the y axis.&lt;br /&gt;
&lt;br /&gt;
not sure exactly what the “w i” portion does but it helps us change from points to lines and then is what fills in the red portion of our graph. (The “i” stands for impulses. Add an extra “lw 2’ to increase the line width as shown in green text.) “w l” does the same thing but DOESN”T fill out the the electron density portion.&lt;br /&gt;
&lt;br /&gt;
xlabel and y labels are the axis titles and offsets help position them due to the changing sizes of the axes and tics.&lt;br /&gt;
&lt;br /&gt;
Tics are the numbers on the Y and x axis so ytics offsets them and xtics does the horizontal axis change.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
--OPEN A NEW TAB IN MOBA XTERM--&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Without logging into the account you should be able to see if you are on your current computer&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ls&lt;br /&gt;
| make sure you are in your computer directory. Usually you will see “DESKTOP” as an option&lt;br /&gt;
|-&lt;br /&gt;
| cd DESKTOP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/*.pdf .&lt;br /&gt;
| This is done while in the desktop directory so on your desktop you will see all the pdf files your just generated in desktop&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Absorption Spectrum - Transition Energy eV – Wavelength nm&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
You need a POSCAR file from a previous calculation. SO if you have done a calculation this process can be followed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| create an absorption directory where ever you would like and go into this directory&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/INCAR-gm&lt;br /&gt;
|&lt;br /&gt;
copying INCAR-gm into the directory as long as you are in it&lt;br /&gt;
&lt;br /&gt;
MAKE SURE&lt;br /&gt;
&lt;br /&gt;
LWAVE= .TRUE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
kilin@cori07:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/COOL_INTERMED_Mead/absorptionSpec/TEST&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Or make sure the INCAR has this Ag+Carboxyl&lt;br /&gt;
&lt;br /&gt;
#ISIF=7&lt;br /&gt;
&lt;br /&gt;
#PREC = HIGH&lt;br /&gt;
&lt;br /&gt;
ENCUT= 300&lt;br /&gt;
&lt;br /&gt;
IBRION =3&lt;br /&gt;
&lt;br /&gt;
POTIM=0.2&lt;br /&gt;
&lt;br /&gt;
NSW = 30000&lt;br /&gt;
&lt;br /&gt;
ALGO = NORMAL  #48&lt;br /&gt;
&lt;br /&gt;
ISMEAR = 0&lt;br /&gt;
&lt;br /&gt;
SIGMA = 0.01&lt;br /&gt;
&lt;br /&gt;
LREAL = A&lt;br /&gt;
&lt;br /&gt;
#ISTART = 0&lt;br /&gt;
&lt;br /&gt;
LWAVE = .TRUE.&lt;br /&gt;
&lt;br /&gt;
LCHARG = .FALSE.&lt;br /&gt;
&lt;br /&gt;
EDIFF=1E-6&lt;br /&gt;
&lt;br /&gt;
EDIFFG=-0.05&lt;br /&gt;
&lt;br /&gt;
LVTOT   =  .FALSE.&lt;br /&gt;
&lt;br /&gt;
#LVDW=.TRUE.&lt;br /&gt;
&lt;br /&gt;
#SPRING = -5&lt;br /&gt;
&lt;br /&gt;
#LCLIMB = .TRUE.&lt;br /&gt;
&lt;br /&gt;
#IMAGES = 7&lt;br /&gt;
&lt;br /&gt;
#IOPT=7&lt;br /&gt;
&lt;br /&gt;
#ICHAIN=0&lt;br /&gt;
&lt;br /&gt;
NELM=40&lt;br /&gt;
&lt;br /&gt;
#ISPIN=2&lt;br /&gt;
&lt;br /&gt;
ISYM=0&lt;br /&gt;
&lt;br /&gt;
NPAR=4&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/CONTCAR ./POSCAR&lt;br /&gt;
| Changing CONTCAR to POSCAR&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/POTCAR .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/KPOINTS .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mv INCAR-gm INCAR&lt;br /&gt;
| changing file name from INCAR-gm to INCAR&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/cori-regular.sh .&lt;br /&gt;
| this is our job submission file&lt;br /&gt;
|-&lt;br /&gt;
| vi cori-regular.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6b3108944fbb5d2b.png|345x215px]]&lt;br /&gt;
|&lt;br /&gt;
Make it Look like this.&lt;br /&gt;
&lt;br /&gt;
While in the screen press “I” to insert and edit the file.&lt;br /&gt;
&lt;br /&gt;
When done editing it press “:wq” to save and quit the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you don’t like the edits you made you can press “:q!” to exit the file without saving it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sbatch cori-regular.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| It is necessary to have the ‘spectrum’ file made which comes from a healthy WAVECAR which is used to generate OS_STRENGTH. After OS_STRENGHT we make the spectrum ~/bin/SPECTRUM_imp3 file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Assuming you have conducted a calculation which generated a healthy WAVECAR file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| If healthy WAVECAR exists then…&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| grep NBA OUTCAR&lt;br /&gt;
| record Number of bands&lt;br /&gt;
|-&lt;br /&gt;
| vi input_overlap&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
1&lt;br /&gt;
&lt;br /&gt;
Number of Bands&lt;br /&gt;
&lt;br /&gt;
1&lt;br /&gt;
| 36740210&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
‘esc’ key&lt;br /&gt;
&lt;br /&gt;
:wq&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/extract_energy_pop.exe&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp energy_pop STATES&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/OS/2020/*.exe .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| module swap PrgEnv-intel PrgEnv-gnu&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ./osc_str.exe&lt;br /&gt;
| This makes the OS_STRENGTH (oscillator strength)&lt;br /&gt;
|-&lt;br /&gt;
| grep &#039;2.0000  0.0000&#039; OS_STRENGTH &amp;amp;gt; OS_STRENGTHvc&lt;br /&gt;
|&lt;br /&gt;
Takes the orbital pairs from 2.0000 to 0.0000 into new file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp OS_STRENGTH OS_STRENGTH1&lt;br /&gt;
| making sure I have original OS_STRENGTH&lt;br /&gt;
|-&lt;br /&gt;
| cp OS_STRENGTHvc OS_STRENGTH&lt;br /&gt;
| making sure I have file OS_STRENGvc kept for 2.0000 – 0.0000 but it will be our OS_STRENGTH&lt;br /&gt;
|-&lt;br /&gt;
| wc OS_STRENGTH&lt;br /&gt;
| Record First number&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/SPECTRUM_imp3&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Number from OS_STERNEGTH&lt;br /&gt;
&lt;br /&gt;
.1&lt;br /&gt;
&lt;br /&gt;
10&lt;br /&gt;
&lt;br /&gt;
.001&lt;br /&gt;
&lt;br /&gt;
HOMO&lt;br /&gt;
|&lt;br /&gt;
Should be able to find HOMO from STATES file (or energy_pop)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Can change the “.001” to “0.1 or 0.01” to smooth out the line&lt;br /&gt;
|-&lt;br /&gt;
| a ‘spectrum’ file should have been made. This holds all the spectrum data. The spectrum can be visualized using these commands in Cori. If you want to visualize in photon then use the gnuplot information below&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| gnuplot ~/bin/gnuprog_SPE&lt;br /&gt;
|&lt;br /&gt;
IN CORI YOU CAN USE THESE&lt;br /&gt;
&lt;br /&gt;
THEN SCP them to photon, then the desktop!&lt;br /&gt;
|-&lt;br /&gt;
| gnuplot ~/bin/gnuprog_SPE_nm_200_800&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| ps2pdfwr SPE.ps&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| ps2pdfwr SPE_nm.ps&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| scp * kilin@photon.chem.ndsu.nodak.edu:/scratch001/Chem_476/CHEM676_2019/Meade/DIMER/TDESMD_112_116/COOL_INTERMED_Mead/absorptionSpec&lt;br /&gt;
| example make sure you are in the directory of the files you want to send. Send it to a premade directory in photon&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
--OPEN A NEW TAB IN MOBA XTERM--&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Without logging into the account you should be able to see if you are on your current computer&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ls&lt;br /&gt;
| make sure you are in your computer directory. Usually you will see “DESKTOP” as an option&lt;br /&gt;
|-&lt;br /&gt;
| cd DESKTOP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/*.pdf .&lt;br /&gt;
| This is done while in the desktop directory so on your desktop you will see all the pdf files your just generated in desktop&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
FOR PHOTON USE THESE STEPSWe are plotting the information of spectrum to get the spectrum in wavelength of nanometers nm and transition energy in electron volts eV&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| more spectrum&lt;br /&gt;
|&lt;br /&gt;
(Be sure to be in correct directory)&lt;br /&gt;
&lt;br /&gt;
Column 1 is the spectrum in wavelength of nm&lt;br /&gt;
&lt;br /&gt;
column 2 is the spectrum in transition energy of eV&lt;br /&gt;
&lt;br /&gt;
column 3 is absorbance/absorption in a.u. (absoption units). Absorbance goes with wavelength, absorption goes with transition energy&lt;br /&gt;
&lt;br /&gt;
column 4 idk what this is.&lt;br /&gt;
|-&lt;br /&gt;
| gnuplot&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| plot ‘spectrum’ 2:3&lt;br /&gt;
| This gives you transition energy in x axis and absorption in a.u for yaxis.&lt;br /&gt;
|-&lt;br /&gt;
| set style line 4 lw 4 lc 3; unset key; plot [0:10] &#039;spectrum&#039; using 2:3 w l title &amp;amp;quot;Transition Energy&amp;amp;quot; ls 4; set xlabel &#039;Transition Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;absorption a.u&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Absorption Spectrum Dimer&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
| This is transition energy in x axis and absorption in yaxis.&lt;br /&gt;
|-&lt;br /&gt;
| set style line 4 lw 4 lc 3; unset key; plot [200:800] &#039;spectrum&#039; using 1:3 w l title &amp;amp;quot;Absorption Spectrum&amp;amp;quot; ls 4; set xlabel &#039;Wavelength, nm&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;absorbance, a.u&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Absorption Spectrum Dimer&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
| nm in x axis and absorbance in yaxis&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;UV-Vis Absorption Spectrum&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
You need a POSCAR file from a previous calculation. SO if you have done a calculation this process can be followed.&lt;br /&gt;
&lt;br /&gt;
We did one calculation already but we need to do a “geometry optimization” for the next one.&lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| create an absorption directory where ever you would like and go into this directory&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/INCAR-gm&lt;br /&gt;
| copying INCAR-gm into the directory as long as you are in it&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/CONTCAR ./POSCAR&lt;br /&gt;
| Changing CONTCAR to POSCAR&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/POTCAR .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/KPOINTS .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mv INCAR-gm INCAR&lt;br /&gt;
| changing file name from INCAR-gm to INCAR&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/cori-regular.sh .&lt;br /&gt;
| this is our job submission file&lt;br /&gt;
|-&lt;br /&gt;
| vi cori-regular.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6b3108944fbb5d2b.png|352x219px]]&lt;br /&gt;
|&lt;br /&gt;
Make it Look like this.&lt;br /&gt;
&lt;br /&gt;
While in the screen press “I” to insert and edit the file.&lt;br /&gt;
&lt;br /&gt;
When done editing it press “:wq” to save and quit the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you don’t like the edits you made you can press “:q!” to exit the file without saving it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sbatch cori-regular.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Generating CANDIDATES file for Photofragmentation&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| This is after calculations have been ran for MD???&lt;br /&gt;
|&lt;br /&gt;
Watch this first‼ Part 2 of Dr.Kilins video for how to generate the CANDIDATES file.&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=NIrs1yXJj1Y&amp;amp;feature=youtu.be &amp;lt;u&amp;gt;https://www.youtube.com/watch?v=NIrs1yXJj1Y&amp;amp;amp;feature=youtu.be&amp;lt;/u&amp;gt;]&lt;br /&gt;
|-&lt;br /&gt;
| We want to get information from the WAVECAR that can help us determine the “electron hopping” so we have to find the OS_STRENGTH (oscillator strength) that is high. Since higher OS_Strength the higher the probability that given pair of orbitals is excited. STATES file should have been generated before I think.&lt;br /&gt;
|&lt;br /&gt;
Watch this second‼ Part 1 of Dr. Kilins video for what to do after CANDIDATES file was generated and explains what is in it.&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=A8BXT-FnuxM&amp;amp;t=212s &amp;lt;u&amp;gt;https://www.youtube.com/watch?v=A8BXT-FnuxM&amp;amp;amp;t=212s&amp;lt;/u&amp;gt;]&lt;br /&gt;
|-&lt;br /&gt;
| grep –A 700 fermi OUTCAR | tail –n 700 &amp;amp;gt; STATES1&lt;br /&gt;
| Fermi information from OUTCAR into a file called STATES 1. Not sure what the –A or 700 mean. But the tail is choosing a specific section of the data, the “tail” end of the chosen information from the OUTCAR file.&lt;br /&gt;
|-&lt;br /&gt;
| more STATES1&lt;br /&gt;
| Determine HOMO and LUMO, HOMO is the highest orbital with a 2, LUMO is the first 0. In my case HOMO is 112 and LUMO is 113&lt;br /&gt;
|-&lt;br /&gt;
| NOT SURE HOW HE GENERATED STATES FILE&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| head STATES&lt;br /&gt;
| Record the lowest number, in my case it is 81 for DIMER&lt;br /&gt;
|-&lt;br /&gt;
| tail STATES&lt;br /&gt;
| Record the Highest number, in my case it is 160 for DIMER&lt;br /&gt;
|-&lt;br /&gt;
| vi input_overlap&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| i&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 160&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp energy_pop STATES&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| more ~/bin/ADVICE.spectrum&lt;br /&gt;
| This will make spectrum. This will show 3 lines of code. Literally copy one line and press enter starting with the “module swap PrgEnv-intel PrgEnv-gnu”&lt;br /&gt;
|-&lt;br /&gt;
| module swap PrgEnv-intel PrgEnv-gnu&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/OS/2020/*.exe .&lt;br /&gt;
| copying templates and inputting them into the directory you are in&lt;br /&gt;
|-&lt;br /&gt;
| ./osc_str_CHEM676.exe&lt;br /&gt;
| This reads binary WAVECAR file, Reads input_overlap, creates Oscillator strength&lt;br /&gt;
|-&lt;br /&gt;
| ls –lt | head&lt;br /&gt;
| This should show a fresh OS_STRENGTH was made&lt;br /&gt;
|-&lt;br /&gt;
| grep ‘2.0000 0.0000’ OS_STRENGTH &amp;amp;gt; OS_NEW&lt;br /&gt;
| In the OS_STRENGTH file we will see lines of no transition from occupied to unnoccupied. What we want to see is the lines that have an occupied originally (2.0000) and then are unoccupied (0.0000). This shows excitation. The lines that meet this requirement are then inputted into OS_NEW&lt;br /&gt;
|-&lt;br /&gt;
| head OS_NEW&lt;br /&gt;
| This should show a range of orbitals that have been occupied and are now unoccupied. With the differing orbitals involved. Columns 1 and 2 are the initial and final orbitals that are involved with the “hopping” of electrons. The 3rd column is oscillator Strength. 4th Column is Transition energy.&lt;br /&gt;
|-&lt;br /&gt;
| mv OS_NEW OS_STRENGTH&lt;br /&gt;
| We don’t need all OS_STRENGTH data, just the stuff we “grepped” in OS_NEW. This overrides OS_STRENGTH with information from OS_NEW.&lt;br /&gt;
|-&lt;br /&gt;
| wc OS_STRENGTH&lt;br /&gt;
| Word count: The 1st number shows number of lines present in file. 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; number of words present in file. 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; column shows number of characters present in file. 4&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; number is the file name which is given as an argument.&lt;br /&gt;
|-&lt;br /&gt;
| head –n 30 OS_STRENGTH&lt;br /&gt;
| In this particular case we only want the top 30 rather than the original value the first column gave was. In my case it was about 1536.&lt;br /&gt;
|-&lt;br /&gt;
| head –n 30 OS_STRENGTH | sort –gk 4&lt;br /&gt;
| To sort in ascending order of transition energy. 4 is the 4&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; column. I don’t know what –gk means.&lt;br /&gt;
|-&lt;br /&gt;
| head –n 30 OS_STRENGTH | sort –gk 4 &amp;amp;gt; CANDIDATES&lt;br /&gt;
| Inputs this information into CANDIDATES file&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Orbital Visualization&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| I don’t have all information available here, for example I personally didn’t make the PARCHG files.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Kilins Guidance to make PARCHG files… I think&lt;br /&gt;
&lt;br /&gt;
Dear Meade,&lt;br /&gt;
&lt;br /&gt;
below are steps I did for creating orbitals files on nersc.&lt;br /&gt;
&lt;br /&gt;
I will let you know when they are ready and instruct on how to visualize.&lt;br /&gt;
&lt;br /&gt;
slides are good, under given limits.&lt;br /&gt;
&lt;br /&gt;
In the given time, you may add conclusions as you see them..&lt;br /&gt;
&lt;br /&gt;
Best wishes,&lt;br /&gt;
&lt;br /&gt;
Dmitri&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; mkdir ORBITALS&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp WAVECAR ORBITALS/&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp CONTCAR ORBITALS/POSCAR&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp POTCAR ORBITALS/&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp *.sh  ORBITALS/&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp KPOINTS ORBITALS/&lt;br /&gt;
&lt;br /&gt;
&amp;amp;gt; cd ORBITALS/&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/ORBITALS&amp;amp;gt; grep NBA ../OUTCAR&lt;br /&gt;
&lt;br /&gt;
   k-points           NKPTS =      1   k-points in BZ     NKDIM =      1   number of bands    NBANDS=    160&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/ORBITALS&amp;amp;gt; cp ~/bin/INCAR/INCAR-pc ./INCAR&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/ORBITALS&amp;amp;gt; tail INCAR&lt;br /&gt;
&lt;br /&gt;
IBRION=2        #conjugate-gradient algorithm used to relax ions (bad&lt;br /&gt;
&lt;br /&gt;
NSW=0           #number of ionic steps&lt;br /&gt;
&lt;br /&gt;
POTIM= .2       #time step in fs&lt;br /&gt;
&lt;br /&gt;
EDIFFG=-0.001 #minimum energy difference between ionic iterations&lt;br /&gt;
&lt;br /&gt;
EINT= -4.4 -0.5&lt;br /&gt;
&lt;br /&gt;
EINT= -6 2 &lt;br /&gt;
&lt;br /&gt;
LVTOT   =  .TRUE.&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/ORBITALS&amp;amp;gt; sbatch cori_debug.sh &lt;br /&gt;
&lt;br /&gt;
Submitted batch job 32413471&lt;br /&gt;
&lt;br /&gt;
many thanks for the new version!&lt;br /&gt;
&lt;br /&gt;
The main question in your email is orbitals with VASP:&lt;br /&gt;
&lt;br /&gt;
a. generate or use premade healthy WAVECAR &lt;br /&gt;
&lt;br /&gt;
(it is an analog of .chk in gaussian)&lt;br /&gt;
&lt;br /&gt;
b. in a new directory, use template of the INCAR for orbitals and run vasp once again.&lt;br /&gt;
&lt;br /&gt;
the templates are named ~/bin/INCAR/INCAR_pc  and similar names.&lt;br /&gt;
&lt;br /&gt;
(it is an analog of the cubegen procedure in gaussian)&lt;br /&gt;
&lt;br /&gt;
c. upon successful run, there appear files nammed PARCHG.XXXX.ALLK, where XXXX stands for the index of orbital, e.g. PARCHG..01112.ALLK&lt;br /&gt;
&lt;br /&gt;
(those files are analogs of the .cube files in gaussian. note that vasp DOES not generate literal .cube files!)&lt;br /&gt;
&lt;br /&gt;
d. download these files and open then in the VMD - the same software you have used for the trajectories.&lt;br /&gt;
&lt;br /&gt;
I will have a look on the slides and let you nko if any quicl changes are needed or we can go ahead with this version&lt;br /&gt;
&lt;br /&gt;
Best wishes,&lt;br /&gt;
&lt;br /&gt;
Dmitri&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Step 2. Changing PARCHG Files to cube files (For Orbital Visualization)&lt;br /&gt;
| From what I have seen we need cube files to show in guassview AND VMD&lt;br /&gt;
|-&lt;br /&gt;
| Once obtained PARCH.####.ALLK Files then use following command in PHOTON to convert the orbitals you care about to cube!&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ~/vtstools/chg2cube.pl filename&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| selecting PARCHG&lt;br /&gt;
|-&lt;br /&gt;
| 1 6 7 8&lt;br /&gt;
| (These are the atomic numbers for the atoms in your system. In my case I have Hydrogen, Nitrogen, Oxygen, and Carbon&lt;br /&gt;
|-&lt;br /&gt;
| Your cube file is then generated&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| SEND cube files, POSCAR (OR CONTCAR), CHGCAR FILES TO DESKTOP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Step 3. Using VMD to generate orbitals&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Open VMD&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
In the VMD Main window go to “File” “new Molecule” Upload your&lt;br /&gt;
&lt;br /&gt;
1.POSCAR (OR POSSIBLY CONTCAR): By selecting VASP_POSCAR under the “Determine file type:”&lt;br /&gt;
&lt;br /&gt;
2. CHGCAR: By selecting VASP_CHGCAR under the “Determine file type:”&lt;br /&gt;
&lt;br /&gt;
3. USE THIS ONE PARCHG: By selecting VASP_PARCHG under the “Determine file type:” (Even though the file ends in .cube we are classifying it as PARCHG)&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_b0283f3c67e04e7d.png|219x134px]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_eae9e77b87b8627b.png|222x103px]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
After all three are uploaded,&lt;br /&gt;
&lt;br /&gt;
in the VMD Main window go to “Graphics” and then “Representations”&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
In the Graphical Representations window follow these three examples.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;(Change the file you are using by the dropdown menu of “selected Molecule”)&lt;br /&gt;
|&lt;br /&gt;
The red lettering means that PARCHG Isosurface isn’t being shown. You can double click on the red lettering to make it black and showing on the OpenGL Display Window. Double click again to revert to black.&lt;br /&gt;
&lt;br /&gt;
Parchrg can be shown and can be visualized in conjungtion with the CHGCAR file&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_e7a558f4dc169c4e.png|121x260px]] [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6b15ffb6b911b765.png|124x266px]] [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_3734231f026ab64e.png|124x265px]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
-You can change the iso value in CHGCAR to get varying orbital visualizations.&lt;br /&gt;
&lt;br /&gt;
-Play with it.&lt;br /&gt;
&lt;br /&gt;
-Change the color by changing the ColorID to different ones.&lt;br /&gt;
&lt;br /&gt;
-(Range in CHGCAR doesn’t matter)&lt;br /&gt;
|&lt;br /&gt;
For Monomer Project Show&lt;br /&gt;
&lt;br /&gt;
all index 52 47 29 44 38 28 18 56 64&lt;br /&gt;
&lt;br /&gt;
H52&lt;br /&gt;
&lt;br /&gt;
H47&lt;br /&gt;
&lt;br /&gt;
H29&lt;br /&gt;
&lt;br /&gt;
H44&lt;br /&gt;
&lt;br /&gt;
H38&lt;br /&gt;
&lt;br /&gt;
H28&lt;br /&gt;
&lt;br /&gt;
H18&lt;br /&gt;
&lt;br /&gt;
H56&lt;br /&gt;
&lt;br /&gt;
H64&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_c5f67d67a9a89fa7.png|355x180px]] [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_d4c6c68549d8e025.png|357x209px]]&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| To get rid of opaque water molecuels make both of these in “Graphics” “Materials” 123 is for faded bods and 124 is for the orbitals&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_8d905765b5183c3.png|142x229px]] [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_449e5be8bb4a3541.png|139x222px]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| For my Monomer_H2O first frame hide these atoms if you don’t want in view&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
O108&lt;br /&gt;
&lt;br /&gt;
O99&lt;br /&gt;
&lt;br /&gt;
O94&lt;br /&gt;
&lt;br /&gt;
O101&lt;br /&gt;
&lt;br /&gt;
O81&lt;br /&gt;
&lt;br /&gt;
O91&lt;br /&gt;
&lt;br /&gt;
O90&lt;br /&gt;
&lt;br /&gt;
O86&lt;br /&gt;
&lt;br /&gt;
O82&lt;br /&gt;
&lt;br /&gt;
O87&lt;br /&gt;
&lt;br /&gt;
O79&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;H73&lt;br /&gt;
&lt;br /&gt;
H45&lt;br /&gt;
&lt;br /&gt;
H62&lt;br /&gt;
&lt;br /&gt;
H51&lt;br /&gt;
&lt;br /&gt;
H58&lt;br /&gt;
&lt;br /&gt;
H50&lt;br /&gt;
&lt;br /&gt;
H48&lt;br /&gt;
&lt;br /&gt;
H14&lt;br /&gt;
&lt;br /&gt;
H22&lt;br /&gt;
&lt;br /&gt;
H36&lt;br /&gt;
&lt;br /&gt;
H42&lt;br /&gt;
&lt;br /&gt;
H31&lt;br /&gt;
&lt;br /&gt;
H20&lt;br /&gt;
&lt;br /&gt;
H23&lt;br /&gt;
&lt;br /&gt;
H35&lt;br /&gt;
&lt;br /&gt;
H30&lt;br /&gt;
&lt;br /&gt;
H54&lt;br /&gt;
&lt;br /&gt;
H59&lt;br /&gt;
&lt;br /&gt;
H25&lt;br /&gt;
|&lt;br /&gt;
all not index ### ### ### ###...&lt;br /&gt;
&lt;br /&gt;
all not index 108 99 94 101 81 91 90 86 82 87 79 73 45 62 51 58 50 48 14 22 36 42 31 20 23 35 30 54 59 25&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;backbone &lt;br /&gt;
&lt;br /&gt;
index 97 103 11 9 10 13 12 96 1 84 78 3 4 100 77 0 8 2 5 6 7&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;These are for the figure first frame for still seeing the water atoms but hazy&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
H22 14 26 19 30 35 15 17 60 69 73 62 45 34 40 16 21 37 27 55 53 49 24 32 43 39 33 67 70 71 65 75 76 66 72 68 63 59 50 51 58 54 48 20 47 23 36 42 31 25 74 61 57 41 46&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;O90 86 91 99 94 104 106 111 109 110 107 92 85 95 102 88 80 89 108 105 83 87 82 81 90 101 79 93&lt;br /&gt;
| 22 14 26 19 30 35 15 17 60 69 73 62 45 34 40 16 21 37 27 55 53 49 24 32 43 39 33 67 70 71 65 75 76 66 72 68 63 59 50 51 58 54 48 20 47 23 36 42 31 25 74 61 57 41 46 90 86 91 99 94 104 106 111 109 110 107 92 85 95 102 88 80 89 108 105 83 87 82 81 90 101 79 93&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Index for Diagram for pics Middle Frame for H20 molecules&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
H63&lt;br /&gt;
&lt;br /&gt;
H33&lt;br /&gt;
&lt;br /&gt;
H17&lt;br /&gt;
&lt;br /&gt;
H21&lt;br /&gt;
&lt;br /&gt;
60&lt;br /&gt;
&lt;br /&gt;
68&lt;br /&gt;
&lt;br /&gt;
42&lt;br /&gt;
&lt;br /&gt;
38&lt;br /&gt;
&lt;br /&gt;
34&lt;br /&gt;
&lt;br /&gt;
50&lt;br /&gt;
&lt;br /&gt;
72&lt;br /&gt;
&lt;br /&gt;
73&lt;br /&gt;
&lt;br /&gt;
16&lt;br /&gt;
&lt;br /&gt;
61&lt;br /&gt;
&lt;br /&gt;
55&lt;br /&gt;
&lt;br /&gt;
71&lt;br /&gt;
&lt;br /&gt;
59&lt;br /&gt;
&lt;br /&gt;
69&lt;br /&gt;
&lt;br /&gt;
40&lt;br /&gt;
&lt;br /&gt;
14&lt;br /&gt;
&lt;br /&gt;
39&lt;br /&gt;
&lt;br /&gt;
74&lt;br /&gt;
&lt;br /&gt;
67&lt;br /&gt;
&lt;br /&gt;
53&lt;br /&gt;
&lt;br /&gt;
49&lt;br /&gt;
&lt;br /&gt;
41&lt;br /&gt;
&lt;br /&gt;
52&lt;br /&gt;
&lt;br /&gt;
27&lt;br /&gt;
&lt;br /&gt;
15&lt;br /&gt;
&lt;br /&gt;
31&lt;br /&gt;
&lt;br /&gt;
23&lt;br /&gt;
&lt;br /&gt;
54&lt;br /&gt;
&lt;br /&gt;
62&lt;br /&gt;
&lt;br /&gt;
32&lt;br /&gt;
&lt;br /&gt;
64&lt;br /&gt;
&lt;br /&gt;
30&lt;br /&gt;
&lt;br /&gt;
26&lt;br /&gt;
&lt;br /&gt;
57&lt;br /&gt;
&lt;br /&gt;
37&lt;br /&gt;
&lt;br /&gt;
51&lt;br /&gt;
&lt;br /&gt;
58&lt;br /&gt;
&lt;br /&gt;
70&lt;br /&gt;
&lt;br /&gt;
43&lt;br /&gt;
&lt;br /&gt;
25&lt;br /&gt;
&lt;br /&gt;
35&lt;br /&gt;
&lt;br /&gt;
46&lt;br /&gt;
&lt;br /&gt;
45&lt;br /&gt;
|&lt;br /&gt;
O80&lt;br /&gt;
&lt;br /&gt;
87&lt;br /&gt;
&lt;br /&gt;
99&lt;br /&gt;
&lt;br /&gt;
81&lt;br /&gt;
&lt;br /&gt;
88&lt;br /&gt;
&lt;br /&gt;
105&lt;br /&gt;
&lt;br /&gt;
104&lt;br /&gt;
&lt;br /&gt;
91&lt;br /&gt;
&lt;br /&gt;
90&lt;br /&gt;
&lt;br /&gt;
106&lt;br /&gt;
&lt;br /&gt;
97&lt;br /&gt;
&lt;br /&gt;
108&lt;br /&gt;
&lt;br /&gt;
102&lt;br /&gt;
&lt;br /&gt;
89&lt;br /&gt;
&lt;br /&gt;
93&lt;br /&gt;
&lt;br /&gt;
101&lt;br /&gt;
&lt;br /&gt;
92&lt;br /&gt;
&lt;br /&gt;
107&lt;br /&gt;
&lt;br /&gt;
78&lt;br /&gt;
&lt;br /&gt;
109&lt;br /&gt;
&lt;br /&gt;
86&lt;br /&gt;
&lt;br /&gt;
83&lt;br /&gt;
&lt;br /&gt;
94&lt;br /&gt;
&lt;br /&gt;
63 33 17 21 60 68 42 38 34 50 72 73 16 61 55 71 59 69 40 14 39 74 67 53 49 41 52 27 15 31 23 54 62 32 64 30 26 57 37 51 58 70 43 25 35 46 45 80 87 99 81 88 105 104 91 90 106 97 108 102 89 93 101 92 107 78 109 86 83 94&lt;br /&gt;
&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_783e625ce0b8a321.png|182x247px]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Preparation of TDESMD Orbital Files and Job Submission&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mkdir TDESMD_111_114&lt;br /&gt;
| We will now use the information of the CANDIDATES file and create new folder for each scenario. You create a file titled using the orbitals involved. In my case the first scenario is with orbitals 111 and 114&lt;br /&gt;
|-&lt;br /&gt;
| cd TDESMD_111_114&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_111_114/INCAR_EXCITED&lt;br /&gt;
| Taking INCAR_EXCITED file from location. In my case it is here.&lt;br /&gt;
|-&lt;br /&gt;
| vi INCAR_EXCITED&lt;br /&gt;
| Edit the INCAR_EXCITED file to make it look like&lt;br /&gt;
|-&lt;br /&gt;
| i&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_79a32df6f9f33bb0.png|303x201px]]&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
Change FERWE=#### to match the total number of orbitals/bands. In this example we have a total number of 160 bands/orbitals.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The first segment of FERWE, “110*1” says we have the first 110 orbitals occupied. The second portion is orbital number 111 which we have listed as a “0” signifying this orbital is unnoccopied for our job submission. Then orbital number 112 is occupied with “1”. Then orbital number 113 is unoccupied with “0”. Then orbital number 114 is occupied with “1”. The last part of “46*0” is talking about the other orbitals not mentioned. These orbital should add up to 160. These numbers change with the differing orbitals designating in the CANDIDATES FILE.&lt;br /&gt;
&lt;br /&gt;
The main thing that is changing is the position of one occupied orbital and one unoccupied orbital when the compound is in ground state. In this example number 111 is usually occupied in ground state and we are moving the electron to 114 which is unoccupied in ground state.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| ONE more example is as follows. With TDESMD_102_115&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_51e84877e4374ca6.png|300x199px]]&lt;br /&gt;
|-&lt;br /&gt;
| “esc” key&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/POSCAR ./CONTCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/KPOINTS&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/POTCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_111_114/debug1.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sbatch debug1.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Creating Videos from movieAll.xyz files and uploading them on youtube&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| scp –r TDESMD_###_### DestinationUser:/DestinationLocation&lt;br /&gt;
|&lt;br /&gt;
Starting in cori&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using this to send files from cori to photon. We specifically want the movieALL.xyz files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is sending the WHOLE directory and everything it contains&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
--OPEN A NEW TAB IN MOBA XTERM--&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Without logging into the account you should be able to see if you are on your current computer&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ls&lt;br /&gt;
| make sure you are in your computer directory. Usually you will see “DESKTOP” as an option&lt;br /&gt;
|-&lt;br /&gt;
| cd DESKTOP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mkdir TDESMD_###_###&lt;br /&gt;
|&lt;br /&gt;
In DESKTOP&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
generate TDESMD_###_### directories&lt;br /&gt;
|-&lt;br /&gt;
| scp kilin@photon.chem.ndsu.nodak.edu:/scratch001/Chem_476/CHEM676_2019/Meade/DIMER/TDESMD_##_###/movieALL.xyz .&lt;br /&gt;
| WHILE IN THE TDESMD DIRECTORY THAT YOU WANT TO BE THE DESTINATION take “movieALL.xyz” from photon and put into specific directory&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| Once the file is in your desktop you can go to your windows folders and open it to check if it is there.&lt;br /&gt;
|-&lt;br /&gt;
| In windows search bar&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| VMD&lt;br /&gt;
|&lt;br /&gt;
type vmd in windows search bar and open it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
VMD will open with multiple screens.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| We will focus on this screen first to open all the extra screens we need. (VMD Main)&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_5f31d31c2c72c623.png|244x114px]]&lt;br /&gt;
|-&lt;br /&gt;
| Press “File”, “New Molecule,”&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| On the window that comes up (Molecule File Browser) Press “Browse” and find the file you would like. Find the file you want. In this example it is an xyz file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Once A file is picked then press “Load” in the Molecule File Browser window.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Going back to VMD Main&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Press “Graphics” and Representations to open a long slender screen.(VMD Main)&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_c8cfeb66ca7723b0.png|225x487px]]&lt;br /&gt;
|-&lt;br /&gt;
| Press the “Create Rep” Button (Graphical Representation window)&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| With one of the “Reps” highlighted in green, in the drawing Method switch from Lines to VDW&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Change the Sphere scale to 0.2.&lt;br /&gt;
&lt;br /&gt;
Resolution can stay at default or can be raised if desired.&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6ceb4d7e0c7c142a.png|157x340px]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Click on the other line that still says “LINES” and in the Drawing Method change it to Dynamic Bonds&lt;br /&gt;
&lt;br /&gt;
Change Distance Cutoff to 1.6&lt;br /&gt;
&lt;br /&gt;
Bond Radius to 0.1&lt;br /&gt;
&lt;br /&gt;
And Resolution can stay at default or be increased&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_dba6c2b704e3401a.png|158x337px]]&lt;br /&gt;
|-&lt;br /&gt;
| Go back to VMD Main&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Go to “Extensions,” “Visualizations,” and “Movie maker”&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Go to the VMD Movie Generator window&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| In the box of “Name of movie” type the TDESMD_##_### you have.&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_b50ecc50051093d9.png|214x167px]]&lt;br /&gt;
|-&lt;br /&gt;
| “Set Working Directory“ choose the destination directory you want the movie to go to.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| “Rotation Angle” I put it to 0 but you can put it to whatever.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| “trajectory step size” 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| “Movie Duration” This depends on your frames from the (VMDMain) Usually 1000 frames is about 20-30 seconds if the speed (step) is set to 1. But By changing the speed of the video we should make the total video length to 30-45 seconds long.&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_b50ecc50051093d9.png|232x181px]]&lt;br /&gt;
|-&lt;br /&gt;
| Back to VMD Main window&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Press “Mouse,” “Label,” “Bonds”&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| click on two neighboring atoms to get the atom name and bond length&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
IN VMD Main, go to “Graphics” and “Labels.” select “atoms” in the drop down menu on the “Labels” window.&lt;br /&gt;
&lt;br /&gt;
Select all atoms by clicking on the top atom and then “SHIFT+left click” the bottom atom to select all atoms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
While all atoms are selected (highlighted in green). Go to “Properties” and in the “Format” box type %e%i.&lt;br /&gt;
&lt;br /&gt;
(The %e gives the element and the %i gives the index number)&lt;br /&gt;
&lt;br /&gt;
Some information can be presented by simply having your cursor over the %e%i and a yellow box will pop up for some info.&lt;br /&gt;
&lt;br /&gt;
You can move the lettering of each atom by moving the offset information.&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_46eab8f828aa40bc.png|215x201px]]&lt;br /&gt;
|-&lt;br /&gt;
| Click the global properties and change text size and text thickness. ( all of this can be see in the (VMD1.9.3 OpenGL Display) [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_260ebe13a2eda05.png|162x114px]]&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_3968014bc41ed6a4.png|224x212px]]&lt;br /&gt;
|-&lt;br /&gt;
| in VMD movie Generator press “make movie” and quickly in VMD main press the play button.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Once the video is done a popup should be produced asking where to find videomach. Here is the directory for my computer.&lt;br /&gt;
&lt;br /&gt;
C:\Program Files (x86)\VideoMach\videomach.exe&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Once you put in the file videomach.exe then videomach should show up.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Switch the file type to MP4&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6a986dcfd4344618.png|374x27px]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_da932791910b2a04.png|167x188px]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_d35497678abed954.png|155x364px]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| Polymer/Monomer Photodegradation: TDESMD 91 121 Bond Data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
Bond lengths shown (white lettering) are chosen to see if this degradation simulation relates to the photo cleavage explained in this specified paper.&lt;br /&gt;
&lt;br /&gt;
Angew. Chem. Int. Ed. 2015, 54, 1159 –1163&lt;br /&gt;
&lt;br /&gt;
The transition energy for this excitation is 0.24386664.&lt;br /&gt;
&lt;br /&gt;
From conformation labeled as &amp;amp;quot;DIMER&amp;amp;quot;&lt;br /&gt;
&lt;br /&gt;
Acknowledgements: Dr. Dmitri Kilin&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Obtaining MASSPECTRUM Data from FERWE TDESMD Calculations&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| We will be using python scripts that are premade. In PHOTON&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| go to the TDESMD_###_### directory you want to go to&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| in here make another directory called massspectrum&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mkdir massspectrum&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cd masssspectrum&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /Location/movieALL.xyz&lt;br /&gt;
| This should be from the TDESMD_###_### you are in.&lt;br /&gt;
|-&lt;br /&gt;
| cp /Location/script1n.py&lt;br /&gt;
| /scratch001/Chem_476/CHEM676_2019/Meade/Pythonscript/script1n.py&lt;br /&gt;
|-&lt;br /&gt;
| babel –ixyz movieALL.xyz shot.xyz -m&lt;br /&gt;
|&lt;br /&gt;
Creating shot files. Each shot is a “frame” from the video.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Record number of molecules converted.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-2055 molecules converted&lt;br /&gt;
&lt;br /&gt;
-2055 files output. The first is shot1.xyz&lt;br /&gt;
|-&lt;br /&gt;
| python3 script1n.py&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| enter number of molecules converted&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| a frequency file should be created&lt;br /&gt;
|-&lt;br /&gt;
| cp frequency.txt frequency1.txt&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| awk &#039;ORS=(!(NR%2)?&amp;amp;quot;\n&amp;amp;quot;:&amp;amp;quot; &amp;amp;quot;)&#039; RS=&amp;amp;quot; &amp;amp;quot; frequency.txt &amp;amp;gt; file1.txt&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp rmovingfile.sh&lt;br /&gt;
| /scratch001/Chem_476/CHEM676_2019/Meade/DIMER/TDESMD_112_116/massspectrum/MultipleCellMassSpec&lt;br /&gt;
|-&lt;br /&gt;
| bash rmovingfile.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| vi file1.txt&lt;br /&gt;
| Edit the file by deleting everything that doesn’t relate to the numbers.&lt;br /&gt;
|-&lt;br /&gt;
| i&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| before [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_b3731e92878413d2.png|289x328px]]&lt;br /&gt;
|&lt;br /&gt;
after&lt;br /&gt;
&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_c6aa114dd0a5843f.png|108x333px]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
IT IS NECESSARY TO MENTION THAT WHEN CREATING THE FRAGMENTS FILE AN EXTRA BLANK LINE WILL BE GENERATED. IT IS ESSENTIAL TO DELETE.&lt;br /&gt;
&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_2104ec24e9b14aae.png|258x363px]]&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_36d7bfd4ff6b9e13.png|218x371px]]&lt;br /&gt;
|-&lt;br /&gt;
| “esc” key&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp file1.txt fragments&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| wc fragments&lt;br /&gt;
|&lt;br /&gt;
record the first number&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
in my case it is 21&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/DRESS_FRAGMENT_v2&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
21&lt;br /&gt;
&lt;br /&gt;
100&lt;br /&gt;
&lt;br /&gt;
300&lt;br /&gt;
&lt;br /&gt;
.1&lt;br /&gt;
&lt;br /&gt;
1&lt;br /&gt;
&lt;br /&gt;
62&lt;br /&gt;
&lt;br /&gt;
160&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
number of states&lt;br /&gt;
&lt;br /&gt;
Min MASS (can change if desired)&lt;br /&gt;
&lt;br /&gt;
Max MASS (can change if desired)&lt;br /&gt;
&lt;br /&gt;
width of the line used&lt;br /&gt;
&lt;br /&gt;
magnitude (keep at one)&lt;br /&gt;
&lt;br /&gt;
number of atoms&lt;br /&gt;
&lt;br /&gt;
number of electrons&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Plotting FERWE MASSPECTRUM&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| gnuplot&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| set style line 4 lw 100 lc -1; unset key; plot &amp;amp;quot;MASS_SPEC.norm&amp;amp;quot; using 3:5 w l lw 3; set xlabel &#039;Molecular Weight, amu&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Intensity (a.u)&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Mass Spectrum Dimer Multiple Cells&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0&lt;br /&gt;
| e in the directory of the file you want to plot, in this example we are using MASS_SPEC.norm as our file with the data we want.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
set style line 4 lw 100 lc -1; unset key; plot &amp;amp;quot;MASS_SPEC.norm&amp;amp;quot; using 3:5 w l lw 3; set xlabel &#039;Molecular Weight, amu&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Intensity (a.u)&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Mass Spectrum Monomer H2O Multiple Cells&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;To press the right mouse button and move mouse to preferred window size. Then left click&lt;br /&gt;
| monomer h20&lt;br /&gt;
|-&lt;br /&gt;
| ressing p takes you to the previous zoom level, n to the next level, and u unzooms&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| set style line 4 lw 100 lc -1; unset key; plot &amp;amp;quot;MASS_SPEC.norm&amp;amp;quot; using 3:5 w l lw 3; set xlabel &#039;Molecular Weight, amu&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Intensity&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Mass Spectrum Dimer Multiple Cells&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Obtaining Multiple Cell MASSPECTRUM Data from FERWE TDESMD Calculations&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Make sure TDESMD CONTCAREXICTED and CONTCARGROUND files have been generated. Start in Cori go to Photon&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/test.sh&lt;br /&gt;
&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/ test_o.sh&lt;br /&gt;
&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/ANA_v2.exe&lt;br /&gt;
&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/input_ANA&lt;br /&gt;
&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/CONTCAREXICTED and GROUNDFILES&lt;br /&gt;
|&lt;br /&gt;
Take these files from Cori and put them into photon.&lt;br /&gt;
&lt;br /&gt;
These two files are needed for running the scripts properly&lt;br /&gt;
&lt;br /&gt;
These are the “important parts of the code”&lt;br /&gt;
&lt;br /&gt;
~/vtstools3/pos2xyz.pl CONTCAR&lt;br /&gt;
&lt;br /&gt;
cp CONTCAR.xyz INPUT.xyz&lt;br /&gt;
&lt;br /&gt;
~/bin/ANA_v2.exe&lt;br /&gt;
&lt;br /&gt;
cat OUTPUT.xyz &amp;amp;gt; movieANA.xyz&lt;br /&gt;
&lt;br /&gt;
input_ANA should have similar format to this&lt;br /&gt;
&lt;br /&gt;
Where the first 3 numbers are from POSCAR, the last 3 are the number of cells in the x,y,z axes respectively. This files was duplicated across Z axis.&lt;br /&gt;
&lt;br /&gt;
18.54438999999999&lt;br /&gt;
&lt;br /&gt;
14.45937999999995&lt;br /&gt;
&lt;br /&gt;
17.76793999999994&lt;br /&gt;
&lt;br /&gt;
1&lt;br /&gt;
&lt;br /&gt;
1&lt;br /&gt;
&lt;br /&gt;
10&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
~/vtstools3/pos2xyz.pl CONTCAR&lt;br /&gt;
&lt;br /&gt;
cp CONTCAR.xyz INPUT.xyz&lt;br /&gt;
&lt;br /&gt;
~/bin/ANA_v2.exe&lt;br /&gt;
&lt;br /&gt;
cat OUTPUT.xyz &amp;amp;gt; movieANA.xyz&lt;br /&gt;
|&lt;br /&gt;
Delete movieANA.xyz if you have it already.&lt;br /&gt;
&lt;br /&gt;
( This is to make sure the OUTPUT and initial part of the moveANA.xyz file is what it needs to be. In my situation I wanted to have 10 cells combined together.&lt;br /&gt;
&lt;br /&gt;
I used input_ANA&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
CHECK to see if OUTPUT has the correct number of atoms&lt;br /&gt;
&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_4a92367ce10afd50.png|624x64px]]&lt;br /&gt;
| Single cell had 620 atoms, I multipled it by 10 since I wanted to duplicate 10 times. If this is good procede to next steps&lt;br /&gt;
|-&lt;br /&gt;
| vi test.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_19d33c90b0cefb7a.png|278x215px]]&lt;br /&gt;
| change the number to later stage in your trajectory(or the number where you think degradation had occurred. For example my total CONTCARGround and excited was about 191 files. I saw degradation occur later in the simulation so I chose the number 190. This changes with the simulations.&lt;br /&gt;
|-&lt;br /&gt;
| bash test.sh&lt;br /&gt;
| this runs the test.sh file&lt;br /&gt;
|-&lt;br /&gt;
| bash test_o.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| NOW LOOKING INTO PHOTON&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp all files into photon directory&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /Location/script1n.py&lt;br /&gt;
| /scratch001/Chem_476/CHEM676_2019/Meade/Pythonscript/script1n.py&lt;br /&gt;
|-&lt;br /&gt;
| babel –ixyz movieANA.xyz shot.xyz -m&lt;br /&gt;
|&lt;br /&gt;
Creating shot files. Each shot is a “frame” from the video.&lt;br /&gt;
&lt;br /&gt;
Record number of molecules converted.&lt;br /&gt;
&lt;br /&gt;
-2055 molecules converted&lt;br /&gt;
&lt;br /&gt;
-2055 files output. The first is shot1.xyz&lt;br /&gt;
|-&lt;br /&gt;
| Follow regular mass spec steps from above. Rather than using MovieALL we are using movieANA.xyz.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
photon&lt;br /&gt;
&lt;br /&gt;
/scratch001/Chem_476/CHEM676_2019/Meade/DIMER/TDESMD_112_116/massspectrum/MultipleCellMassSpec&lt;br /&gt;
&lt;br /&gt;
cori&lt;br /&gt;
&lt;br /&gt;
/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/test&lt;br /&gt;
|-&lt;br /&gt;
| plummer code for renaming files&lt;br /&gt;
| /global/project/projectdirs/m1251/vasp/CHEM676/meade/MONOMER_H2O/TDESMD_162_167/massspec/multiplemassspectest/plumoutput&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;How to read/get the fragments with their xyz coordinates&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Go into the directory with the shot files with the multiple cells. Make sure that some files have this comment inside of them by opening a shot file that has name shot##n#.xyz&lt;br /&gt;
&lt;br /&gt;
The comment should be.&lt;br /&gt;
&lt;br /&gt;
created by duplicating cells#&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| grep -E &#039;created by duplicating cells.* 17.&#039; shot*&lt;br /&gt;
|&lt;br /&gt;
finds lines that have both “created by duplicating cells” and the number 17 in the same line.&lt;br /&gt;
&lt;br /&gt;
17 is the mass number we are looking for&lt;br /&gt;
&lt;br /&gt;
I am unsure what the “.*” does in this code&lt;br /&gt;
&lt;br /&gt;
make sure there is a space between the * and the 17&lt;br /&gt;
|-&lt;br /&gt;
| Then open one of the xyz files listed.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Literally drag and copy the file information into a notepad document in your desktop.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| more shot291n10.xyz&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_9c48a58b9e24dc27.png|210x268px]]&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_7c3a89906ed25e30.png|180x270px]]&lt;br /&gt;
|-&lt;br /&gt;
| open the xyz file in Avogadro and save as mol file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| the Avogadro file is correct visualization of the fragments. Mol file will have some defects so you will have to change those.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Making Video from output of VASP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
~/vtstools3/pos2xyz.pl CONTCAR&lt;br /&gt;
&lt;br /&gt;
cp CONTCAR.xyz INPUT.xyz&lt;br /&gt;
&lt;br /&gt;
~/bin/ANA_v2.exemore&lt;br /&gt;
&lt;br /&gt;
cat OUTPUT.xyz &amp;amp;gt; movieANA.xyz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
Delete movieANA.xyz if you have it already.&lt;br /&gt;
&lt;br /&gt;
( This is to make sure the OUTPUT and initial part of the moveANA.xyz file is what it needs to be. In my situation I wanted to have 10 cells combined together.&lt;br /&gt;
&lt;br /&gt;
I used input_ANA&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;LAAMPS&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_796f3aade1e5b306.png|314x150px]]&lt;br /&gt;
|&lt;br /&gt;
testwater file:&lt;br /&gt;
&lt;br /&gt;
Epsolon is Inputs from something like DFT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Columns:&lt;br /&gt;
&lt;br /&gt;
Atom ID&lt;br /&gt;
&lt;br /&gt;
Molecule ID&lt;br /&gt;
&lt;br /&gt;
Atom Type&lt;br /&gt;
&lt;br /&gt;
Q - charge&lt;br /&gt;
&lt;br /&gt;
X&lt;br /&gt;
&lt;br /&gt;
Y&lt;br /&gt;
&lt;br /&gt;
Z&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_f474cba5e65bdaab.png|306x66px]]&lt;br /&gt;
| This infor can be put in input script if desired.&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_a9802b534de46367.png|624x180px]]&lt;br /&gt;
|&lt;br /&gt;
bond id&lt;br /&gt;
&lt;br /&gt;
bond tuype&lt;br /&gt;
&lt;br /&gt;
atom id that connects&lt;br /&gt;
&lt;br /&gt;
atom id that connects as well&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_3b00d172c3a15f2b.png|310x103px]]&lt;br /&gt;
|&lt;br /&gt;
Angle ID&lt;br /&gt;
&lt;br /&gt;
Angle Type 1 being single bond 2 being double, etc&lt;br /&gt;
&lt;br /&gt;
Item ID such as first atom O , 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; and 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; atom H&lt;br /&gt;
|-&lt;br /&gt;
| qsub submit.sh&lt;br /&gt;
| submits the job using submit.sh&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;background: #101010&amp;quot;&amp;gt;qstat -u meade.erickson&amp;lt;/span&amp;gt;&lt;br /&gt;
| shoes me my jobs&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;background: #101010&amp;quot;&amp;gt;chmod -777 lmp_mpi_12Dec18&amp;lt;/span&amp;gt;&lt;br /&gt;
| modifies permission for this file&lt;br /&gt;
|-&lt;br /&gt;
| [meade.erickson@login0002 testwater]$ chmod -777 ~/bin/lmp_mpi_12Dec18&lt;br /&gt;
| giving permission while in a different&lt;br /&gt;
|-&lt;br /&gt;
| topo readlammpsdata project.data&lt;br /&gt;
| reads data file for vmd tk console&lt;br /&gt;
|-&lt;br /&gt;
| Inputting files, put in .dcd file then right click on it and “Load Data into Molecule” then select .data file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_73b2551819922e26.png|287x164px]]&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| module avail&lt;br /&gt;
| Available software in ccast&lt;br /&gt;
|-&lt;br /&gt;
| qdet job id&lt;br /&gt;
| qdel ######&lt;br /&gt;
|-&lt;br /&gt;
| fragment 0 to 9 or fragment 14&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Unix_crash_course&amp;diff=128</id>
		<title>Unix crash course</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Unix_crash_course&amp;diff=128"/>
		<updated>2022-10-21T17:43:03Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: created page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#Introduction to Unix&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;syllabus&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Syllabus ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: decimal;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Recommended course material:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Unix and Linux System Administration 5th Edition - Evi Nemeth, et al.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;CompTIA Linux+ Study Guide 4th Edition - Chritine Bresnahan and Richard Blum&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Objectives&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Shell scripting, input redirection, and C++/C code in a GNU/Linux environment&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;understanding of Linux file system including permissions&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;understanding of command and how to intermingle them to achieve more complex goals&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;basic system architecture, installation process, and management of Linux/Unix&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;General notes&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Learning to use Bash scripting and &amp;lt;code&amp;gt;vi&amp;lt;/code&amp;gt;/&amp;lt;code&amp;gt;neovim&amp;lt;/code&amp;gt; essential to professional usage of Linux in real life&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Any commands discussed in class can be looked up via ‘man’&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
##History ###What is Unix? 1. Bell System a. Dates back to late 1960s, Originally developed by Ken Thompson and Dennis Ritchie of Bell Labs b. Ritchie described the initial goal as to create a good environment in which to: - do programming and development - foster communal computing through remote access and close communication c. Unix originally written in assembly, but was later re-written in C in 1972 d. first public releases in 1973, at Symposium on Operating Systems Principles; early source code sent by standard mail e. 1975, Version 6 of Unix was licensed to companies for the first time. However, commercial users were rare. Licensees only recieved source code from AT&amp;amp;amp;T. f. Also in 1975, Ken Thompson takes a sabbatical from Bell Labs as a professor at UC Berkeley. Creates BSD: The Berkeley System Distribution of Unix 4.2. - includes C-shell and vi editor for first time g. 1983: Bell broken into several companies in anti-trust suit against AT&amp;amp;amp;T. h. AT&amp;amp;amp;T new restrictive license almost kills commercial Unix. By 1991, BSD had grown to a complete rewrite of AT&amp;amp;amp;T Unix and comes with BSD license. i. BSD survives today as: FreeBSD, OpenBSD, NetBSD, etc. Additionally, Darwin kernel of Mac OSX continues as a form of Unix. 1. GNU Project into Linux a. Around 1983, Richard Stallman creates GNU project b. Stallman’s GNU system goal was to create a ‘free’ system of software that had many of other capabilities of the commercial tools that many Unix also had c. By 1985, Stallman had founded the Free Software Foundation to raise funds to develop free versions of all the components of the Unix syste, under GNU GPL d. In 1991, Linus Torvalds began the development of a new free OS based on the MINIX operation system and SunOS. The 21 year old puts together the kernel. e. As the kernel for the GNU project was still very much in development, the two projects became a natural fit. f. To this day, Stallman insists that Linux is GNU/Linux due to the large reliance on GNU toolchain&lt;br /&gt;
&lt;br /&gt;
#Introduction to Red Hat Enterprise Linux ###Package Manager - YUM 1. stands for YellowDog Updater Modified 2. provides a set of tools for retrieving software from the internet using subscriptions to an update server 3. utilizes .rpm software to install packages for management 4. creates an Enterprise Linux environment - cons: less software options overall - pro: all available software is tested and works without additional configuration 5. &amp;lt;code&amp;gt;yum&amp;lt;/code&amp;gt; has an additional, alternative wrapper program &amp;lt;code&amp;gt;dnf&amp;lt;/code&amp;gt; to improve output and ease of use - stands for DaNdified YUM - commands in the format &amp;lt;code&amp;gt;sudo dnf [verb] [objects]&amp;lt;/code&amp;gt; - &amp;lt;code&amp;gt;-y&amp;lt;/code&amp;gt; flag gives YES as passed option for less attended installation 6. command commands - &amp;lt;code&amp;gt;sudo dnf -y install [package_name]&amp;lt;/code&amp;gt; install a particular package and dependencies - &amp;lt;code&amp;gt;sudo dnf -y update&amp;lt;/code&amp;gt; update all packages&lt;br /&gt;
&lt;br /&gt;
#Introduction to Ubuntu ###Package Manager - APT 1. stands for Advanced Package Manager 2. Ubuntu’s set of tools to install packages and keep them up to date 3. utilizes .deb software packages for management 4. keep in mind this package management system is far from standard a. RPM is Linux Standard Base b. Many commerical Unixes have their own package managers c. when all else fails, a tarball (.tar) fille can be used to build from source 5. Commands a. &amp;lt;code&amp;gt;apt-get update&amp;lt;/code&amp;gt; synchronizes the index of packages to your system b. &amp;lt;code&amp;gt;apt-get upgrade&amp;lt;/code&amp;gt; downloads and installs new versions of all currently installed packages in place, based on the index c. &amp;lt;code&amp;gt;apt-get dist-upgrade&amp;lt;/code&amp;gt; downloads and installs new versions, and moves the system up to the next version, based on the index d. &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt; was originally “superuserdo”, now works to substitute - users and run programs as that user. /etc/sudoers controls this behavior. e. &amp;lt;code&amp;gt;sudo apt-get install foo&amp;lt;/code&amp;gt; : installs package named &#039;&#039;&#039;foo&#039;&#039;&#039; f. &amp;lt;code&amp;gt;sudo apt-get remove bar&amp;lt;/code&amp;gt; : removes a package named &#039;&#039;&#039;bar&#039;&#039;&#039;, but not the config files g. &amp;lt;code&amp;gt;sudo apt-get purge bar&amp;lt;/code&amp;gt; : removes a package named &#039;&#039;&#039;bar&#039;&#039;&#039;, and removes config files 8. sudo apt-get source * : gets the source code for a package 9. sudo apt-get clean : removes downloaded packages (.deb files) used to install&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;filesystem&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Filesystem ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: decimal;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Directories&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;first and bottom of the directory of the file structure tree is called root &#039;&#039;&#039;/&#039;&#039;&#039;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/root&#039;&#039;&#039; in addition, there is a file directory, within the root directory called /root (“slash root”), which acts as root’s home directory&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/home&#039;&#039;&#039; normal users’ directories&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/boot&#039;&#039;&#039; contains the boot directory, including kernel, initial RAMdisk, and bootloader&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/dev&#039;&#039;&#039; lists all devices of the computer&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/etc&#039;&#039;&#039; configuration files for nearly all programs that need a state&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/tmp&#039;&#039;&#039; temporary files for the system&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/var&#039;&#039;&#039; variable-length files used by programs&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/var/spool&#039;&#039;&#039; old-school webmail location&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/var/www&#039;&#039;&#039; location of http server files&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/usr&#039;&#039;&#039; files available to users, including binaries for daily user tasks in /usr/bin&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/sbin&#039;&#039;&#039; binaries used only by root&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;/bin&#039;&#039;&#039; binaries for the system everyone needs to use&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Commands&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;cd&#039;&#039;&#039; change directories&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;~&#039;&#039;&#039; alias used to shortcut the current user directory&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;Ctrl+R&#039;&#039;&#039; search history of commands in &amp;lt;code&amp;gt;bash&amp;lt;/code&amp;gt;; also available as output from &amp;lt;code&amp;gt;history&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;!!&#039;&#039;&#039; runs the previous command&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;ls&#039;&#039;&#039; list in the contents of current directory&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;.&#039;&#039;&#039;: the current directory&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;..&#039;&#039;&#039; : go up one directory#User and Group Configuration&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;useraddusermod&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== useradd/usermod ===&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;code&amp;gt;useradd&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;usermod&amp;lt;/code&amp;gt; do much the same thing&lt;br /&gt;
#* &amp;lt;code&amp;gt;-c&amp;lt;/code&amp;gt; allows to add comments&lt;br /&gt;
#* &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt; allows to change user home directory&lt;br /&gt;
#* &amp;lt;code&amp;gt;-e&amp;lt;/code&amp;gt; expiration date - date an account will expire (in YYYYMMDD format), kept in &amp;lt;code&amp;gt;/etc/shadow&amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt;-f&amp;lt;/code&amp;gt; specify how many days the account can be inactive before password expires, kept in &amp;lt;code&amp;gt;/etc/shadow&amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt;-g&amp;lt;/code&amp;gt; specify default group of the user&lt;br /&gt;
#* &amp;lt;code&amp;gt;-G&amp;lt;/code&amp;gt; append a list of additional groups for the user&lt;br /&gt;
#* &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt;(usermod only) changes a user login ex: &amp;lt;code&amp;gt;usermod -l darren darseife&amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt;-u&amp;lt;/code&amp;gt; uid&lt;br /&gt;
#* &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt; specifies login shell&lt;br /&gt;
#* &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt; specify pre-hashed password&lt;br /&gt;
#* &amp;lt;code&amp;gt;-L&amp;lt;/code&amp;gt; (usermod only) locks the user’s password so it cannot be entered directly (best used with -e, as well)&lt;br /&gt;
#* &amp;lt;code&amp;gt;-U&amp;lt;/code&amp;gt; will unlock a user’s password&lt;br /&gt;
&lt;br /&gt;
###passwd command revisited 1. &amp;lt;code&amp;gt;sudo passwd darseife&amp;lt;/code&amp;gt; change the password of darseife 2. &amp;lt;code&amp;gt;passwd&amp;lt;/code&amp;gt; can also be used to lock and unlock accounts a. &amp;lt;code&amp;gt;passwd -l&amp;lt;/code&amp;gt; will lock the account’s password b. a locked password will always be input incorrectly c. does not necessarily lock user out of the account d. puts an &amp;lt;code&amp;gt;!&amp;lt;/code&amp;gt; at the beginning of the password field in &amp;lt;code&amp;gt;/etc/shadow&amp;lt;/code&amp;gt; e. &amp;lt;code&amp;gt;crypt&amp;lt;/code&amp;gt;, the algorithm used to implement ciphers, cannot generate an &amp;lt;code&amp;gt;!&amp;lt;/code&amp;gt;so the password hash is disabled f. &amp;lt;code&amp;gt;passwd -u&amp;lt;/code&amp;gt; would unlock the account’s password g. &amp;lt;code&amp;gt;passwd -d&amp;lt;/code&amp;gt; removes the password of the account h. &amp;lt;code&amp;gt;passwd -S&amp;lt;/code&amp;gt; displays account information: - last password change - password expires - password inactive - account expires - minimum days between password change - maximum days before password change - warn period before changes&lt;br /&gt;
&lt;br /&gt;
###chage 1. The &amp;lt;code&amp;gt;chage&amp;lt;/code&amp;gt; command allows you to modify account settings related to password expiration and aging 2. &amp;lt;code&amp;gt;chage&amp;lt;/code&amp;gt; can also be used to configure accounts to automatically expire if: - the password hasn’t been changed - or a date has been passed 3. &amp;lt;code&amp;gt;chage -l&amp;lt;/code&amp;gt; print expiration settings of an account 4. &amp;lt;code&amp;gt;chage -m DAYS username&amp;lt;/code&amp;gt; to set the minimum time between password changes 5. &amp;lt;code&amp;gt;chage -M DAYS username&amp;lt;/code&amp;gt; to set the maximum time between password changes 6. &amp;lt;code&amp;gt;chage -d YYYYMMDD username&amp;lt;/code&amp;gt; update the last day YYYY-MM-DD on which to change the password 7. &amp;lt;code&amp;gt;chage -E YYYYMMDD username&amp;lt;/code&amp;gt; set the expiration date as YYYY-MM-DD on which username’s account expires - setting the number to &amp;lt;code&amp;gt;-1&amp;lt;/code&amp;gt; will make it never expire 8. &amp;lt;code&amp;gt;chage -I DAYS username&amp;lt;/code&amp;gt; will lock the account password after number of days inactive 9. &amp;lt;code&amp;gt;chage -W DAYS username&amp;lt;/code&amp;gt; number of days the user will be warned before their account is made inactive 10. All of these settings are stored in &amp;lt;code&amp;gt;/etc/shadow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
###userdel 1. &amp;lt;code&amp;gt;userdel username&amp;lt;/code&amp;gt; deletes users 2. &amp;lt;code&amp;gt;userdel -r username&amp;lt;/code&amp;gt; deletes the user, their mail spool, their home directory, and everything in it 3. &amp;lt;code&amp;gt;userdel -f username&amp;lt;/code&amp;gt; deletes the user &#039;&#039;right now&#039;&#039; even if they are logged in&lt;br /&gt;
&lt;br /&gt;
###groupadd and groupmod 1. &amp;lt;code&amp;gt;groupadd&amp;lt;/code&amp;gt;add a group to a system 2. &amp;lt;code&amp;gt;groupadd -r&amp;lt;/code&amp;gt; used to create a system group, creating a GUID above 1000 3. &amp;lt;code&amp;gt;groupmod&amp;lt;/code&amp;gt; change a group 4. &amp;lt;code&amp;gt;groupmod -n&amp;lt;/code&amp;gt; change a group name&lt;br /&gt;
&lt;br /&gt;
###gpasswd - group password 1. &amp;lt;code&amp;gt;gpasswd groupname&amp;lt;/code&amp;gt; sets password for a group; it is most common to not have a group password 2. &amp;lt;code&amp;gt;gpasswd -R&amp;lt;/code&amp;gt; restricts access to users logging in with password via newgrp&lt;br /&gt;
&lt;br /&gt;
###getent - get entities 1. can be used to view individual records in &amp;lt;code&amp;gt;/etc/passwd&amp;lt;/code&amp;gt;, and other files 2. useful for getting exact matches for items 3. &amp;lt;code&amp;gt;getent password username&amp;lt;/code&amp;gt; - get passwd information for user 4. &amp;lt;code&amp;gt;getent shadow username&amp;lt;/code&amp;gt; - get shadow information for user 5. &amp;lt;code&amp;gt;getent group groupname&amp;lt;/code&amp;gt; - get group information for user#The *nix CLI ###The Shell explained 1. A shell is a command interpreter where the user interacts with the system via command line interface (CLI) 2. Different shells currently in-use A. &#039;&#039;&#039;Bourne-Again SHell&#039;&#039;&#039; - located at &amp;lt;code&amp;gt;/bin/bash&amp;lt;/code&amp;gt; is the main shell and is used was a default on most Linux systems B. &#039;&#039;&#039;sh&#039;&#039;&#039; - The Bourne Shell, old school version does not require any libraries. Rarely seen as a user-interface shell; typically a symbolic link to another shell binary. Created by Stephen Bourne, first included in Unix V7 C. &#039;&#039;&#039;tcsh&#039;&#039;&#039; Tee Shell. Based on the earlier C-shell from Unix. Has some additional features built into it. D. &#039;&#039;&#039;csh&#039;&#039;&#039; C-shell, a BSD component not often seen on Linux. Created by Bill Joy at UC Berkeley. E. &#039;&#039;&#039;ksh&#039;&#039;&#039; Korn shell from Bell Labs in the 1980s. The idea was to incorporate features from the Bourne Shell along with C-programming syntax. F. &#039;&#039;&#039;zsh&#039;&#039;&#039; 1990s, incorporates additional ideas into ksh. 3. Built-in Commands A. &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; changes directory - &amp;lt;code&amp;gt;cd ~&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;cd /home/user&amp;lt;/code&amp;gt; are equivalent B. &amp;lt;code&amp;gt;ls -&amp;lt;/code&amp;gt; lists files in a directory - default behavior just lists files - &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt; lists all files including hidden ones - &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt; long format - &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt; just directories - &amp;lt;code&amp;gt;-F&amp;lt;/code&amp;gt; uses a special character to rep filetypes - &amp;lt;code&amp;gt;-R&amp;lt;/code&amp;gt; recursive listing C. Single characters are substituted by &amp;lt;code&amp;gt;?&amp;lt;/code&amp;gt;, wildcards by &amp;lt;code&amp;gt;*&amp;lt;/code&amp;gt; D. Exiting the system - &amp;lt;code&amp;gt;exit&amp;lt;/code&amp;gt; exits the current shell - &amp;lt;code&amp;gt;logout&amp;lt;/code&amp;gt; only works for login shells E. Shutting down the system - &amp;lt;code&amp;gt;shutdown -h now&amp;lt;/code&amp;gt; halts the system now - &amp;lt;code&amp;gt;shutdown -r now&amp;lt;/code&amp;gt; restarts the system now - &amp;lt;code&amp;gt;shutdown -h +5 &amp;amp;quot; &amp;amp;quot;&amp;lt;/code&amp;gt; broadcasts the message in quotes and tells people it will be down in 5minutes - &amp;lt;code&amp;gt;halt&amp;lt;/code&amp;gt; on most systems, will drop the system into single user mode - &amp;lt;code&amp;gt;poweroff&amp;lt;/code&amp;gt; “on fire” graceless exit. Sends HW signal to kill power - &amp;lt;code&amp;gt;reboot&amp;lt;/code&amp;gt; essentially ‘shutdown -r’ - &amp;lt;code&amp;gt;reboot -f&amp;lt;/code&amp;gt; graceless restart exit, Sends HW signal to reboot F. &amp;lt;code&amp;gt;init&amp;lt;/code&amp;gt; relies on a series of programs or scripts to change run-state of machine and to start/stop linux services - &amp;lt;code&amp;gt;init 0&amp;lt;/code&amp;gt; - shuts the machine down - &amp;lt;code&amp;gt;init 6&amp;lt;/code&amp;gt; - reboots the machine - &amp;lt;code&amp;gt;init S&amp;lt;/code&amp;gt; - initializes system boot&lt;br /&gt;
&lt;br /&gt;
###Man pages and getting help 1. displays the manual pages for any packages on the system 2. typing &amp;lt;code&amp;gt;[/]&amp;lt;/code&amp;gt; will allow you to search through the page 3. allows you to move via &amp;lt;code&amp;gt;[spacebar]&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;[pgup/pgdn]&amp;lt;/code&amp;gt; 4. &amp;lt;code&amp;gt;man&amp;lt;/code&amp;gt; is broken up into seperate chapters: &amp;lt;code&amp;gt;man 5&amp;lt;/code&amp;gt; would show chapter 5 1. executable programs and shell 2. system calls 3. library calls 4. device calls 5. file formats 6. games 7. misc. (macro packages) 8. sys admin commands 9. kernel routines 5. &amp;lt;code&amp;gt;man -k *&amp;lt;/code&amp;gt; : to find any pages matching &amp;lt;code&amp;gt;*&amp;lt;/code&amp;gt; 6. most programs also allow for &amp;lt;code&amp;gt;--help&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;-?&amp;lt;/code&amp;gt; to be passed for a quick rundown on commands and usage&lt;br /&gt;
&lt;br /&gt;
###Unix filesystem permissions 1. filesystem permissions saved as a series of 3 bit numbers 2. format: &amp;lt;code&amp;gt;d,rwx,rwx,rwx&amp;lt;/code&amp;gt; for read-write-execute a. &amp;lt;code&amp;gt;d&amp;lt;/code&amp;gt; - denotes a Directory or file b. first triad is for the User of the file c. second triad is for Group members of the file d. third triad is for Everyone else 3. Read-write-execute for files a. &#039;&#039;&#039;Read&#039;&#039;&#039; allows the file to be opened b. &#039;&#039;&#039;Write&#039;&#039;&#039; allows for the file to be edited c. &#039;&#039;&#039;Execute&#039;&#039;&#039; allows for the file to run as a program 4. Read-write-execute for directories a. &#039;&#039;&#039;Read&#039;&#039;&#039; allows for the directory to view filenames in the directory b. &#039;&#039;&#039;Write&#039;&#039;&#039; allows files to be added or deleted from a dir c. &#039;&#039;&#039;Execute&#039;&#039;&#039; allows the directory to be visited, “permission to traverse through”; must have this to execute programs within a directory 5. &amp;lt;code&amp;gt;chmod&amp;lt;/code&amp;gt; changes file and directory permissions a. two modes for chmod 1. &#039;&#039;&#039;symbolic mode&#039;&#039;&#039; &amp;lt;code&amp;gt;chmod {u,g,o}[+,-,=]{r,w,x}&amp;lt;/code&amp;gt; 2. absolute mode - chmod 777 /path/to/file` * 0 no permissions * 1 execute * 2 write * 4 read F. chown - change file owner and group 1. chown user /foo - changes foo’s owner to user 2. chown root:root /foo - changes foo’s owner to root, also changes foo’s group to root G. echo - displays any text you enter after the command 1. primarially used in shell scripts or ‘programs’ that utilize a combination of of built-in commands, variables, and executables to complete tasks 2. variables reached from echo by invoking the variable name as $NAME #Input Redirection and Utils&lt;br /&gt;
&lt;br /&gt;
###Redirection symbols 1. prog &amp;amp;gt; - redirects std output to the file, truncating and rewriting 2. prog 2&amp;amp;gt; - redirect std error to the file, truncating and rewriting 3. &amp;amp;amp;&amp;amp;gt; - redirects both std output and error to file 4. &amp;lt;code&amp;gt;&amp;amp;gt;&amp;amp;gt;&amp;lt;/code&amp;gt; - non-destructively appends to end of file rather than rewriting 5. &amp;lt;code&amp;gt;- &amp;amp;quot;backtick&amp;amp;quot; process commands in the middle of another command 	a. A tool similar to xargs 	b. text within backticks are treated as a separate command line who&#039;s results are substituted on this command line 	c. things inside of backticks are attempted to be used as a command 	d. example: rm&amp;lt;/code&amp;gt; find / - user darren ` 6. $() - is used like a backtick; more resistant to weird syntax&lt;br /&gt;
&lt;br /&gt;
###Piping data between programs 1. programs on a UNIX system frequently use pipes to redirect each other’s output. 2. for instance you might use a text-filtering command on output from a file reading command. 3. allows small programs to operate on a flow of information in a row 4. | - this is an unnamed pipe 5. mkfifo - allows for the creation of named pipes a. &amp;lt;code&amp;gt;mkfifo fifo1&amp;lt;/code&amp;gt; b. &amp;lt;code&amp;gt;ls -l &amp;amp;gt; fifo1&amp;lt;/code&amp;gt; c. &amp;lt;code&amp;gt;cat &amp;amp;lt; fifo1&amp;lt;/code&amp;gt; 6. tee - read from standard input and write to standard output and files a. splits standard input so that is it is both displayed via standard output and also captured to one of more files b. allows for logging and redirection while the process is also shown on screen c. overwrites to a file as per ‘&amp;amp;gt;’ by default rather than like ‘&amp;amp;gt;&amp;amp;gt;’ d. example - echo $PATH | tee file1 file2 - file1, file2, and stdoutput all have same information 5. find - searches for files in directory hierarchy 6. xargs - builds a command from standard input, using command name and arguments to that command and then executes the command on each line of standard input a. example: find / - user darren | xargs -d %rm 7. file - returns the type of file and metadata information regarding files 8. join - combines two text files by matching the contents of specified fields a. by default, join uses spaces as the limiters (unless -t CHAR is given) b. example: join -1 3 -2 2 - this joins the third field of the first file and the second field of the second file 9. paste A. Paste is like cat rotated 90 degrees. When operating on multiple files, it will merge the lines of the files. 10. expand - converts tabs to spaces A. by default assumes you want 8 spaces per tab; -t changes B. unexpand - converts spaces to tabs 11. od - dump files into octal and other formats A. default usage is dumping binary file into octal binary format B. -x for 2byte hex output 12. sort - sorts lines of text files A. writes sorted concatenation of all files as output B. by default, uses first column C. Important options 1. -f : ignore case 2. -m : sort by three digit month abbreviation; ex, jan 3. -n : numeric sort 4. -v : sort by versio 5. -h : compare human readable numbers 6. -r : reverses the sort 7. -R : sorts randomly but groups like files 8. -d : dictionary-order 9. -k : sort via key, sorts by a field number, can be comma-seperated listq D. the opposite of this is ‘shuf’ 13. split - splits a file into 2 or more files A. needs to have an output file prefix B. where do you want to split 1. -b : size in bytes 2. -l : lines C. example: split -l 2 listening1.txt numbers -&amp;amp;gt; output is: ‘numbersaa’ and ‘numbersab’ D. by default: splits every 10,000 lines 14. tr - trnaslate or delete characters A. changes individual characters coming in through standard input and outputs via standard output B. options 1. [:lower:] - all lower case chars 2. [:upper:] - all upper case chars 3. [::] 15. cut - extracts portions of lines of input and prints out as output A. used to remove items within lines, delimited by spaces or tabs B. options 1. -b : cuts the specified list by byte 2. -c : cuts the specified characters 3. -f : cuts specified list of fields from input 4. -d : specifies the delimiter for fields C. EXAMPLE: cut -f 7 -d : /etc/passwd 16. uniq - take an input list and report or omit repeated lines A. only if they are next to each other, so you have to sort first B. EXAMPLE: cut -f 7 -d : /etc/passwd | sort | uniq&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;c-programs-and-makefiles&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== C++ programs and Makefiles ===&lt;br /&gt;
&lt;br /&gt;
# Basic C++ program with input and output&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;int main (int args, char * argv[]){&lt;br /&gt;
	for(int x = 0; x &amp;amp;lt; argv[],x++){&lt;br /&gt;
		cout &amp;amp;lt;&amp;amp;lt; arv[x] &amp;amp;lt;&amp;amp;lt; endl;&lt;br /&gt;
	}&lt;br /&gt;
return 0;&lt;br /&gt;
}&lt;br /&gt;
// outputs every character given to it&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;ol start=&amp;quot;2&amp;quot; style=&amp;quot;list-style-type: decimal;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Let’s write a less good version of grep called greb:&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#include &amp;amp;lt;iostream&amp;amp;gt;&lt;br /&gt;
#include &amp;amp;lt;fstream&amp;amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
&lt;br /&gt;
int main(int argc, char * argv[]) {&lt;br /&gt;
	string curLine;&lt;br /&gt;
	if (argc == 2){&lt;br /&gt;
		while(getline(cin,curLine)) {&lt;br /&gt;
			if (curLine.find(argv[1]) != string::npos) {&lt;br /&gt;
				cout &amp;amp;lt;&amp;amp;lt; curLine &amp;amp;lt;&amp;amp;lt; endl;&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	else if (argc == 3){&lt;br /&gt;
		ifstream inFile(argv[2], ifstream::in);&lt;br /&gt;
&lt;br /&gt;
		while(getline(inFile,curLine)) {&lt;br /&gt;
			if (curLine.find(argv[1]) != string::npos) {&lt;br /&gt;
				cout &amp;amp;lt;&amp;amp;lt; curLine &amp;amp;lt;&amp;amp;lt; endl;&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
	else {&lt;br /&gt;
		cerr &amp;amp;lt;&amp;amp;lt; &amp;amp;quot;Error: unknown parameters.&amp;amp;quot; &amp;amp;lt;&amp;amp;lt; endl;&lt;br /&gt;
		return 1;&lt;br /&gt;
	}&lt;br /&gt;
	return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;ol start=&amp;quot;3&amp;quot; style=&amp;quot;list-style-type: decimal;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Make A. Allows for automatic configuration and creation of usable binararies from OOP files, and can be used to install and uninstall programs B. Allows for the creation of archives of source code that build as packages into useful code C. typically named ‘makefile’&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# set a variables for the compiler&lt;br /&gt;
CC = g++&lt;br /&gt;
LC_MESSAGES=C&lt;br /&gt;
CFLAGS=-g -Wall&lt;br /&gt;
&lt;br /&gt;
# target name variable&lt;br /&gt;
TARGET = greb&lt;br /&gt;
&lt;br /&gt;
# file extension&lt;br /&gt;
FILEXT = cpp&lt;br /&gt;
&lt;br /&gt;
# the build target executable =&amp;amp;gt; install path of the executable&lt;br /&gt;
PREFIX = /usr/local&lt;br /&gt;
DESTDIR = /home/bernd/staging/&lt;br /&gt;
&lt;br /&gt;
# basic makefile format&lt;br /&gt;
# name of instruction: dependencies&lt;br /&gt;
# &amp;amp;lt;tab&amp;amp;gt; command to execute&lt;br /&gt;
# the FIRST one you list is the default&lt;br /&gt;
$(TARGET): $(TARGET).$(FILEXT)&lt;br /&gt;
	$(CC) $(CFLAGS) -o $(TARGET) $(TARGET).$(FILEXT)&lt;br /&gt;
&lt;br /&gt;
.PHONY: all&lt;br /&gt;
all: $(TARGET).$(FILEXT)&lt;br /&gt;
	$(CC) $(MAKEOPTS) $(CFLAGS) -o $(TARGET) $(TARGET).$(FILEXT)&lt;br /&gt;
&lt;br /&gt;
.PHONY: clean&lt;br /&gt;
clean:&lt;br /&gt;
	rm $(TARGET)&lt;br /&gt;
&lt;br /&gt;
.PHONY: install&lt;br /&gt;
install: $(TARGET)&lt;br /&gt;
	mkdir -p $(DESTDIR)$(PREFIX)/bin&lt;br /&gt;
	cp $&amp;amp;lt; $(DESTDIR)$(PREFIX)/bin/$&amp;amp;lt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;tar-and-packaging&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Tar and Packaging ===&lt;br /&gt;
&lt;br /&gt;
# tar A. the name ‘tar’ comes from its original purpose: Tape ARchive B. you can bundle files as .tar, ‘tarballs’, which contain a series of file entries and terminating bytes between files C. each entry has a file descriptor and the binary contents of the file D. file descriptor, or header, contains the name of a file, a checksum of that file, and permissions data E. does not compress data, but instead keeps it in one file F. tar options: -c: Creates a tar archive -v: Verbose output -x: eXtract from a tar archive -f: specify a Filename -A: Appends two archives together -M: create or extract a multivolume archive -j: specify bzip2 compression -J: specify xz compression -z: specify gzip compression –lzma: specify lzma compression -t: Test an archive&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;more-unix-commands&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== More Unix Commands ===&lt;br /&gt;
&lt;br /&gt;
# fmt - format A. some files have crazy long lines of text B. reformats to a certain -width C. by default, truncates after 75 characters and cleans up paragraphs D. anything with 2+ blankline removed, and adds indention E. -s : prevents truncation of paragraphs&lt;br /&gt;
# nl - line number A. nl does count whitespace by default B. identical to cat -b (but not cat -n)&lt;br /&gt;
# pr - prepare a file for printing A. includes header, footer, and page breaks B. create colummns: pr -3 file.txt C. -l sets the length of lines D. -o choose the header text&lt;br /&gt;
# regular expressions - sed and awk A. simliar to wildcard expansion: ex; ls &#039;&#039;.txt B. grep and sed are two examples of regEx programs C. unix system programs have two different forms of regular expressions: basic and extended D. types of expresssions: 1. exact text match: grep “blah” returns all lines with “blah” 2. bracketed expressions: b[aeiou]g - returns bag, beg, big, bog, bug 3. bracketed with range: a[2-4]z - returns a2z, a3z, a4z 4. matching single char: a.z (allows for anything between a and z) 5. matching begin/end of line: ^ beginning, $ end 6. any of these can be combined with the wildcard: &#039;&#039; ex: A.* Lincoln (with 0 or more occurances of a pattern.) ex: A[ae]* Lincoln (with 0 or more occurances of a-e after A. 7. matching at least one of: + symbol ex. A[ae]+ Lincoln - returns at least Aa or Ae Lincoln 8. multiple possibilities or: | needs to be set up with ’ ex. ‘Darren (F|Fredrick) Seifert’ 9. grep -E invokes regex functionality&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;shell-scripting&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Shell Scripting ===&lt;br /&gt;
&lt;br /&gt;
# The first line of a shell script tells which program to use to interpret the contents: #!/bin/bash or another shell A. the first two characters are (#!) are special code to tell the kernel this is a script - crunchbang, shebang, hashbang, poundbang B. the remaining lines beginning with # are considered comments &amp;lt;code&amp;gt;# this is a comment&amp;lt;/code&amp;gt;&lt;br /&gt;
# Classic Hello World&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# hello.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
# Print out hello world&lt;br /&gt;
echo &#039;Hello World!&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;ol start=&amp;quot;3&amp;quot; style=&amp;quot;list-style-type: decimal;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;When you want to run a shell script, it needs to be made executable before it is an executable file: ‘# chmod u+x ./file.sh’&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Can be invoked with ./file.sh&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Alternative routes: A. bash file.sh works whether or not #!/bin/bash or chmod +x has been given B. exec file.sh is used to run scripts from within other scripts and to stop the tty instance after it is done (used to run scripts within scripts)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Passing Parameters A. much like C++ programs, bash scripts can be passed parameters B. accessing these, the dollar sign is used, much like PHP or Perl, to call the number of the parameter 1. $0 - the name of the running script itself 2. $1 - the first parameter 3. and so on… 4. $? - returns the exit status of the last run command 5. $$ - returns the process ID (PID) of the current script 6. $USER - returns the username of the user running the script 7. $SECONDS - returns the runtime of the current script 8. $RANDOM - generates a random number (int 0 - 32000) 9. $LINENO - current line of script C. creation of new variables 1. variablename=value # no spaces ever 2. if you do want spaces, they must be escaped by quotes 3. double quotes recommended for variable substitution later 4. for instance varname=“value $1” allows for insertion of other variables into variables whereas varname=’value &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;1&#039;  will not work D. saving output into variables  1. output from programs can be saved into a variable  2. example: curdir=&amp;lt;/math&amp;gt;(pwd) will run pwd and return the standard output as a variable 3. if you want to capture the standard error for a command, it can be saved as &amp;lt;code&amp;gt;error=$(&amp;amp;lt;/tmp/error)&amp;lt;/code&amp;gt; 4. alternative use: curdir=&amp;lt;code&amp;gt;pwd&amp;lt;/code&amp;gt; note the backtics&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# foo.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
# An example script&lt;br /&gt;
cp $1 $2&lt;br /&gt;
#verify it worked&lt;br /&gt;
echo &amp;amp;quot;Details for $2&amp;amp;quot;&lt;br /&gt;
ls -l $2&amp;lt;/pre&amp;gt;&lt;br /&gt;
* handling user input and output can use ‘echo’ to create interactive scripts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# plususer.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
echo -n &#039;Please enter user name for account:&#039;&lt;br /&gt;
read username # this saves the stdin input as username&lt;br /&gt;
read -p &#039;Username&#039; $username # -n no-newline&lt;br /&gt;
echo $username&lt;br /&gt;
read -sp &#039;Password:&#039; password # -s stealth&amp;lt;/pre&amp;gt;&lt;br /&gt;
* scripts can also handle files as standard input like other commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# salesreport.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#a sales report generated from standard input&lt;br /&gt;
echo Data Summary:&lt;br /&gt;
cat /dev/stdin | cut -d &#039; &#039; -F2,3 | sort&amp;lt;/pre&amp;gt;&lt;br /&gt;
* variables can be made global via export&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# script.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
var1=blah&lt;br /&gt;
var2=foo&lt;br /&gt;
echo $0 :: var1 : $var1 , var2 : $var2&lt;br /&gt;
export var1&lt;br /&gt;
exec ./script2&lt;br /&gt;
echo $0 :: var1 : $var1 , var2 : $var2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;script2.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
echo $0 :: var1 : $var1 , var2 : $var2&lt;br /&gt;
var1=flop&lt;br /&gt;
var2=bleh&lt;br /&gt;
echo $0 :: var1 : $var1 , var2 : $var2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;sed---stream-editor&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Sed - Stream EDitor ===&lt;br /&gt;
&lt;br /&gt;
# the sed command uses regular expressions to modify stdin and sends the changes to stdout&lt;br /&gt;
# usage : &amp;lt;code&amp;gt;sed [options] script.txt [inputfile]&amp;lt;/code&amp;gt;&lt;br /&gt;
# some of the commands that can be used in the script portion&lt;br /&gt;
#* &amp;lt;code&amp;gt;=&amp;lt;/code&amp;gt; - display the current line number&lt;br /&gt;
#* &amp;lt;code&amp;gt;a\text&amp;lt;/code&amp;gt; - append text to file&lt;br /&gt;
#* &amp;lt;code&amp;gt;i\text&amp;lt;/code&amp;gt; - insert text to file&lt;br /&gt;
#* &amp;lt;code&amp;gt;r file&amp;lt;/code&amp;gt; - append text from filename into the file&lt;br /&gt;
#* &amp;lt;code&amp;gt;c\text&amp;lt;/code&amp;gt; - replace the selected range with the text&lt;br /&gt;
#* &amp;lt;code&amp;gt;s/2012/2013/&amp;lt;/code&amp;gt; - replace the first occurrence of 2012 on first occurrence on each line&lt;br /&gt;
#* &amp;lt;code&amp;gt;s/2012/2013/g&amp;lt;/code&amp;gt; - replace ’’ ’’ every occurrence on each line&lt;br /&gt;
# examples&lt;br /&gt;
#* &amp;lt;code&amp;gt;sed &#039;s/Nick\|nick/Gary/g&#039; &amp;amp;lt; salaryprojections.txt&amp;lt;/code&amp;gt;&lt;br /&gt;
#* ^ this would replace any ‘Nick’ or ‘nick’ with ‘Gary’ at all points in the file&lt;br /&gt;
#* standard replace format: &amp;lt;code&amp;gt;sed &#039;s/^/    /&#039; file.txt &amp;amp;gt; file.new.txt&amp;lt;/code&amp;gt; ### Examining Processes&lt;br /&gt;
# &amp;lt;code&amp;gt;ps&amp;lt;/code&amp;gt; command&lt;br /&gt;
#* The internal Unix command for process control is &amp;lt;code&amp;gt;ps&amp;lt;/code&amp;gt;&lt;br /&gt;
#* By default, &amp;lt;code&amp;gt;ps&amp;lt;/code&amp;gt; reports back what is happening inside of the current terminal/tty;&lt;br /&gt;
#* shows &amp;lt;code&amp;gt;PID&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;TTY&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;TIME&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;CMD&amp;lt;/code&amp;gt;&lt;br /&gt;
#** &amp;lt;code&amp;gt;PID&amp;lt;/code&amp;gt; is the Process ID number for a running program&lt;br /&gt;
#** &amp;lt;code&amp;gt;TTY&amp;lt;/code&amp;gt; is the Teletypewriter device which the process runs from; reports stdout and stderr to this by default&lt;br /&gt;
#** TIME is the cumulative processor time used by the program on Linux&lt;br /&gt;
#* &amp;lt;code&amp;gt;ps&amp;lt;/code&amp;gt; supports traditional Unix options and GNU flags, which can be somewhat confusing&lt;br /&gt;
#* Options for ps&lt;br /&gt;
#** Display all processes running &amp;lt;code&amp;gt;ps -A/-e&amp;lt;/code&amp;gt; both cause all processes on the system to be listed and output is identical&lt;br /&gt;
#** Display processes belonging to a specific user: &amp;lt;code&amp;gt;ps -u user&amp;lt;/code&amp;gt;&lt;br /&gt;
#** Display extra fields as a “full format” &amp;lt;code&amp;gt;ps -f&amp;lt;/code&amp;gt; can be combined with other options&lt;br /&gt;
#*** &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; User ID shows the username of the user running the command&lt;br /&gt;
#*** &amp;lt;code&amp;gt;PPID&amp;lt;/code&amp;gt; parent process ID, the process ID of the process that spawned the process&lt;br /&gt;
#*** &amp;lt;code&amp;gt;C&amp;lt;/code&amp;gt; processor utilization as % of usage over the lifetime of the process&lt;br /&gt;
#*** &amp;lt;code&amp;gt;STIME&amp;lt;/code&amp;gt; start time of the process as per system time (only in 24h clock format if current day; otherwise uses MMDD format)&lt;br /&gt;
#** Display long format &amp;lt;code&amp;gt;ps -l&amp;lt;/code&amp;gt;&lt;br /&gt;
#*** &amp;lt;code&amp;gt;F&amp;lt;/code&amp;gt; Flags field&lt;br /&gt;
#**** &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; = no special flags for this process&lt;br /&gt;
#**** &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; = forked process, but did not call exec&lt;br /&gt;
#**** &amp;lt;code&amp;gt;4&amp;lt;/code&amp;gt; = executable was executed with superuser privileges&lt;br /&gt;
#*** &amp;lt;code&amp;gt;S&amp;lt;/code&amp;gt; State codes&lt;br /&gt;
#**** &amp;lt;code&amp;gt;D&amp;lt;/code&amp;gt; Uninterruptible sleep (usually IO)&lt;br /&gt;
#**** &amp;lt;code&amp;gt;R&amp;lt;/code&amp;gt; Running or runnable (on run queue)&lt;br /&gt;
#**** &amp;lt;code&amp;gt;S&amp;lt;/code&amp;gt; interruptible Sleep (waiting for an event to complete)&lt;br /&gt;
#**** &amp;lt;code&amp;gt;T&amp;lt;/code&amp;gt; Stopped, either by a job control signal or because it is being traced.&lt;br /&gt;
#**** &amp;lt;code&amp;gt;X&amp;lt;/code&amp;gt; dead (should never be seen)&lt;br /&gt;
#**** &amp;lt;code&amp;gt;Z&amp;lt;/code&amp;gt; Defunct (“zombie”) process, terminated but not reaped by its parent.&lt;br /&gt;
#*** &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; uses system number rather than human readable name&lt;br /&gt;
#*** &amp;lt;code&amp;gt;PRI&amp;lt;/code&amp;gt; Priority is used by the kernel, rather than in userspace, to determine the next in queue for processing&lt;br /&gt;
#*** &amp;lt;code&amp;gt;NI&amp;lt;/code&amp;gt; Niceness of a process describes how accommodating a process is to sharing time on the system.&lt;br /&gt;
#**** This number ranges from +19 to -20, with 0 as the default.&lt;br /&gt;
#**** In the scheduling system, niceness is used to determine how much processing to give to each process when it asks for it.&lt;br /&gt;
#*** &amp;lt;code&amp;gt;ADDR&amp;lt;/code&amp;gt; the memory address of the process&lt;br /&gt;
#*** &amp;lt;code&amp;gt;SZ&amp;lt;/code&amp;gt; the size of the image in pages&lt;br /&gt;
#**** how much virtual memory is in use by the process.&lt;br /&gt;
#**** Includes text, data, and stack space&lt;br /&gt;
#**** page size is a kernel variable and can be read by &amp;lt;code&amp;gt;getconf PAGE_SIZE&amp;lt;/code&amp;gt;&lt;br /&gt;
#*** &amp;lt;code&amp;gt;WCHAN&amp;lt;/code&amp;gt; address of where a function is sleeping (only kernel functions)&lt;br /&gt;
#*** &amp;lt;code&amp;gt;RSS&amp;lt;/code&amp;gt; amount of physical memory in use&lt;br /&gt;
#* User-oriented format &amp;lt;code&amp;gt;ps -u&amp;lt;/code&amp;gt; displays information in a more readable manner&lt;br /&gt;
#** &amp;lt;code&amp;gt;%CPU&amp;lt;/code&amp;gt; percent of processor time used by process divided by real time&lt;br /&gt;
#** &amp;lt;code&amp;gt;%MEM&amp;lt;/code&amp;gt; actual percentage of non-reserved physical RAM&lt;br /&gt;
#** &amp;lt;code&amp;gt;VSIZE&amp;lt;/code&amp;gt; virtual memory size used&lt;br /&gt;
#* Virtual memory format &amp;lt;code&amp;gt;ps -v&amp;lt;/code&amp;gt; displays information including number of:&lt;br /&gt;
#** &amp;lt;code&amp;gt;MAJFL&amp;lt;/code&amp;gt; major page faults of the process, indicating times it has used swap space&lt;br /&gt;
#** &amp;lt;code&amp;gt;TRS&amp;lt;/code&amp;gt; physical memory devoted to stack&lt;br /&gt;
#** &amp;lt;code&amp;gt;DRS&amp;lt;/code&amp;gt; physical memory devoted to non-executable code&lt;br /&gt;
#* Recieve a process hierarchy &amp;lt;code&amp;gt;ps -AH&amp;lt;/code&amp;gt; see parent-child relationships visually&lt;br /&gt;
#* Choose your own adventure mode &amp;lt;code&amp;gt;ps -o uid,pid,ppid,command&amp;lt;/code&amp;gt;&lt;br /&gt;
#** this command used to determine certain columns&lt;br /&gt;
#* Piping ps can be piped as per normal to other programs:&lt;br /&gt;
#** Ex; &amp;lt;code&amp;gt;ps -u darseife \| grep bash&amp;lt;/code&amp;gt;&lt;br /&gt;
#** &amp;lt;code&amp;gt;pgrep&amp;lt;/code&amp;gt; is a common utility that behaves similarly to the previous command&lt;br /&gt;
# &amp;lt;code&amp;gt;top&amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt;top&amp;lt;/code&amp;gt; is used to view processes as they execute in real time&lt;br /&gt;
#** &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt; used to choose update frequency in seconds&lt;br /&gt;
#** &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt; pid to monitor specifically&lt;br /&gt;
#** &amp;lt;code&amp;gt;-n&amp;lt;/code&amp;gt; run for N iterations&lt;br /&gt;
#** &amp;lt;code&amp;gt;-r&amp;lt;/code&amp;gt; command to renice a process within top&lt;br /&gt;
#** &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt; to change the update rate within top&lt;br /&gt;
#* &amp;lt;code&amp;gt;htop&amp;lt;/code&amp;gt; can also be used as a next generation to top&lt;br /&gt;
# &amp;lt;code&amp;gt;nice&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;renice&amp;lt;/code&amp;gt;&lt;br /&gt;
#* The &amp;lt;code&amp;gt;nice&amp;lt;/code&amp;gt; command is used to run a command with an adjusted niceness&lt;br /&gt;
#** generally can’t give negative values to programs without superuser access&lt;br /&gt;
#** &amp;lt;code&amp;gt;nice -n 12 ./script.sh&amp;lt;/code&amp;gt; will add 12 to the default priority (0)&lt;br /&gt;
#* &amp;lt;code&amp;gt;renice&amp;lt;/code&amp;gt; is used to adjust niceness of running processes.&lt;br /&gt;
#** &amp;lt;code&amp;gt;renice 0 -p 2772 3562&amp;lt;/code&amp;gt; renices the processes 2772 and 3562 to 0&lt;br /&gt;
#** &amp;lt;code&amp;gt;renice 1 -u darseife&amp;lt;/code&amp;gt; renices the processes of user darsiefe to 1&lt;br /&gt;
# Killing processes&lt;br /&gt;
## &amp;lt;code&amp;gt;kill&amp;lt;/code&amp;gt;&lt;br /&gt;
##* stopping a process currently running &amp;lt;code&amp;gt;-kill -s signal PID&amp;lt;/code&amp;gt;&lt;br /&gt;
##** &amp;lt;code&amp;gt;PID&amp;lt;/code&amp;gt; PID by default, kill sends a signal to a number of process IDs&lt;br /&gt;
##** signal 1 is &amp;lt;code&amp;gt;SIGHUP&amp;lt;/code&amp;gt; terminates interactive programs and causes daemons to reread config files&lt;br /&gt;
##** signal 9 is &amp;lt;code&amp;gt;SIGKILL&amp;lt;/code&amp;gt; stops all processes without performing a graceful exit or shutdown&lt;br /&gt;
##** signal 15 is &amp;lt;code&amp;gt;SIGTERM&amp;lt;/code&amp;gt; asks the process to terminate and to close out open files, run its shutdown script, etc.&lt;br /&gt;
##* &amp;lt;code&amp;gt;kill&amp;lt;/code&amp;gt; will only kill processes owned by the user, unless run with superuser access&lt;br /&gt;
## &amp;lt;code&amp;gt;killall&amp;lt;/code&amp;gt;&lt;br /&gt;
##* kill multiple things&lt;br /&gt;
##* &amp;lt;code&amp;gt;killall vi&amp;lt;/code&amp;gt; kills all running instances of vi for the user; when run as a superuser, this will kill any running instance of vi&lt;br /&gt;
##* &amp;lt;code&amp;gt;killall -s 9 vi&amp;lt;/code&amp;gt; kills all running instances of vi for the user by sending the &amp;lt;code&amp;gt;SIGKILL&amp;lt;/code&amp;gt; signal to it; when run as a superuser, this will kill any running instance of vi.&lt;br /&gt;
##* &amp;lt;code&amp;gt;killall -i vi&amp;lt;/code&amp;gt; uses interactive mode to ask which processes to kill&lt;br /&gt;
##* if you are running killall as root, try to use -i to prevent loss of other people’s work&lt;br /&gt;
# Additional process control&lt;br /&gt;
#* If you are running a program inside of a terminal, &amp;lt;code&amp;gt;[Ctrl + Z]&amp;lt;/code&amp;gt; will pause and go to background&lt;br /&gt;
#** To restart the process, run the command &amp;lt;code&amp;gt;fg&amp;lt;/code&amp;gt; in the same terminal&lt;br /&gt;
#** With multiple processes paused, &amp;lt;code&amp;gt;fg 1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;fg 2&amp;lt;/code&amp;gt; will bring back process 1 or 2&lt;br /&gt;
#* Processes can be started in the background with &amp;amp;amp; at the end of the line; unlike paused processes, these will continue to run.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;linux-time-and-scheduling&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Linux Time and Scheduling ===&lt;br /&gt;
&lt;br /&gt;
# Overview&lt;br /&gt;
#* Computer systems in general rely on a pair of clocks to operate&lt;br /&gt;
#* Two clocks&lt;br /&gt;
#** &#039;&#039;&#039;Hardware clock&#039;&#039;&#039; - initialized in BIOS/UEFI and kept updated via battery while computer is off&lt;br /&gt;
#** &#039;&#039;&#039;Software clock&#039;&#039;&#039; - initialized at boot from BIOS/UEFI time, and is used to track time while running&lt;br /&gt;
#* Typically, the clock of the computer is set using coordinated universal time (UTC)&lt;br /&gt;
#** adjusted for use based on timezones and localization settings like DST before entering userspace&lt;br /&gt;
#* Both the hardware clock and the software clock are not terribly reliable and tends to drift over time&lt;br /&gt;
#* This can be a problem on x86_64 systems in general because many network services rely on accurate timekeeping&lt;br /&gt;
#* This is made worse when having hundreds or thousands of servers requesting time from a single source could be bad&lt;br /&gt;
# Unix Time Commands&lt;br /&gt;
#* &amp;lt;code&amp;gt;date&amp;lt;/code&amp;gt; outputs the current software clock time&lt;br /&gt;
#* &amp;lt;code&amp;gt;date -u&amp;lt;/code&amp;gt; outputs the UTC time&lt;br /&gt;
#* &amp;lt;code&amp;gt;date 102715022019&amp;lt;/code&amp;gt; sets the time to exactly Oct 27, 15:02, 2019 in local time&lt;br /&gt;
#* &amp;lt;code&amp;gt;hwclock&amp;lt;/code&amp;gt; used to retrieve the value of the hardware clock; must be done as root&lt;br /&gt;
#* setting the hardware clock&lt;br /&gt;
#** &amp;lt;code&amp;gt;hwclock --set--date 102715022019&amp;lt;/code&amp;gt; is a manual set&lt;br /&gt;
#** &amp;lt;code&amp;gt;hwclock -hctosys&amp;lt;/code&amp;gt; set the hardware clock to the system clock&lt;br /&gt;
#** &amp;lt;code&amp;gt;hwclock --synctohc&amp;lt;/code&amp;gt; synchronizes system clock to hardware&lt;br /&gt;
#* these are called by daemons and init on startup and shutdown&lt;br /&gt;
#* both the system time and the hardware clock still suck and need a replacement&lt;br /&gt;
# &amp;lt;code&amp;gt;NTP&amp;lt;/code&amp;gt; Network Time Protocol&lt;br /&gt;
#* NTP relies on a tree of servers (each level is called a stratum) from a hardware atomic clock server&lt;br /&gt;
#* The further down the tree you are the less accurate the time is.&lt;br /&gt;
#* One NTP server requesting time from a center will exchange packet via timestamp and the delay between communications is estimated&lt;br /&gt;
#* It is best to pick NTP servers with a short delay&lt;br /&gt;
#* Typically, a cluster of computer is requested from a local time server, which in turn is the only computer requesting times outside of the network&lt;br /&gt;
# &amp;lt;code&amp;gt;timesyncd&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Traditionally, &amp;lt;code&amp;gt;ntpd&amp;lt;/code&amp;gt; is the daemon that has provided client time synchronization&lt;br /&gt;
#* Newer versions of Ubuntu use a service called &amp;lt;code&amp;gt;timesyncd&amp;lt;/code&amp;gt;&lt;br /&gt;
#** uses a slightly different protocol than NTP, called &amp;lt;code&amp;gt;SNTP&amp;lt;/code&amp;gt; (simplified network time protocol)&lt;br /&gt;
#** configuration information is at &amp;lt;code&amp;gt;/etc/systemd/timesyncd.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
#** &amp;lt;code&amp;gt;timedatectl&amp;lt;/code&amp;gt; is a way to view the current SNTP settings&lt;br /&gt;
#* also more information related to this accessible with &amp;lt;code&amp;gt;sudo systemctl status systemd-timesyncd&amp;lt;/code&amp;gt;&lt;br /&gt;
# Running jobs in the future: &amp;lt;code&amp;gt;cron&amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt;cron&amp;lt;/code&amp;gt; like timesyncd or ntpd, cron is a daemon that runs continuously and looks for events to cause it to spring into action&lt;br /&gt;
#* Most daemons are network services, but cron responds to temporal events&lt;br /&gt;
#* A cron daemon wakes up once per minute, and examines its config files in:&lt;br /&gt;
#** &amp;lt;code&amp;gt;/var/spool/cron/&amp;lt;/code&amp;gt;&lt;br /&gt;
#** &amp;lt;code&amp;gt;/etc/cron.d/&amp;lt;/code&amp;gt;&lt;br /&gt;
#** &amp;lt;code&amp;gt;/etc/crontab&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Executes command specified:&lt;br /&gt;
#** System jobs - run as root, and perform system maintenance tasks (rotate logs, clean out &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt;, remove old files, update system)&lt;br /&gt;
#** User jobs - run jobs in the future for users&lt;br /&gt;
#* &amp;lt;code&amp;gt;/etc/crontab&amp;lt;/code&amp;gt;&lt;br /&gt;
#** System cronjobs are controlled by this file&lt;br /&gt;
#** Normally, begins with environment variable configuration, then several lines like:&lt;br /&gt;
#*** On a typical system &amp;lt;code&amp;gt;02 4 * * * root run-parts /etc/cron.daily&amp;lt;/code&amp;gt;&lt;br /&gt;
#*** On Ubuntu Desktop &amp;lt;code&amp;gt;25 6 * * * root test -x /usr/sbin/anacron || cd / &amp;amp;amp;&amp;amp;amp; run-parts --report /etc/cron.daily&amp;lt;/code&amp;gt;&lt;br /&gt;
#** Fields for cron, in order&lt;br /&gt;
#**# the minute of the hour&lt;br /&gt;
#**# the hour of the day&lt;br /&gt;
#**# day of the month&lt;br /&gt;
#**# month of the year&lt;br /&gt;
#**# day of the week&lt;br /&gt;
#** different scripts for items are run from:&lt;br /&gt;
#*** &amp;lt;code&amp;gt;/etc/cron.daily&amp;lt;/code&amp;gt;&lt;br /&gt;
#*** &amp;lt;code&amp;gt;/etc/cron.weekly&amp;lt;/code&amp;gt;&lt;br /&gt;
#*** &amp;lt;code&amp;gt;/etc/cron.monthly&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;anacron&amp;lt;/code&amp;gt; a specific implementation of cron&lt;br /&gt;
#* &amp;lt;code&amp;gt;anacron&amp;lt;/code&amp;gt; is not intended to be a replacement for cron, it is a supplement&lt;br /&gt;
#* cron works great on systems that are &#039;&#039;always on&#039;&#039;&lt;br /&gt;
#* &amp;lt;code&amp;gt;anacron&amp;lt;/code&amp;gt; is smart in that it can tell if things are run&lt;br /&gt;
#** if things are missed, it plays catchup&lt;br /&gt;
#** light-night log rotation, for example, might never run&lt;br /&gt;
#** anacron is intended to address this&lt;br /&gt;
#*** when run it checks to see when it last executed each program&lt;br /&gt;
#*** if a period greater than the programs interval has passed, the program gets run by anacron&lt;br /&gt;
#** config file &amp;lt;code&amp;gt;/etc/anacrontab&amp;lt;/code&amp;gt;&lt;br /&gt;
#*** format: &amp;lt;code&amp;gt;1 5 cron.daily run-parts --report /etc/cron.daily&amp;lt;/code&amp;gt;&lt;br /&gt;
#**** first column: delay in minutes&lt;br /&gt;
#**** second column: frequency in days&lt;br /&gt;
# &amp;lt;code&amp;gt;crontab&amp;lt;/code&amp;gt; edit cronjobs for users&lt;br /&gt;
#* cron jobs for the system are under &amp;lt;code&amp;gt;/etc/&amp;lt;/code&amp;gt; but user ones are kept in &amp;lt;code&amp;gt;/var&amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt;crontab -e&amp;lt;/code&amp;gt; edit your user cronfile&lt;br /&gt;
#* root can edit other users with &amp;lt;code&amp;gt;crontab -u username -e&amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt;/etc/cron.allow&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/etc/cron.deny&amp;lt;/code&amp;gt; exist for whitelisting or blacklisting users from using &amp;lt;code&amp;gt;cron&amp;lt;/code&amp;gt;&lt;br /&gt;
#** an empty &amp;lt;code&amp;gt;/etc/cron.deny&amp;lt;/code&amp;gt; allows ALL USERS if present&lt;br /&gt;
#** an empty &amp;lt;code&amp;gt;/etc/cron.allow&amp;lt;/code&amp;gt; blocks ALL USERS if present&lt;br /&gt;
#* if neither of these exist, then only root may use &amp;lt;code&amp;gt;cron&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;at&amp;lt;/code&amp;gt; a handy simple task timer&lt;br /&gt;
#* cron and anacron can be overkill for simple tasks that need to be done once&lt;br /&gt;
#* example:&lt;br /&gt;
#** &amp;lt;code&amp;gt;at 5am Oct 31&amp;lt;/code&amp;gt;&lt;br /&gt;
#** &amp;lt;code&amp;gt;at&amp;amp;gt; /home/darren/run-backup.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
#** &amp;lt;code&amp;gt;at&amp;amp;gt; echo &amp;amp;quot;job done&amp;amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
#** &amp;lt;code&amp;gt;at&amp;amp;gt; mail -s &amp;amp;quot;backup job finished&amp;amp;quot; root&amp;lt;/code&amp;gt;&lt;br /&gt;
#** &amp;lt;code&amp;gt;at&amp;amp;gt;&amp;lt;/code&amp;gt; &#039;&#039;&#039;ctrl+d&#039;&#039;&#039; to finish&lt;br /&gt;
#* &amp;lt;code&amp;gt;at now +1 hour&amp;lt;/code&amp;gt; will run 1 hour from now relative to current system time&lt;br /&gt;
#* other examples:&lt;br /&gt;
#*# &amp;lt;code&amp;gt;at midnight&amp;lt;/code&amp;gt;&lt;br /&gt;
#*# &amp;lt;code&amp;gt;at noon&amp;lt;/code&amp;gt;&lt;br /&gt;
#*# &amp;lt;code&amp;gt;at teatime&amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt;aterm&amp;lt;/code&amp;gt; to remove an upcoming command&lt;br /&gt;
#* &amp;lt;code&amp;gt;atq&amp;lt;/code&amp;gt; used to list pending commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;log-files&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Log Files ===&lt;br /&gt;
&lt;br /&gt;
# Intro&lt;br /&gt;
#* Linux machines log files that record key details about system operation and are typically stored in &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Logging on Linux system is generally performed by the syslog daemon, &amp;lt;code&amp;gt;syslogd&amp;lt;/code&amp;gt;&lt;br /&gt;
#** However, some daemons and programs perform logging independently of syslog&lt;br /&gt;
#* Logging on Linux can be done locally to the computer, but in a networked environment, logs may be sent to a central logging server and by email&lt;br /&gt;
#* Logging is a security action and is typically a part of the system worth hardening because it is exploitable by an attacker to hide their break-in&lt;br /&gt;
#* Logs should be rotated, aka moved out of the system, to prevent &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; from being filled completely&lt;br /&gt;
# &amp;lt;code&amp;gt;syslog&amp;lt;/code&amp;gt;&lt;br /&gt;
#* The basic idea of a system logger is to provide a unified means of a handling log files&lt;br /&gt;
#* The daemon runs in the background and and accepts data delivered from servers and other programs&lt;br /&gt;
#* Once the log daemon receives a message, it is classified and directed to an appropriate file&lt;br /&gt;
#* &amp;lt;code&amp;gt;syslogd&amp;lt;/code&amp;gt; might be managing several services at the same time and providing different rule-based logging based on priority of the messages received&lt;br /&gt;
#* &amp;lt;code&amp;gt;syslogd&amp;lt;/code&amp;gt; relies on the config file &amp;lt;code&amp;gt;/etc/syslog.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
#** Ubuntu uses &amp;lt;code&amp;gt;/etc/rsyslog.conf&amp;lt;/code&amp;gt; for rocket-fast syslog&lt;br /&gt;
#** the configuration file supports a ruleset, located at &amp;lt;code&amp;gt;/etc/rsyslog.d/&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/etc/syslog.d/&amp;lt;/code&amp;gt; respectively&lt;br /&gt;
#** standard logging is done by daemon, with the format &amp;lt;code&amp;gt;facility.priority action&amp;lt;/code&amp;gt;&lt;br /&gt;
#*** example: &amp;lt;code&amp;gt;mail.* /var/log/mail.log&amp;lt;/code&amp;gt;&lt;br /&gt;
#** facility parameter is the name of the type of program the daemon that generates messages to be logged&lt;br /&gt;
#**# &amp;lt;code&amp;gt;auth/priv&amp;lt;/code&amp;gt; security messages&lt;br /&gt;
#**# &amp;lt;code&amp;gt;cron&amp;lt;/code&amp;gt; from the cron daemon&lt;br /&gt;
#**# &amp;lt;code&amp;gt;daemon&amp;lt;/code&amp;gt; catch-all for various systems servers&lt;br /&gt;
#**# &amp;lt;code&amp;gt;kern&amp;lt;/code&amp;gt; kernel messages&lt;br /&gt;
#**# &amp;lt;code&amp;gt;lpr&amp;lt;/code&amp;gt; printer and CUPS messages&lt;br /&gt;
#**# &amp;lt;code&amp;gt;mail&amp;lt;/code&amp;gt; mail subsystems&lt;br /&gt;
#**# &amp;lt;code&amp;gt;news&amp;lt;/code&amp;gt; oldschool newsgroups&lt;br /&gt;
#**# &amp;lt;code&amp;gt;syslog&amp;lt;/code&amp;gt; internally generated messages&lt;br /&gt;
#**# &amp;lt;code&amp;gt;uucp&amp;lt;/code&amp;gt; unix-to-unix copy daemon&lt;br /&gt;
#**# &amp;lt;code&amp;gt;local[0-7]&amp;lt;/code&amp;gt; predefined facilities for custom configurations&lt;br /&gt;
#** priority parameters include:&lt;br /&gt;
#*** &amp;lt;code&amp;gt;deb&amp;lt;/code&amp;gt; debugging messages&lt;br /&gt;
#*** &amp;lt;code&amp;gt;info&amp;lt;/code&amp;gt; normal operations&lt;br /&gt;
#*** &amp;lt;code&amp;gt;notice&amp;lt;/code&amp;gt; abnormalities that do not effect functionality&lt;br /&gt;
#*** &amp;lt;code&amp;gt;warn&amp;lt;/code&amp;gt; tells that an error will occur is action is not taken&lt;br /&gt;
#*** &amp;lt;code&amp;gt;err&amp;lt;/code&amp;gt; standard error for the daemon, non-urgent failure of the daemon causing an error message&lt;br /&gt;
#*** &amp;lt;code&amp;gt;crit&amp;lt;/code&amp;gt; critical error causing a secondary system to fail urgently&lt;br /&gt;
#*** &amp;lt;code&amp;gt;alert&amp;lt;/code&amp;gt; critical error causing a primary system to fail urgently&lt;br /&gt;
#*** &amp;lt;code&amp;gt;emerg&amp;lt;/code&amp;gt; Panic message - system unusable&lt;br /&gt;
#** the action parameter is a file or location on the network that will accept the message&lt;br /&gt;
#*** could be a file in &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt;&lt;br /&gt;
#*** could also be a tty: &amp;lt;code&amp;gt;/dev/tty8&amp;lt;/code&amp;gt;&lt;br /&gt;
#*** could also be a computer on the network: &amp;lt;code&amp;gt;@logger.ndus.edu&amp;lt;/code&amp;gt;&lt;br /&gt;
#* When a program sends a message to the system logger, it includes the priority: the message is only logged if it is of a certain level or higher&lt;br /&gt;
#** Exceptions:&lt;br /&gt;
#*** &amp;lt;code&amp;gt;*&amp;lt;/code&amp;gt; all codes&lt;br /&gt;
#*** = &amp;lt;code&amp;gt;(mail.=crit)&amp;lt;/code&amp;gt; applies to this priority only&lt;br /&gt;
#** You can also specify multiple facilities with the same priority by using a comma&lt;br /&gt;
#** Multiple facilities separated by commas followed by a priority all follow the same priority&lt;br /&gt;
#** A semicolon is used to specify a number of logging priorities &amp;lt;code&amp;gt;kern.info;kern.err&amp;lt;/code&amp;gt; everything between info and error&lt;br /&gt;
# &amp;lt;code&amp;gt;logger&amp;lt;/code&amp;gt; - logging something else&lt;br /&gt;
#* The &amp;lt;code&amp;gt;logger&amp;lt;/code&amp;gt; command allows a user to log something else other than established facilities&lt;br /&gt;
#* &amp;lt;code&amp;gt;logger shutting down for system maintenance&amp;lt;/code&amp;gt;&lt;br /&gt;
#** will log to &amp;lt;code&amp;gt;/var/log/syslog&amp;lt;/code&amp;gt; as &amp;lt;code&amp;gt;Nov 6 15:50:00 darseife-virtualbox darseife: shutting down for system maintenance&amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt; records the PID of the logger process when run (useful when run from script)&lt;br /&gt;
#* &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt; print the log message to standard error in addition to logging&lt;br /&gt;
#* &amp;lt;code&amp;gt;-f /foo&amp;lt;/code&amp;gt; logs to &amp;lt;code&amp;gt;/foo&amp;lt;/code&amp;gt; instead of the system log&lt;br /&gt;
#* &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt; specify both a facility and a priority for the system log message; &amp;lt;code&amp;gt;-p local3.info&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;firewalling&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Firewalling ===&lt;br /&gt;
&lt;br /&gt;
# TCP Wrappers&lt;br /&gt;
#* TCP wrappers depend on two config files to work properly; these are &amp;lt;code&amp;gt;/etc/hosts.allow&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/etc/hosts.deny&amp;lt;/code&amp;gt;&lt;br /&gt;
#* the most common config for these is default &amp;lt;code&amp;gt;deny&amp;lt;/code&amp;gt;&lt;br /&gt;
#** &amp;lt;code&amp;gt;ALL:ALL&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;/etc/hosts.deny&amp;lt;/code&amp;gt;&lt;br /&gt;
#** &amp;lt;code&amp;gt;ALL:127.0 [::1]&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;/etc/hosts.allow&amp;lt;/code&amp;gt;&lt;br /&gt;
#** specific services from a specific host enabled as the form &amp;lt;code&amp;gt;sshd:192.168.X.Y&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;/etc/hosts.allow&amp;lt;/code&amp;gt;&lt;br /&gt;
#** all services from a domain as &amp;lt;code&amp;gt;ALL:.minotstateu.edu&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;/etc/hosts.allow&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Also used is specific allow&lt;br /&gt;
#** nothing is listed in &amp;lt;code&amp;gt;/etc/hosts.allow&amp;lt;/code&amp;gt;&lt;br /&gt;
#** specifically removed IP addresses in the form &amp;lt;code&amp;gt;ALL:165.234.X.Y&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;/etc/hosts.deny&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Secondary service-level blocking can be used to apply rules to services in the form &amp;lt;code&amp;gt;/etc/sshd.hosts&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt;iptables&amp;lt;/code&amp;gt; is the kernel level netfilter firewall&lt;br /&gt;
#* &amp;lt;code&amp;gt;iptables -L&amp;lt;/code&amp;gt; lists the current ruleset&lt;br /&gt;
#* &amp;lt;code&amp;gt;iptables -A&amp;lt;/code&amp;gt; is used to APPEND new rules to a chain (takes a chain name)&lt;br /&gt;
#* &amp;lt;code&amp;gt;iptables -I&amp;lt;/code&amp;gt; inserts a rule (takes a chain name and a position)&lt;br /&gt;
#** example &amp;lt;code&amp;gt;iptables -A INPUT -ptcp -dport ssh -j ACCEPT&amp;lt;/code&amp;gt;&lt;br /&gt;
#* rule options&lt;br /&gt;
#** &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt; the protocol used&lt;br /&gt;
#** &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt; the destination port, can accept a range of port&lt;br /&gt;
#** &amp;lt;code&amp;gt;-j&amp;lt;/code&amp;gt; the action to take, includes ACCEPT, DENY, DROP&lt;br /&gt;
#** &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt; specify a source address, can be either &amp;lt;code&amp;gt;192.168.0.1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;192.168.0.0/24&amp;lt;/code&amp;gt;&lt;br /&gt;
#** &amp;lt;code&amp;gt;-m&amp;lt;/code&amp;gt; require the rule to match a specific property&lt;br /&gt;
#*** ex &amp;lt;code&amp;gt;iptables -m conntrack&amp;lt;/code&amp;gt; allows filter rule to match based on connection state&lt;br /&gt;
#** &amp;lt;code&amp;gt;--ctstate&amp;lt;/code&amp;gt; define a list of connection states for the rule to match on&lt;br /&gt;
#**# NEW - new connections&lt;br /&gt;
#**# RELATED - new but related to a previous on&lt;br /&gt;
#**# ESTABLISHED - a preexisting connection already in progress&lt;br /&gt;
#**# INVALID - any malformed traffic or unidentified traffic&lt;br /&gt;
#** &amp;lt;code&amp;gt;-j&amp;lt;/code&amp;gt; tells iptable what to do with the packet given the rule&lt;br /&gt;
#*** ACCEPT - routes as normal as per IP header&lt;br /&gt;
#*** DROP - kills the packet without giving reply&lt;br /&gt;
#*** REJECT - sends an explicit error message&lt;br /&gt;
# Uncomplicated Firewall (ufw)&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw enable&amp;lt;/code&amp;gt; to turn on ufw&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw disable&amp;lt;/code&amp;gt; to turn off ufw&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw status&amp;lt;/code&amp;gt; view current rules for ufw&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw status verbose&amp;lt;/code&amp;gt; reports logging level + access levels for each rule&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw allow 80/tcp&amp;lt;/code&amp;gt; sets a rule to allow tcp packets on port 80&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw deny 22/udp&amp;lt;/code&amp;gt; sets a rule to reject udp packets on port 22&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw deny ssh&amp;lt;/code&amp;gt; sets a rule to reject all ssh protocol packets&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw allow 6000-6007/tcp&amp;lt;/code&amp;gt; sets a rule with a range to allow tcp packets from 6000-6007&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw allow from 15.15.15.1 to any&amp;lt;/code&amp;gt; sets a rule allowing all traffic from 15.15.15.1&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw status numbered&amp;lt;/code&amp;gt; returns a numbered list of rules in the set&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw delete 2&amp;lt;/code&amp;gt; removes rule number 2 in a list&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw logging {on/off}&amp;lt;/code&amp;gt; turns the logging on or off; usually caught by syslogd/rsyslog; logging is set to &amp;lt;code&amp;gt;low&amp;lt;/code&amp;gt; by default&lt;br /&gt;
#* &amp;lt;code&amp;gt;ufw logging {low/medium/high/full&amp;lt;/code&amp;gt; sets logging verbosity of ufw;&lt;br /&gt;
#** note that logging is rate limited at &amp;lt;code&amp;gt;medium&amp;lt;/code&amp;gt; and not rate limited at &amp;lt;code&amp;gt;high&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;bootinitialization&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Boot/Initialization ===&lt;br /&gt;
&lt;br /&gt;
# Slackware - SysV Init&lt;br /&gt;
#* System 5 style rc script via &amp;lt;code&amp;gt;init&amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt;PID 1&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;init&amp;lt;/code&amp;gt; which is the process that starts all other processes when the system boots&lt;br /&gt;
#* &amp;lt;code&amp;gt;init&amp;lt;/code&amp;gt; is responsible for processing &amp;lt;code&amp;gt;/etc/inittab&amp;lt;/code&amp;gt; to see how to start the system and at what runlevel&lt;br /&gt;
#* Things &amp;lt;code&amp;gt;init&amp;lt;/code&amp;gt; does&lt;br /&gt;
#** Runs the script &amp;lt;code&amp;gt;/etc/rc.d/rc.s&amp;lt;/code&amp;gt; to determine to prepare the system before loading to the desired runlevel&lt;br /&gt;
#** Enables virtual memory for the system and mounts filesystems in &amp;lt;code&amp;gt;/etc/fstab&amp;lt;/code&amp;gt;&lt;br /&gt;
#** Loads kernel modules&lt;br /&gt;
#** Near the end of the script &amp;lt;code&amp;gt;rc.s&amp;lt;/code&amp;gt;, init will run scripts related to the runlevel the system is entering -for example, &amp;lt;code&amp;gt;rc3.d&amp;lt;/code&amp;gt; is run at runlevel 3&lt;br /&gt;
# SystemD&lt;br /&gt;
#* Ubuntu, CentOS, RedHat, and others have moved from SysV init process to the SystemD initialization process&lt;br /&gt;
#* Rather than running many shell scripts during init, the systemD process uses one monolithic program to control startup of services&lt;br /&gt;
#* The way the services are started are controlled by a configuration file&lt;br /&gt;
#* systemd uses &#039;&#039;units&#039;&#039; and &#039;&#039;targets&#039;&#039; rather than scripts and runlevels&lt;br /&gt;
#** there are 11 different types of units:&lt;br /&gt;
#*** &amp;lt;code&amp;gt;mount&amp;lt;/code&amp;gt; unit defines a mountpoint on the system named with the mount path with slashes replaced as dashes&lt;br /&gt;
#*** &amp;lt;code&amp;gt;swapspace&amp;lt;/code&amp;gt;&lt;br /&gt;
#*** &amp;lt;code&amp;gt;device&amp;lt;/code&amp;gt; a device in the linux device tree&lt;br /&gt;
#*** &amp;lt;code&amp;gt;socket&amp;lt;/code&amp;gt; fifo pipe to an internet port with an associated service&lt;br /&gt;
#*** &amp;lt;code&amp;gt;service&amp;lt;/code&amp;gt; a service or application on the system&lt;br /&gt;
#** targets are used to stop and start the service and group units together&lt;br /&gt;
#** systemd identifies units by name and type&lt;br /&gt;
#*** example ssh could have an ssh.service and an ssh.socket&lt;br /&gt;
#* &amp;lt;code&amp;gt;systemctl&amp;lt;/code&amp;gt; - can list current units loaded on the system&lt;br /&gt;
#* config files - &amp;lt;code&amp;gt;/lib/systemd/system&amp;lt;/code&amp;gt;&lt;br /&gt;
#* modify how a unit functions - &amp;lt;code&amp;gt;/etc/systemd/system&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Main_Page&amp;diff=127</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Main_Page&amp;diff=127"/>
		<updated>2022-10-19T20:29:52Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div&amp;gt;&lt;br /&gt;
=Welcome to the Rasulev Research Group Wiki!=&lt;br /&gt;
==The Computational Polymer Science and Cheminformatics Group at North Dakota State University==&lt;br /&gt;
&lt;br /&gt;
This page hosts the tutorials and procedures for the group. Implementing MediaWiki, it provides a platform to organize knowledge and make it available to both lab collaborators and students. &lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;audiences&amp;quot; class=&amp;quot;mainpage_row&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;div class=&amp;quot;mainpage_box&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;h3&amp;gt;&amp;lt;span class=&amp;quot;header_icon&amp;quot; aria-hidden=&amp;quot;true&amp;quot; role=&amp;quot;presentation&amp;quot;&amp;gt;[[File:OOjs UI icon chem.svg|20px|middle|link=]]&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;Lab Procedures and Software Tutorials&amp;lt;/span&amp;gt;&amp;lt;/h3&amp;gt;&lt;br /&gt;
    &amp;lt;div&amp;gt; &lt;br /&gt;
* [[ADF ReaxFF]]&lt;br /&gt;
* [[Avogadro Procedure| Avogadro]]&lt;br /&gt;
* [[BuildQsar Procedure| BuildQSAR]]&lt;br /&gt;
* [[ChemDraw Procedure| ChemDraw]]&lt;br /&gt;
* [[ChemSketchProcedure| ChemSketch]]&lt;br /&gt;
* [[Dragon5 Procedure| Dragon5]]&lt;br /&gt;
* [[Generating Descriptors Workflow]]&lt;br /&gt;
* [[HyperChem]]&lt;br /&gt;
* [[Jupyterlab anaconda| JupyterLab]]&lt;br /&gt;
* [[OpenBabelGUI]]&lt;br /&gt;
* [[QSARINS Procedure| QSARINS]]&lt;br /&gt;
* [[VASP and VMD on CCAST| VASP]]&lt;br /&gt;
* [[WEKA Steps for Loading Data| WEKA]]&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NOEDITSECTION__&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Main_Page&amp;diff=126</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Main_Page&amp;diff=126"/>
		<updated>2022-10-19T20:28:27Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Updated front page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div&amp;gt;&lt;br /&gt;
=Welcome to the Rasulev Research Group Wiki!=&lt;br /&gt;
==This page hosts the tutorials and procedures for the Computational Polymer Science and Cheminformatics Group at North Dakota State University==&lt;br /&gt;
This page implements MediaWiki, and provides a platform to organize knowledge and make it available to lab collaborators and students. &lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;audiences&amp;quot; class=&amp;quot;mainpage_row&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;div class=&amp;quot;mainpage_box&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;h3&amp;gt;&amp;lt;span class=&amp;quot;header_icon&amp;quot; aria-hidden=&amp;quot;true&amp;quot; role=&amp;quot;presentation&amp;quot;&amp;gt;[[File:OOjs UI icon chem.svg|20px|middle|link=]]&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;Lab Procedures and Software Tutorials&amp;lt;/span&amp;gt;&amp;lt;/h3&amp;gt;&lt;br /&gt;
    &amp;lt;div&amp;gt; &lt;br /&gt;
* [[ADF ReaxFF]]&lt;br /&gt;
* [[Avogadro Procedure| Avogadro]]&lt;br /&gt;
* [[BuildQsar Procedure| BuildQSAR]]&lt;br /&gt;
* [[ChemDraw Procedure| ChemDraw]]&lt;br /&gt;
* [[ChemSketchProcedure| ChemSketch]]&lt;br /&gt;
* [[Dragon5 Procedure| Dragon5]]&lt;br /&gt;
* [[Generating Descriptors Workflow]]&lt;br /&gt;
* [[HyperChem]]&lt;br /&gt;
* [[Jupyterlab anaconda| JupyterLab]]&lt;br /&gt;
* [[OpenBabelGUI]]&lt;br /&gt;
* [[QSARINS Procedure| QSARINS]]&lt;br /&gt;
* [[VASP and VMD on CCAST| VASP]]&lt;br /&gt;
* [[WEKA Steps for Loading Data| WEKA]]&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NOEDITSECTION__&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=VASP_and_VMD_on_CCAST&amp;diff=125</id>
		<title>VASP and VMD on CCAST</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=VASP_and_VMD_on_CCAST&amp;diff=125"/>
		<updated>2022-09-26T21:32:19Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Revised formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
&#039;&#039;&#039;Login&#039;&#039;&#039; &#039;&#039;&#039;Photon&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
ssh [mailto:kilin@photon.chem.ndsu.nodak.edu &amp;lt;u&amp;gt;kilin@photon.chem.ndsu.nodak.edu&amp;lt;/u&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
cd /scratch001/Chem_476/CHEM676_2019/Meade/DIMER&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&#039;&#039;&#039;Login&#039;&#039;&#039; &#039;&#039;&#039;Cori&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| Have to be in Photon first then login to Cori&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
ssh -i ~/.ssh/nersc cori.nersc.gov&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
cd /global/cfs/cdirs/m1251/vasp/CHEM676/meade&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&#039;&#039;&#039;Misc. Tools&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cd foldername&lt;br /&gt;
| lets you go into a folder&lt;br /&gt;
|-&lt;br /&gt;
| cd ..&lt;br /&gt;
| Backs you out of folder you are in&lt;br /&gt;
|-&lt;br /&gt;
| cd -&lt;br /&gt;
| Goes back to previous directory&lt;br /&gt;
|-&lt;br /&gt;
| cd ~&lt;br /&gt;
| Goes to home directory&lt;br /&gt;
|-&lt;br /&gt;
| freenodes&lt;br /&gt;
| in ccast&lt;br /&gt;
|-&lt;br /&gt;
| vi filename&lt;br /&gt;
| Lets you go into file to edit&lt;br /&gt;
|-&lt;br /&gt;
| i&lt;br /&gt;
| When in “vi” this initiates the editing&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| This lets you stop editing&lt;br /&gt;
|-&lt;br /&gt;
| “Ctrl+c” press on keyboard, not a typing thing&lt;br /&gt;
| Lets you stop any current running process&lt;br /&gt;
|-&lt;br /&gt;
| pwd&lt;br /&gt;
| Gives you current directory location&lt;br /&gt;
|-&lt;br /&gt;
| wc&lt;br /&gt;
| Word count: The 1st number shows number of lines present in file. 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; number of words present in file. 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; column shows number of characters present in file. 4&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; number is the file name which is given as an argument.&lt;br /&gt;
|-&lt;br /&gt;
| ls&lt;br /&gt;
| Lists what is in the current directory&lt;br /&gt;
|-&lt;br /&gt;
| ls -lt&lt;br /&gt;
| Lists what is in the current directory sorting from newest to oldest&lt;br /&gt;
|-&lt;br /&gt;
| ls –lt W*&lt;br /&gt;
| Lists everything that starts with a W sorting from newest to oldest. (Can be used for other letters as well)&lt;br /&gt;
|-&lt;br /&gt;
| ls -lisanh&lt;br /&gt;
| gives information on the files in whole directory&lt;br /&gt;
|-&lt;br /&gt;
| ls -lisanh filename&lt;br /&gt;
| gives information on the specific file&lt;br /&gt;
|-&lt;br /&gt;
| ls -lisan&lt;br /&gt;
| gives information on the files in whole directory&lt;br /&gt;
|-&lt;br /&gt;
| ls -lisan filename&lt;br /&gt;
| gives information on the specific file&lt;br /&gt;
|-&lt;br /&gt;
| ls -a&lt;br /&gt;
| shows all files, including hidden ones&lt;br /&gt;
|-&lt;br /&gt;
| babel –ixyz file.xyz –opdb file.pdb xyz to pdb&lt;br /&gt;
|&lt;br /&gt;
Using babel, converts the input file of .xyz to outputfile of .pdb&lt;br /&gt;
&lt;br /&gt;
That is where the –ixyz and –opdb comes from&lt;br /&gt;
|-&lt;br /&gt;
| “shift+alt+left click”&lt;br /&gt;
| For slecting just comlumn or just row information you want exactly&lt;br /&gt;
|-&lt;br /&gt;
| egrep &#039;163|166&#039; OS_STRENGTH&lt;br /&gt;
| grep technique&lt;br /&gt;
|-&lt;br /&gt;
| more filename&lt;br /&gt;
| Lets you see what is in the file&lt;br /&gt;
|-&lt;br /&gt;
| more ~/bin/filename&lt;br /&gt;
| Lets you see the file in a location not in your current directory.&lt;br /&gt;
|-&lt;br /&gt;
| more filename | grep ### or value | grep again if desired&lt;br /&gt;
| shows file and grabs lines with same input you put after the grep command&lt;br /&gt;
|-&lt;br /&gt;
| cp /Location/filename .&lt;br /&gt;
| Copies a file from a different directory location and input it into the current directory. Don’t forget the PERIOD!&lt;br /&gt;
|-&lt;br /&gt;
| P /Location/filename ./newfilename&lt;br /&gt;
| Copies a file from a different directory location and input it into the current directory and rename it in one step&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/filename .&lt;br /&gt;
| Takes file from different SERVER/ACCOUNT. You must be in the destination directory you want the files to go to when typing this line&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/* .&lt;br /&gt;
| Takes ALL files from different SERVER/ACCOUNT. You must be in the destination directory you want the files to go to when typing this line&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/*.filetype .&lt;br /&gt;
| Takes ALL files with that specific file type from different SERVER/ACCOUNT. You must be in the destination directory you want the files to go to when typing this line&lt;br /&gt;
|-&lt;br /&gt;
| scp * destinationUser:/destinationLocation&lt;br /&gt;
| Sends all files from source directory to destination directory. Must be in source directory when typing this line&lt;br /&gt;
|-&lt;br /&gt;
| scp * kilin@photon.chem.ndsu.nodak.edu:/scratch001/Chem_476/CHEM676_2019/Meade/DIMER/DIMabsorptionspec&lt;br /&gt;
| Example of scp&lt;br /&gt;
|-&lt;br /&gt;
| sbatch corifilename&lt;br /&gt;
| Lets you submit a file in cori using a corifile made by others&lt;br /&gt;
|-&lt;br /&gt;
| grep specificdetail filename&lt;br /&gt;
| Grabs the specific detail from the file you chose&lt;br /&gt;
|-&lt;br /&gt;
| sort -n -r filename&lt;br /&gt;
| sorts the file in ascending order&lt;br /&gt;
|-&lt;br /&gt;
| babel BondLength.xyz -O out.xyz --separate&lt;br /&gt;
| THIS IS CORRECT WAY THE SEP WORD IS SPELLED INCORRECTLY BUT IS CORRECT FOR BABEL&lt;br /&gt;
|-&lt;br /&gt;
| awk &#039;{ if($4 &amp;amp;gt;= 4.0000 &amp;amp;amp;&amp;amp;amp; $4&amp;amp;lt;=5.0000) print }&#039; OS_STRENGTH1&lt;br /&gt;
| lets you get lines of data that contain the range from 4-5 from column 4&lt;br /&gt;
|-&lt;br /&gt;
| users&lt;br /&gt;
| lets you see what users are on&lt;br /&gt;
|-&lt;br /&gt;
| clear&lt;br /&gt;
| lets you clear screen&lt;br /&gt;
|-&lt;br /&gt;
| who&lt;br /&gt;
| who is on and more detail about them&lt;br /&gt;
|-&lt;br /&gt;
| w&lt;br /&gt;
| all the people and differing details about them&lt;br /&gt;
|-&lt;br /&gt;
| id&lt;br /&gt;
| lets me see what groups I am in&lt;br /&gt;
|-&lt;br /&gt;
| freenodes&lt;br /&gt;
| lets you see if nodes are available or not&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6335cce9234bc4ef.png|439x225px]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| pbsnodes –avSj | sort -n&lt;br /&gt;
| shows available nodes, the | sorts it into order&lt;br /&gt;
|-&lt;br /&gt;
| pbsnodes –avSj | sort –n | more&lt;br /&gt;
| does this in page format rather than all at once&lt;br /&gt;
|-&lt;br /&gt;
| module avail&lt;br /&gt;
| what software is available&lt;br /&gt;
|-&lt;br /&gt;
| $HOME&lt;br /&gt;
| lets you go to your login directory “home” directory&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
thunder.ccast.ndsu.edu&lt;br /&gt;
&lt;br /&gt;
meade.erickson&lt;br /&gt;
| to get into putty&lt;br /&gt;
|-&lt;br /&gt;
| C:\Users\meade.erickson\Documents\OriginLab\User Files\&lt;br /&gt;
| Origin themes location&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Explanations&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| fermi&lt;br /&gt;
| fermi energy is referring to the energy difference between the highest and lowest occupied single-particle states. ([https://en.wikipedia.org/wiki/Fermi_energy &amp;lt;u&amp;gt;https://en.wikipedia.org/wiki/Fermi_energy&amp;lt;/u&amp;gt;])&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Explanations Input Files:&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| INCAR&lt;br /&gt;
| It is the central input file of VASP. It determines &amp;amp;quot;what to do and how to do it&amp;amp;quot;. ([https://www.vasp.at/wiki/index.php/INCAR &amp;lt;u&amp;gt;https://www.vasp.at/wiki/index.php/INCAR&amp;lt;/u&amp;gt;])&lt;br /&gt;
|-&lt;br /&gt;
| POSCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| POTCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| KPOINTS&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Explanations Output Files:&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| CONTCAR&lt;br /&gt;
|&lt;br /&gt;
Contains actual coordinates, velocities, and predictor corrector coordinates. 1&amp;lt;sup&amp;gt;st&amp;lt;/sup&amp;gt; block is lattice parameters and atom coordinates. 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; block Initial Velocites for atoms. 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; block Predictor-corrector coordinates.&lt;br /&gt;
&lt;br /&gt;
Written at end of each job. Used as the POSCAR file for next MD job.&lt;br /&gt;
|-&lt;br /&gt;
| WAVECAR&lt;br /&gt;
| Provides wavefunctions. we usually use it for spectrum data ([https://www.vasp.at/wiki/index.php/WAVECAR &amp;lt;u&amp;gt;https://www.vasp.at/wiki/index.php/WAVECAR&amp;lt;/u&amp;gt;])&lt;br /&gt;
|-&lt;br /&gt;
| OS_STRENGTH&lt;br /&gt;
| Information about the OS_STRENGTH&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_8bf47c7304419724.png|354x154px]]&lt;br /&gt;
|&lt;br /&gt;
From Wikipedia&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In spectroscopy, &#039;&#039;&#039;oscillator strength&#039;&#039;&#039; is a dimensionless quantity that expresses the probability of [https://en.wikipedia.org/wiki/Absorption_(electromagnetic_radiation) &amp;lt;u&amp;gt;absorption&amp;lt;/u&amp;gt;] or [https://en.wikipedia.org/wiki/Emission_spectrum &amp;lt;u&amp;gt;emission&amp;lt;/u&amp;gt;] of [https://en.wikipedia.org/wiki/Electromagnetic_radiation &amp;lt;u&amp;gt;electromagnetic radiation&amp;lt;/u&amp;gt;] in transitions between [https://en.wikipedia.org/wiki/Energy_level &amp;lt;u&amp;gt;energy levels&amp;lt;/u&amp;gt;] of an atom or molecule&amp;lt;sup&amp;gt;[&amp;lt;/sup&amp;gt;[https://en.wikipedia.org/wiki/Wikipedia:Accuracy_dispute#Disputed_statement &amp;lt;sup&amp;gt;&#039;&#039;&amp;lt;u&amp;gt;dubious&amp;lt;/u&amp;gt;&#039;&#039;&amp;lt;/sup&amp;gt;]&amp;lt;sup&amp;gt;&#039;&#039; – &#039;&#039;&amp;lt;/sup&amp;gt;[https://en.wikipedia.org/wiki/Talk:Oscillator_strength#Wrong_definition_oscillator_strength &amp;lt;sup&amp;gt;&#039;&#039;&amp;lt;u&amp;gt;discuss&amp;lt;/u&amp;gt;&#039;&#039;&amp;lt;/sup&amp;gt;]&amp;lt;sup&amp;gt;]&amp;lt;/sup&amp;gt;.&amp;lt;sup&amp;gt;&amp;lt;u&amp;gt;[https://en.wikipedia.org/wiki/Oscillator_strength#cite_note-Demtr%C3%B6der2003-1 [1]][https://en.wikipedia.org/wiki/Oscillator_strength#cite_note-Robinson1996-2 [2]]&amp;lt;/u&amp;gt;&amp;lt;/sup&amp;gt; The oscillator strength can be thought of as the ratio between the quantum mechanical transition rate and the classical absorption/emission rate of a single electron oscillator with the same frequency as the transition.&lt;br /&gt;
|-&lt;br /&gt;
| POTIM (in INCAR file)&lt;br /&gt;
| timestep in femtoseconds. So POTIM=1 is 1 femtosecod&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Density of States&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| To get DOS you need to run the correct calculations in VASP using 4 files. INCAR, POSCAR, POTCAR, OUTCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Once you get output from your submitted information to cori or photon you can follow these steps to get Density of states&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| grep NBA OUTCAR&lt;br /&gt;
| Grabs the number of bands (we need this for later) (STATES)&lt;br /&gt;
|-&lt;br /&gt;
| vi input_overlap&lt;br /&gt;
| editing input_overlap&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Number of Bands from the grep NBA OUTCAR line&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| “esc” key&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| quitting editing input_overlap&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/extract_energy_pop.exe&lt;br /&gt;
| getting energy pop from different location&lt;br /&gt;
|-&lt;br /&gt;
| cp energy_pop STATES&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| wc STATES&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| grep NELE OUTCAR&lt;br /&gt;
| record number of electrons&lt;br /&gt;
|-&lt;br /&gt;
| grep NIO OUTCAR&lt;br /&gt;
| record number of ions&lt;br /&gt;
|-&lt;br /&gt;
| grep E-fer OUTCAR&lt;br /&gt;
| record the three values and their names. If this line doesn’t work the try next line)&lt;br /&gt;
|-&lt;br /&gt;
| grep ferm OUTCAR | tail –n 1&lt;br /&gt;
| record the three values and their names&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/DRESS_DOS_NORM&lt;br /&gt;
| Executes the DOS code from different file location&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Number of states from grep NBA OUTCAR&lt;br /&gt;
| grep NBA OUTCAR line&lt;br /&gt;
|-&lt;br /&gt;
| -20&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
E-fermi info from grep E_fermi&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
To literally line up DOS and STATES, you may need to type in 0 for both fermi and alpha+beta.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;A more standard way is to use the middle point energy between HOMO and LUMO i.e. (E_HOMO+E_LUMO)/2 for fermi and 0 for alpha+beta. In this way, the mid point of DOS is at zero, anything below zero is occupied and above zero is unoccupied.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
alpha+beta info from grep E_fermi&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| .01&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Number of ions from grep NIO OUTCAR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Number of electrons from grep NELE OUTCAR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
gnuplot ~/bin/gnuprog_DOS.fermi&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| Plotting the DOS (This is done in NERSC or PHOTON)&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
ps2pdfwr DOS.ps&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| Converting DOS file from .ps to .pdf&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;br /&amp;gt;set out MEADESDOS.ps MAY NOT NEED THIS NOT SURE YET&lt;br /&gt;
set style line 4 lw 4 lc -1; unset key; plot [-6:6.6] &#039;DOS.fermi&#039; using ($1-2.2617):5 w i title &amp;amp;quot;Electron Occupation&amp;amp;quot;, &#039;DOS.fermi&#039; u ($1-2.2617):4 w l title &amp;amp;quot;Dimer Density of States&amp;amp;quot; ls 4; set xlabel &#039;Orbital Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Density of States&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Density of States Dimer Molecule&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
&lt;br /&gt;
set style line 4 lw 4 lc -1&lt;br /&gt;
&lt;br /&gt;
unset key&lt;br /&gt;
&lt;br /&gt;
plot [-6:6.6] &#039;DOS.fermi&#039; using ($1-2.2617):5 w i title &amp;amp;quot;Electron Occupation&amp;amp;quot;, &#039;DOS.fermi&#039; u ($1-2.2617):4 w l title &amp;amp;quot;Dimer Density of States&amp;amp;quot; ls 4;&lt;br /&gt;
&lt;br /&gt;
set xlabel &#039;Orbital Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0&lt;br /&gt;
&lt;br /&gt;
set ylabel &#039;Density of States&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0&lt;br /&gt;
&lt;br /&gt;
set title &amp;amp;quot;Density of States Dimer Molecule&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0&lt;br /&gt;
&lt;br /&gt;
set tics font &amp;amp;quot;,30&amp;amp;quot;&lt;br /&gt;
&lt;br /&gt;
set ytics offset 0,0,0&lt;br /&gt;
&lt;br /&gt;
set xtics offset -0.4,-1,0&lt;br /&gt;
&lt;br /&gt;
set style line 4 lw 4 lc -1; unset key; plot [-6.1:6.1] &#039;DOS.fermi&#039; using ($1-0.518567):5 w i lw 2 title &amp;amp;quot;Electron Occupation&amp;amp;quot;, &#039;DOS.fermi&#039; u ($1-0.518567):4 w l title &amp;amp;quot;Dimer Density of States&amp;amp;quot; ls 4; set xlabel &#039;Orbital Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Density of States&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Density of States Dimer Molecule&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
&lt;br /&gt;
set style line 4 lw 4 lc -1; unset key; plot [-6.1:6.1] &#039;DOS.fermi&#039; using ($1-0.173350):5 w i lw 2 title &amp;amp;quot;Electron Occupation&amp;amp;quot;, &#039;DOS.fermi&#039; u ($1-0.17335):4 w l title &amp;amp;quot;Wet Monomer Density of States&amp;amp;quot; ls 4; set xlabel &#039;Orbital Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Density of States&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Density of States Wet Monomer Molecule&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
I am initially specifying a style that I will be using. In this case chose style 4 and am editing it to what I want.&lt;br /&gt;
&lt;br /&gt;
lw stands for linwidth, lc line color, not sure where the library is but lc -1 is black, 0=red I think and find out other through trial and error&lt;br /&gt;
&lt;br /&gt;
lw is just multiplyer, so lw 4 is 4 times larger than default.&lt;br /&gt;
&lt;br /&gt;
unset key gets rid of key,&lt;br /&gt;
&lt;br /&gt;
[#,#] is the range of my x axis graph.&lt;br /&gt;
&lt;br /&gt;
($#-###): $# is the column I want to take data from which is being subtracted by the amount of shift I am giving to the data (we want data to be centered at 0 sometimes and so for DOS we take the middle between the start of non occupied plus the end of occupied and divide by 2 to get our shift. (Notoccupied + occupied)/2 ) and the number after the “:” is the column I am correlating the X and Y axis with. So when we plot stuff we need to specify what is the x and what is the y axis.&lt;br /&gt;
&lt;br /&gt;
not sure exactly what the “w i” portion does but it helps us change from points to lines and then is what fills in the red portion of our graph. (The “i” stands for impulses. Add an extra “lw 2’ to increase the line width as shown in green text.) “w l” does the same thing but DOESN”T fill out the the electron density portion.&lt;br /&gt;
&lt;br /&gt;
xlabel and y labels are the axis titles and offsets help position them due to the changing sizes of the axes and tics.&lt;br /&gt;
&lt;br /&gt;
Tics are the numbers on the Y and x axis so ytics offsets them and xtics does the horizontal axis change.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
--OPEN A NEW TAB IN MOBA XTERM--&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Without logging into the account you should be able to see if you are on your current computer&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ls&lt;br /&gt;
| make sure you are in your computer directory. Usually you will see “DESKTOP” as an option&lt;br /&gt;
|-&lt;br /&gt;
| cd DESKTOP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/*.pdf .&lt;br /&gt;
| This is done while in the desktop directory so on your desktop you will see all the pdf files your just generated in desktop&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Absorption Spectrum - Transition Energy eV – Wavelength nm&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
You need a POSCAR file from a previous calculation. SO if you have done a calculation this process can be followed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| create an absorption directory where ever you would like and go into this directory&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/INCAR-gm&lt;br /&gt;
|&lt;br /&gt;
copying INCAR-gm into the directory as long as you are in it&lt;br /&gt;
&lt;br /&gt;
MAKE SURE&lt;br /&gt;
&lt;br /&gt;
LWAVE= .TRUE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
kilin@cori07:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/COOL_INTERMED_Mead/absorptionSpec/TEST&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Or make sure the INCAR has this Ag+Carboxyl&lt;br /&gt;
&lt;br /&gt;
#ISIF=7&lt;br /&gt;
&lt;br /&gt;
#PREC = HIGH&lt;br /&gt;
&lt;br /&gt;
ENCUT= 300&lt;br /&gt;
&lt;br /&gt;
IBRION =3&lt;br /&gt;
&lt;br /&gt;
POTIM=0.2&lt;br /&gt;
&lt;br /&gt;
NSW = 30000&lt;br /&gt;
&lt;br /&gt;
ALGO = NORMAL  #48&lt;br /&gt;
&lt;br /&gt;
ISMEAR = 0&lt;br /&gt;
&lt;br /&gt;
SIGMA = 0.01&lt;br /&gt;
&lt;br /&gt;
LREAL = A&lt;br /&gt;
&lt;br /&gt;
#ISTART = 0&lt;br /&gt;
&lt;br /&gt;
LWAVE = .TRUE.&lt;br /&gt;
&lt;br /&gt;
LCHARG = .FALSE.&lt;br /&gt;
&lt;br /&gt;
EDIFF=1E-6&lt;br /&gt;
&lt;br /&gt;
EDIFFG=-0.05&lt;br /&gt;
&lt;br /&gt;
LVTOT   =  .FALSE.&lt;br /&gt;
&lt;br /&gt;
#LVDW=.TRUE.&lt;br /&gt;
&lt;br /&gt;
#SPRING = -5&lt;br /&gt;
&lt;br /&gt;
#LCLIMB = .TRUE.&lt;br /&gt;
&lt;br /&gt;
#IMAGES = 7&lt;br /&gt;
&lt;br /&gt;
#IOPT=7&lt;br /&gt;
&lt;br /&gt;
#ICHAIN=0&lt;br /&gt;
&lt;br /&gt;
NELM=40&lt;br /&gt;
&lt;br /&gt;
#ISPIN=2&lt;br /&gt;
&lt;br /&gt;
ISYM=0&lt;br /&gt;
&lt;br /&gt;
NPAR=4&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/CONTCAR ./POSCAR&lt;br /&gt;
| Changing CONTCAR to POSCAR&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/POTCAR .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/KPOINTS .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mv INCAR-gm INCAR&lt;br /&gt;
| changing file name from INCAR-gm to INCAR&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/cori-regular.sh .&lt;br /&gt;
| this is our job submission file&lt;br /&gt;
|-&lt;br /&gt;
| vi cori-regular.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6b3108944fbb5d2b.png|345x215px]]&lt;br /&gt;
|&lt;br /&gt;
Make it Look like this.&lt;br /&gt;
&lt;br /&gt;
While in the screen press “I” to insert and edit the file.&lt;br /&gt;
&lt;br /&gt;
When done editing it press “:wq” to save and quit the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you don’t like the edits you made you can press “:q!” to exit the file without saving it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sbatch cori-regular.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| It is necessary to have the ‘spectrum’ file made which comes from a healthy WAVECAR which is used to generate OS_STRENGTH. After OS_STRENGHT we make the spectrum ~/bin/SPECTRUM_imp3 file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Assuming you have conducted a calculation which generated a healthy WAVECAR file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| If healthy WAVECAR exists then…&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| grep NBA OUTCAR&lt;br /&gt;
| record Number of bands&lt;br /&gt;
|-&lt;br /&gt;
| vi input_overlap&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
1&lt;br /&gt;
&lt;br /&gt;
Number of Bands&lt;br /&gt;
&lt;br /&gt;
1&lt;br /&gt;
| 36740210&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
‘esc’ key&lt;br /&gt;
&lt;br /&gt;
:wq&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/extract_energy_pop.exe&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp energy_pop STATES&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/OS/2020/*.exe .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| module swap PrgEnv-intel PrgEnv-gnu&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ./osc_str.exe&lt;br /&gt;
| This makes the OS_STRENGTH (oscillator strength)&lt;br /&gt;
|-&lt;br /&gt;
| grep &#039;2.0000  0.0000&#039; OS_STRENGTH &amp;amp;gt; OS_STRENGTHvc&lt;br /&gt;
|&lt;br /&gt;
Takes the orbital pairs from 2.0000 to 0.0000 into new file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp OS_STRENGTH OS_STRENGTH1&lt;br /&gt;
| making sure I have original OS_STRENGTH&lt;br /&gt;
|-&lt;br /&gt;
| cp OS_STRENGTHvc OS_STRENGTH&lt;br /&gt;
| making sure I have file OS_STRENGvc kept for 2.0000 – 0.0000 but it will be our OS_STRENGTH&lt;br /&gt;
|-&lt;br /&gt;
| wc OS_STRENGTH&lt;br /&gt;
| Record First number&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/SPECTRUM_imp3&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Number from OS_STERNEGTH&lt;br /&gt;
&lt;br /&gt;
.1&lt;br /&gt;
&lt;br /&gt;
10&lt;br /&gt;
&lt;br /&gt;
.001&lt;br /&gt;
&lt;br /&gt;
HOMO&lt;br /&gt;
|&lt;br /&gt;
Should be able to find HOMO from STATES file (or energy_pop)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Can change the “.001” to “0.1 or 0.01” to smooth out the line&lt;br /&gt;
|-&lt;br /&gt;
| a ‘spectrum’ file should have been made. This holds all the spectrum data. The spectrum can be visualized using these commands in Cori. If you want to visualize in photon then use the gnuplot information below&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| gnuplot ~/bin/gnuprog_SPE&lt;br /&gt;
|&lt;br /&gt;
IN CORI YOU CAN USE THESE&lt;br /&gt;
&lt;br /&gt;
THEN SCP them to photon, then the desktop!&lt;br /&gt;
|-&lt;br /&gt;
| gnuplot ~/bin/gnuprog_SPE_nm_200_800&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| ps2pdfwr SPE.ps&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| ps2pdfwr SPE_nm.ps&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| scp * kilin@photon.chem.ndsu.nodak.edu:/scratch001/Chem_476/CHEM676_2019/Meade/DIMER/TDESMD_112_116/COOL_INTERMED_Mead/absorptionSpec&lt;br /&gt;
| example make sure you are in the directory of the files you want to send. Send it to a premade directory in photon&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
--OPEN A NEW TAB IN MOBA XTERM--&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Without logging into the account you should be able to see if you are on your current computer&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ls&lt;br /&gt;
| make sure you are in your computer directory. Usually you will see “DESKTOP” as an option&lt;br /&gt;
|-&lt;br /&gt;
| cd DESKTOP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/*.pdf .&lt;br /&gt;
| This is done while in the desktop directory so on your desktop you will see all the pdf files your just generated in desktop&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
FOR PHOTON USE THESE STEPSWe are plotting the information of spectrum to get the spectrum in wavelength of nanometers nm and transition energy in electron volts eV&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| more spectrum&lt;br /&gt;
|&lt;br /&gt;
(Be sure to be in correct directory)&lt;br /&gt;
&lt;br /&gt;
Column 1 is the spectrum in wavelength of nm&lt;br /&gt;
&lt;br /&gt;
column 2 is the spectrum in transition energy of eV&lt;br /&gt;
&lt;br /&gt;
column 3 is absorbance/absorption in a.u. (absoption units). Absorbance goes with wavelength, absorption goes with transition energy&lt;br /&gt;
&lt;br /&gt;
column 4 idk what this is.&lt;br /&gt;
|-&lt;br /&gt;
| gnuplot&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| plot ‘spectrum’ 2:3&lt;br /&gt;
| This gives you transition energy in x axis and absorption in a.u for yaxis.&lt;br /&gt;
|-&lt;br /&gt;
| set style line 4 lw 4 lc 3; unset key; plot [0:10] &#039;spectrum&#039; using 2:3 w l title &amp;amp;quot;Transition Energy&amp;amp;quot; ls 4; set xlabel &#039;Transition Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;absorption a.u&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Absorption Spectrum Dimer&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
| This is transition energy in x axis and absorption in yaxis.&lt;br /&gt;
|-&lt;br /&gt;
| set style line 4 lw 4 lc 3; unset key; plot [200:800] &#039;spectrum&#039; using 1:3 w l title &amp;amp;quot;Absorption Spectrum&amp;amp;quot; ls 4; set xlabel &#039;Wavelength, nm&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;absorbance, a.u&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Absorption Spectrum Dimer&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
| nm in x axis and absorbance in yaxis&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;UV-Vis Absorption Spectrum&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
You need a POSCAR file from a previous calculation. SO if you have done a calculation this process can be followed.&lt;br /&gt;
&lt;br /&gt;
We did one calculation already but we need to do a “geometry optimization” for the next one.&lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| create an absorption directory where ever you would like and go into this directory&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/INCAR-gm&lt;br /&gt;
| copying INCAR-gm into the directory as long as you are in it&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/CONTCAR ./POSCAR&lt;br /&gt;
| Changing CONTCAR to POSCAR&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/POTCAR .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/KPOINTS .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mv INCAR-gm INCAR&lt;br /&gt;
| changing file name from INCAR-gm to INCAR&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/cori-regular.sh .&lt;br /&gt;
| this is our job submission file&lt;br /&gt;
|-&lt;br /&gt;
| vi cori-regular.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6b3108944fbb5d2b.png|352x219px]]&lt;br /&gt;
|&lt;br /&gt;
Make it Look like this.&lt;br /&gt;
&lt;br /&gt;
While in the screen press “I” to insert and edit the file.&lt;br /&gt;
&lt;br /&gt;
When done editing it press “:wq” to save and quit the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you don’t like the edits you made you can press “:q!” to exit the file without saving it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sbatch cori-regular.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Generating CANDIDATES file for Photofragmentation&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| This is after calculations have been ran for MD???&lt;br /&gt;
|&lt;br /&gt;
Watch this first‼ Part 2 of Dr.Kilins video for how to generate the CANDIDATES file.&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=NIrs1yXJj1Y&amp;amp;feature=youtu.be &amp;lt;u&amp;gt;https://www.youtube.com/watch?v=NIrs1yXJj1Y&amp;amp;amp;feature=youtu.be&amp;lt;/u&amp;gt;]&lt;br /&gt;
|-&lt;br /&gt;
| We want to get information from the WAVECAR that can help us determine the “electron hopping” so we have to find the OS_STRENGTH (oscillator strength) that is high. Since higher OS_Strength the higher the probability that given pair of orbitals is excited. STATES file should have been generated before I think.&lt;br /&gt;
|&lt;br /&gt;
Watch this second‼ Part 1 of Dr. Kilins video for what to do after CANDIDATES file was generated and explains what is in it.&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=A8BXT-FnuxM&amp;amp;t=212s &amp;lt;u&amp;gt;https://www.youtube.com/watch?v=A8BXT-FnuxM&amp;amp;amp;t=212s&amp;lt;/u&amp;gt;]&lt;br /&gt;
|-&lt;br /&gt;
| grep –A 700 fermi OUTCAR | tail –n 700 &amp;amp;gt; STATES1&lt;br /&gt;
| Fermi information from OUTCAR into a file called STATES 1. Not sure what the –A or 700 mean. But the tail is choosing a specific section of the data, the “tail” end of the chosen information from the OUTCAR file.&lt;br /&gt;
|-&lt;br /&gt;
| more STATES1&lt;br /&gt;
| Determine HOMO and LUMO, HOMO is the highest orbital with a 2, LUMO is the first 0. In my case HOMO is 112 and LUMO is 113&lt;br /&gt;
|-&lt;br /&gt;
| NOT SURE HOW HE GENERATED STATES FILE&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| head STATES&lt;br /&gt;
| Record the lowest number, in my case it is 81 for DIMER&lt;br /&gt;
|-&lt;br /&gt;
| tail STATES&lt;br /&gt;
| Record the Highest number, in my case it is 160 for DIMER&lt;br /&gt;
|-&lt;br /&gt;
| vi input_overlap&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| i&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 160&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp energy_pop STATES&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| more ~/bin/ADVICE.spectrum&lt;br /&gt;
| This will make spectrum. This will show 3 lines of code. Literally copy one line and press enter starting with the “module swap PrgEnv-intel PrgEnv-gnu”&lt;br /&gt;
|-&lt;br /&gt;
| module swap PrgEnv-intel PrgEnv-gnu&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/OS/2020/*.exe .&lt;br /&gt;
| copying templates and inputting them into the directory you are in&lt;br /&gt;
|-&lt;br /&gt;
| ./osc_str_CHEM676.exe&lt;br /&gt;
| This reads binary WAVECAR file, Reads input_overlap, creates Oscillator strength&lt;br /&gt;
|-&lt;br /&gt;
| ls –lt | head&lt;br /&gt;
| This should show a fresh OS_STRENGTH was made&lt;br /&gt;
|-&lt;br /&gt;
| grep ‘2.0000 0.0000’ OS_STRENGTH &amp;amp;gt; OS_NEW&lt;br /&gt;
| In the OS_STRENGTH file we will see lines of no transition from occupied to unnoccupied. What we want to see is the lines that have an occupied originally (2.0000) and then are unoccupied (0.0000). This shows excitation. The lines that meet this requirement are then inputted into OS_NEW&lt;br /&gt;
|-&lt;br /&gt;
| head OS_NEW&lt;br /&gt;
| This should show a range of orbitals that have been occupied and are now unoccupied. With the differing orbitals involved. Columns 1 and 2 are the initial and final orbitals that are involved with the “hopping” of electrons. The 3rd column is oscillator Strength. 4th Column is Transition energy.&lt;br /&gt;
|-&lt;br /&gt;
| mv OS_NEW OS_STRENGTH&lt;br /&gt;
| We don’t need all OS_STRENGTH data, just the stuff we “grepped” in OS_NEW. This overrides OS_STRENGTH with information from OS_NEW.&lt;br /&gt;
|-&lt;br /&gt;
| wc OS_STRENGTH&lt;br /&gt;
| Word count: The 1st number shows number of lines present in file. 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; number of words present in file. 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; column shows number of characters present in file. 4&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; number is the file name which is given as an argument.&lt;br /&gt;
|-&lt;br /&gt;
| head –n 30 OS_STRENGTH&lt;br /&gt;
| In this particular case we only want the top 30 rather than the original value the first column gave was. In my case it was about 1536.&lt;br /&gt;
|-&lt;br /&gt;
| head –n 30 OS_STRENGTH | sort –gk 4&lt;br /&gt;
| To sort in ascending order of transition energy. 4 is the 4&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; column. I don’t know what –gk means.&lt;br /&gt;
|-&lt;br /&gt;
| head –n 30 OS_STRENGTH | sort –gk 4 &amp;amp;gt; CANDIDATES&lt;br /&gt;
| Inputs this information into CANDIDATES file&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Orbital Visualization&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| I don’t have all information available here, for example I personally didn’t make the PARCHG files.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Kilins Guidance to make PARCHG files… I think&lt;br /&gt;
&lt;br /&gt;
Dear Meade,&lt;br /&gt;
&lt;br /&gt;
below are steps I did for creating orbitals files on nersc.&lt;br /&gt;
&lt;br /&gt;
I will let you know when they are ready and instruct on how to visualize.&lt;br /&gt;
&lt;br /&gt;
slides are good, under given limits.&lt;br /&gt;
&lt;br /&gt;
In the given time, you may add conclusions as you see them..&lt;br /&gt;
&lt;br /&gt;
Best wishes,&lt;br /&gt;
&lt;br /&gt;
Dmitri&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; mkdir ORBITALS&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp WAVECAR ORBITALS/&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp CONTCAR ORBITALS/POSCAR&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp POTCAR ORBITALS/&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp *.sh  ORBITALS/&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp KPOINTS ORBITALS/&lt;br /&gt;
&lt;br /&gt;
&amp;amp;gt; cd ORBITALS/&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/ORBITALS&amp;amp;gt; grep NBA ../OUTCAR&lt;br /&gt;
&lt;br /&gt;
   k-points           NKPTS =      1   k-points in BZ     NKDIM =      1   number of bands    NBANDS=    160&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/ORBITALS&amp;amp;gt; cp ~/bin/INCAR/INCAR-pc ./INCAR&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/ORBITALS&amp;amp;gt; tail INCAR&lt;br /&gt;
&lt;br /&gt;
IBRION=2        #conjugate-gradient algorithm used to relax ions (bad&lt;br /&gt;
&lt;br /&gt;
NSW=0           #number of ionic steps&lt;br /&gt;
&lt;br /&gt;
POTIM= .2       #time step in fs&lt;br /&gt;
&lt;br /&gt;
EDIFFG=-0.001 #minimum energy difference between ionic iterations&lt;br /&gt;
&lt;br /&gt;
EINT= -4.4 -0.5&lt;br /&gt;
&lt;br /&gt;
EINT= -6 2 &lt;br /&gt;
&lt;br /&gt;
LVTOT   =  .TRUE.&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/ORBITALS&amp;amp;gt; sbatch cori_debug.sh &lt;br /&gt;
&lt;br /&gt;
Submitted batch job 32413471&lt;br /&gt;
&lt;br /&gt;
many thanks for the new version!&lt;br /&gt;
&lt;br /&gt;
The main question in your email is orbitals with VASP:&lt;br /&gt;
&lt;br /&gt;
a. generate or use premade healthy WAVECAR &lt;br /&gt;
&lt;br /&gt;
(it is an analog of .chk in gaussian)&lt;br /&gt;
&lt;br /&gt;
b. in a new directory, use template of the INCAR for orbitals and run vasp once again.&lt;br /&gt;
&lt;br /&gt;
the templates are named ~/bin/INCAR/INCAR_pc  and similar names.&lt;br /&gt;
&lt;br /&gt;
(it is an analog of the cubegen procedure in gaussian)&lt;br /&gt;
&lt;br /&gt;
c. upon successful run, there appear files nammed PARCHG.XXXX.ALLK, where XXXX stands for the index of orbital, e.g. PARCHG..01112.ALLK&lt;br /&gt;
&lt;br /&gt;
(those files are analogs of the .cube files in gaussian. note that vasp DOES not generate literal .cube files!)&lt;br /&gt;
&lt;br /&gt;
d. download these files and open then in the VMD - the same software you have used for the trajectories.&lt;br /&gt;
&lt;br /&gt;
I will have a look on the slides and let you nko if any quicl changes are needed or we can go ahead with this version&lt;br /&gt;
&lt;br /&gt;
Best wishes,&lt;br /&gt;
&lt;br /&gt;
Dmitri&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Step 2. Changing PARCHG Files to cube files (For Orbital Visualization)&lt;br /&gt;
| From what I have seen we need cube files to show in guassview AND VMD&lt;br /&gt;
|-&lt;br /&gt;
| Once obtained PARCH.####.ALLK Files then use following command in PHOTON to convert the orbitals you care about to cube!&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ~/vtstools/chg2cube.pl filename&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| selecting PARCHG&lt;br /&gt;
|-&lt;br /&gt;
| 1 6 7 8&lt;br /&gt;
| (These are the atomic numbers for the atoms in your system. In my case I have Hydrogen, Nitrogen, Oxygen, and Carbon&lt;br /&gt;
|-&lt;br /&gt;
| Your cube file is then generated&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| SEND cube files, POSCAR (OR CONTCAR), CHGCAR FILES TO DESKTOP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Step 3. Using VMD to generate orbitals&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Open VMD&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
In the VMD Main window go to “File” “new Molecule” Upload your&lt;br /&gt;
&lt;br /&gt;
1.POSCAR (OR POSSIBLY CONTCAR): By selecting VASP_POSCAR under the “Determine file type:”&lt;br /&gt;
&lt;br /&gt;
2. CHGCAR: By selecting VASP_CHGCAR under the “Determine file type:”&lt;br /&gt;
&lt;br /&gt;
3. USE THIS ONE PARCHG: By selecting VASP_PARCHG under the “Determine file type:” (Even though the file ends in .cube we are classifying it as PARCHG)&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_b0283f3c67e04e7d.png|219x134px]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_eae9e77b87b8627b.png|222x103px]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
After all three are uploaded,&lt;br /&gt;
&lt;br /&gt;
in the VMD Main window go to “Graphics” and then “Representations”&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
In the Graphical Representations window follow these three examples.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;(Change the file you are using by the dropdown menu of “selected Molecule”)&lt;br /&gt;
|&lt;br /&gt;
The red lettering means that PARCHG Isosurface isn’t being shown. You can double click on the red lettering to make it black and showing on the OpenGL Display Window. Double click again to revert to black.&lt;br /&gt;
&lt;br /&gt;
Parchrg can be shown and can be visualized in conjungtion with the CHGCAR file&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_e7a558f4dc169c4e.png|121x260px]] [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6b15ffb6b911b765.png|124x266px]] [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_3734231f026ab64e.png|124x265px]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
-You can change the iso value in CHGCAR to get varying orbital visualizations.&lt;br /&gt;
&lt;br /&gt;
-Play with it.&lt;br /&gt;
&lt;br /&gt;
-Change the color by changing the ColorID to different ones.&lt;br /&gt;
&lt;br /&gt;
-(Range in CHGCAR doesn’t matter)&lt;br /&gt;
|&lt;br /&gt;
For Monomer Project Show&lt;br /&gt;
&lt;br /&gt;
all index 52 47 29 44 38 28 18 56 64&lt;br /&gt;
&lt;br /&gt;
H52&lt;br /&gt;
&lt;br /&gt;
H47&lt;br /&gt;
&lt;br /&gt;
H29&lt;br /&gt;
&lt;br /&gt;
H44&lt;br /&gt;
&lt;br /&gt;
H38&lt;br /&gt;
&lt;br /&gt;
H28&lt;br /&gt;
&lt;br /&gt;
H18&lt;br /&gt;
&lt;br /&gt;
H56&lt;br /&gt;
&lt;br /&gt;
H64&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_c5f67d67a9a89fa7.png|355x180px]] [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_d4c6c68549d8e025.png|357x209px]]&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| To get rid of opaque water molecuels make both of these in “Graphics” “Materials” 123 is for faded bods and 124 is for the orbitals&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_8d905765b5183c3.png|142x229px]] [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_449e5be8bb4a3541.png|139x222px]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| For my Monomer_H2O first frame hide these atoms if you don’t want in view&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
O108&lt;br /&gt;
&lt;br /&gt;
O99&lt;br /&gt;
&lt;br /&gt;
O94&lt;br /&gt;
&lt;br /&gt;
O101&lt;br /&gt;
&lt;br /&gt;
O81&lt;br /&gt;
&lt;br /&gt;
O91&lt;br /&gt;
&lt;br /&gt;
O90&lt;br /&gt;
&lt;br /&gt;
O86&lt;br /&gt;
&lt;br /&gt;
O82&lt;br /&gt;
&lt;br /&gt;
O87&lt;br /&gt;
&lt;br /&gt;
O79&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;H73&lt;br /&gt;
&lt;br /&gt;
H45&lt;br /&gt;
&lt;br /&gt;
H62&lt;br /&gt;
&lt;br /&gt;
H51&lt;br /&gt;
&lt;br /&gt;
H58&lt;br /&gt;
&lt;br /&gt;
H50&lt;br /&gt;
&lt;br /&gt;
H48&lt;br /&gt;
&lt;br /&gt;
H14&lt;br /&gt;
&lt;br /&gt;
H22&lt;br /&gt;
&lt;br /&gt;
H36&lt;br /&gt;
&lt;br /&gt;
H42&lt;br /&gt;
&lt;br /&gt;
H31&lt;br /&gt;
&lt;br /&gt;
H20&lt;br /&gt;
&lt;br /&gt;
H23&lt;br /&gt;
&lt;br /&gt;
H35&lt;br /&gt;
&lt;br /&gt;
H30&lt;br /&gt;
&lt;br /&gt;
H54&lt;br /&gt;
&lt;br /&gt;
H59&lt;br /&gt;
&lt;br /&gt;
H25&lt;br /&gt;
|&lt;br /&gt;
all not index ### ### ### ###...&lt;br /&gt;
&lt;br /&gt;
all not index 108 99 94 101 81 91 90 86 82 87 79 73 45 62 51 58 50 48 14 22 36 42 31 20 23 35 30 54 59 25&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;backbone &lt;br /&gt;
&lt;br /&gt;
index 97 103 11 9 10 13 12 96 1 84 78 3 4 100 77 0 8 2 5 6 7&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;These are for the figure first frame for still seeing the water atoms but hazy&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
H22 14 26 19 30 35 15 17 60 69 73 62 45 34 40 16 21 37 27 55 53 49 24 32 43 39 33 67 70 71 65 75 76 66 72 68 63 59 50 51 58 54 48 20 47 23 36 42 31 25 74 61 57 41 46&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;O90 86 91 99 94 104 106 111 109 110 107 92 85 95 102 88 80 89 108 105 83 87 82 81 90 101 79 93&lt;br /&gt;
| 22 14 26 19 30 35 15 17 60 69 73 62 45 34 40 16 21 37 27 55 53 49 24 32 43 39 33 67 70 71 65 75 76 66 72 68 63 59 50 51 58 54 48 20 47 23 36 42 31 25 74 61 57 41 46 90 86 91 99 94 104 106 111 109 110 107 92 85 95 102 88 80 89 108 105 83 87 82 81 90 101 79 93&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Index for Diagram for pics Middle Frame for H20 molecules&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
H63&lt;br /&gt;
&lt;br /&gt;
H33&lt;br /&gt;
&lt;br /&gt;
H17&lt;br /&gt;
&lt;br /&gt;
H21&lt;br /&gt;
&lt;br /&gt;
60&lt;br /&gt;
&lt;br /&gt;
68&lt;br /&gt;
&lt;br /&gt;
42&lt;br /&gt;
&lt;br /&gt;
38&lt;br /&gt;
&lt;br /&gt;
34&lt;br /&gt;
&lt;br /&gt;
50&lt;br /&gt;
&lt;br /&gt;
72&lt;br /&gt;
&lt;br /&gt;
73&lt;br /&gt;
&lt;br /&gt;
16&lt;br /&gt;
&lt;br /&gt;
61&lt;br /&gt;
&lt;br /&gt;
55&lt;br /&gt;
&lt;br /&gt;
71&lt;br /&gt;
&lt;br /&gt;
59&lt;br /&gt;
&lt;br /&gt;
69&lt;br /&gt;
&lt;br /&gt;
40&lt;br /&gt;
&lt;br /&gt;
14&lt;br /&gt;
&lt;br /&gt;
39&lt;br /&gt;
&lt;br /&gt;
74&lt;br /&gt;
&lt;br /&gt;
67&lt;br /&gt;
&lt;br /&gt;
53&lt;br /&gt;
&lt;br /&gt;
49&lt;br /&gt;
&lt;br /&gt;
41&lt;br /&gt;
&lt;br /&gt;
52&lt;br /&gt;
&lt;br /&gt;
27&lt;br /&gt;
&lt;br /&gt;
15&lt;br /&gt;
&lt;br /&gt;
31&lt;br /&gt;
&lt;br /&gt;
23&lt;br /&gt;
&lt;br /&gt;
54&lt;br /&gt;
&lt;br /&gt;
62&lt;br /&gt;
&lt;br /&gt;
32&lt;br /&gt;
&lt;br /&gt;
64&lt;br /&gt;
&lt;br /&gt;
30&lt;br /&gt;
&lt;br /&gt;
26&lt;br /&gt;
&lt;br /&gt;
57&lt;br /&gt;
&lt;br /&gt;
37&lt;br /&gt;
&lt;br /&gt;
51&lt;br /&gt;
&lt;br /&gt;
58&lt;br /&gt;
&lt;br /&gt;
70&lt;br /&gt;
&lt;br /&gt;
43&lt;br /&gt;
&lt;br /&gt;
25&lt;br /&gt;
&lt;br /&gt;
35&lt;br /&gt;
&lt;br /&gt;
46&lt;br /&gt;
&lt;br /&gt;
45&lt;br /&gt;
|&lt;br /&gt;
O80&lt;br /&gt;
&lt;br /&gt;
87&lt;br /&gt;
&lt;br /&gt;
99&lt;br /&gt;
&lt;br /&gt;
81&lt;br /&gt;
&lt;br /&gt;
88&lt;br /&gt;
&lt;br /&gt;
105&lt;br /&gt;
&lt;br /&gt;
104&lt;br /&gt;
&lt;br /&gt;
91&lt;br /&gt;
&lt;br /&gt;
90&lt;br /&gt;
&lt;br /&gt;
106&lt;br /&gt;
&lt;br /&gt;
97&lt;br /&gt;
&lt;br /&gt;
108&lt;br /&gt;
&lt;br /&gt;
102&lt;br /&gt;
&lt;br /&gt;
89&lt;br /&gt;
&lt;br /&gt;
93&lt;br /&gt;
&lt;br /&gt;
101&lt;br /&gt;
&lt;br /&gt;
92&lt;br /&gt;
&lt;br /&gt;
107&lt;br /&gt;
&lt;br /&gt;
78&lt;br /&gt;
&lt;br /&gt;
109&lt;br /&gt;
&lt;br /&gt;
86&lt;br /&gt;
&lt;br /&gt;
83&lt;br /&gt;
&lt;br /&gt;
94&lt;br /&gt;
&lt;br /&gt;
63 33 17 21 60 68 42 38 34 50 72 73 16 61 55 71 59 69 40 14 39 74 67 53 49 41 52 27 15 31 23 54 62 32 64 30 26 57 37 51 58 70 43 25 35 46 45 80 87 99 81 88 105 104 91 90 106 97 108 102 89 93 101 92 107 78 109 86 83 94&lt;br /&gt;
&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_783e625ce0b8a321.png|182x247px]]&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Preparation of TDESMD Orbital Files and Job Submission&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mkdir TDESMD_111_114&lt;br /&gt;
| We will now use the information of the CANDIDATES file and create new folder for each scenario. You create a file titled using the orbitals involved. In my case the first scenario is with orbitals 111 and 114&lt;br /&gt;
|-&lt;br /&gt;
| cd TDESMD_111_114&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_111_114/INCAR_EXCITED&lt;br /&gt;
| Taking INCAR_EXCITED file from location. In my case it is here.&lt;br /&gt;
|-&lt;br /&gt;
| vi INCAR_EXCITED&lt;br /&gt;
| Edit the INCAR_EXCITED file to make it look like&lt;br /&gt;
|-&lt;br /&gt;
| i&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_79a32df6f9f33bb0.png|303x201px]]&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
Change FERWE=#### to match the total number of orbitals/bands. In this example we have a total number of 160 bands/orbitals.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The first segment of FERWE, “110*1” says we have the first 110 orbitals occupied. The second portion is orbital number 111 which we have listed as a “0” signifying this orbital is unnoccopied for our job submission. Then orbital number 112 is occupied with “1”. Then orbital number 113 is unoccupied with “0”. Then orbital number 114 is occupied with “1”. The last part of “46*0” is talking about the other orbitals not mentioned. These orbital should add up to 160. These numbers change with the differing orbitals designating in the CANDIDATES FILE.&lt;br /&gt;
&lt;br /&gt;
The main thing that is changing is the position of one occupied orbital and one unoccupied orbital when the compound is in ground state. In this example number 111 is usually occupied in ground state and we are moving the electron to 114 which is unoccupied in ground state.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| ONE more example is as follows. With TDESMD_102_115&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_51e84877e4374ca6.png|300x199px]]&lt;br /&gt;
|-&lt;br /&gt;
| “esc” key&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/POSCAR ./CONTCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/KPOINTS&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/POTCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_111_114/debug1.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sbatch debug1.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Creating Videos from movieAll.xyz files and uploading them on youtube&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| scp –r TDESMD_###_### DestinationUser:/DestinationLocation&lt;br /&gt;
|&lt;br /&gt;
Starting in cori&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using this to send files from cori to photon. We specifically want the movieALL.xyz files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is sending the WHOLE directory and everything it contains&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
--OPEN A NEW TAB IN MOBA XTERM--&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Without logging into the account you should be able to see if you are on your current computer&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ls&lt;br /&gt;
| make sure you are in your computer directory. Usually you will see “DESKTOP” as an option&lt;br /&gt;
|-&lt;br /&gt;
| cd DESKTOP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mkdir TDESMD_###_###&lt;br /&gt;
|&lt;br /&gt;
In DESKTOP&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
generate TDESMD_###_### directories&lt;br /&gt;
|-&lt;br /&gt;
| scp kilin@photon.chem.ndsu.nodak.edu:/scratch001/Chem_476/CHEM676_2019/Meade/DIMER/TDESMD_##_###/movieALL.xyz .&lt;br /&gt;
| WHILE IN THE TDESMD DIRECTORY THAT YOU WANT TO BE THE DESTINATION take “movieALL.xyz” from photon and put into specific directory&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| Once the file is in your desktop you can go to your windows folders and open it to check if it is there.&lt;br /&gt;
|-&lt;br /&gt;
| In windows search bar&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| VMD&lt;br /&gt;
|&lt;br /&gt;
type vmd in windows search bar and open it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
VMD will open with multiple screens.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| We will focus on this screen first to open all the extra screens we need. (VMD Main)&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_5f31d31c2c72c623.png|244x114px]]&lt;br /&gt;
|-&lt;br /&gt;
| Press “File”, “New Molecule,”&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| On the window that comes up (Molecule File Browser) Press “Browse” and find the file you would like. Find the file you want. In this example it is an xyz file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Once A file is picked then press “Load” in the Molecule File Browser window.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Going back to VMD Main&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Press “Graphics” and Representations to open a long slender screen.(VMD Main)&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_c8cfeb66ca7723b0.png|225x487px]]&lt;br /&gt;
|-&lt;br /&gt;
| Press the “Create Rep” Button (Graphical Representation window)&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| With one of the “Reps” highlighted in green, in the drawing Method switch from Lines to VDW&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Change the Sphere scale to 0.2.&lt;br /&gt;
&lt;br /&gt;
Resolution can stay at default or can be raised if desired.&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6ceb4d7e0c7c142a.png|157x340px]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Click on the other line that still says “LINES” and in the Drawing Method change it to Dynamic Bonds&lt;br /&gt;
&lt;br /&gt;
Change Distance Cutoff to 1.6&lt;br /&gt;
&lt;br /&gt;
Bond Radius to 0.1&lt;br /&gt;
&lt;br /&gt;
And Resolution can stay at default or be increased&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_dba6c2b704e3401a.png|158x337px]]&lt;br /&gt;
|-&lt;br /&gt;
| Go back to VMD Main&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Go to “Extensions,” “Visualizations,” and “Movie maker”&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Go to the VMD Movie Generator window&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| In the box of “Name of movie” type the TDESMD_##_### you have.&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_b50ecc50051093d9.png|214x167px]]&lt;br /&gt;
|-&lt;br /&gt;
| “Set Working Directory“ choose the destination directory you want the movie to go to.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| “Rotation Angle” I put it to 0 but you can put it to whatever.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| “trajectory step size” 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| “Movie Duration” This depends on your frames from the (VMDMain) Usually 1000 frames is about 20-30 seconds if the speed (step) is set to 1. But By changing the speed of the video we should make the total video length to 30-45 seconds long.&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_b50ecc50051093d9.png|232x181px]]&lt;br /&gt;
|-&lt;br /&gt;
| Back to VMD Main window&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Press “Mouse,” “Label,” “Bonds”&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| click on two neighboring atoms to get the atom name and bond length&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
IN VMD Main, go to “Graphics” and “Labels.” select “atoms” in the drop down menu on the “Labels” window.&lt;br /&gt;
&lt;br /&gt;
Select all atoms by clicking on the top atom and then “SHIFT+left click” the bottom atom to select all atoms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
While all atoms are selected (highlighted in green). Go to “Properties” and in the “Format” box type %e%i.&lt;br /&gt;
&lt;br /&gt;
(The %e gives the element and the %i gives the index number)&lt;br /&gt;
&lt;br /&gt;
Some information can be presented by simply having your cursor over the %e%i and a yellow box will pop up for some info.&lt;br /&gt;
&lt;br /&gt;
You can move the lettering of each atom by moving the offset information.&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_46eab8f828aa40bc.png|215x201px]]&lt;br /&gt;
|-&lt;br /&gt;
| Click the global properties and change text size and text thickness. ( all of this can be see in the (VMD1.9.3 OpenGL Display) [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_260ebe13a2eda05.png|162x114px]]&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_3968014bc41ed6a4.png|224x212px]]&lt;br /&gt;
|-&lt;br /&gt;
| in VMD movie Generator press “make movie” and quickly in VMD main press the play button.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Once the video is done a popup should be produced asking where to find videomach. Here is the directory for my computer.&lt;br /&gt;
&lt;br /&gt;
C:\Program Files (x86)\VideoMach\videomach.exe&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Once you put in the file videomach.exe then videomach should show up.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Switch the file type to MP4&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6a986dcfd4344618.png|374x27px]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_da932791910b2a04.png|167x188px]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_d35497678abed954.png|155x364px]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| Polymer/Monomer Photodegradation: TDESMD 91 121 Bond Data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
Bond lengths shown (white lettering) are chosen to see if this degradation simulation relates to the photo cleavage explained in this specified paper.&lt;br /&gt;
&lt;br /&gt;
Angew. Chem. Int. Ed. 2015, 54, 1159 –1163&lt;br /&gt;
&lt;br /&gt;
The transition energy for this excitation is 0.24386664.&lt;br /&gt;
&lt;br /&gt;
From conformation labeled as &amp;amp;quot;DIMER&amp;amp;quot;&lt;br /&gt;
&lt;br /&gt;
Acknowledgements: Dr. Dmitri Kilin&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Obtaining MASSPECTRUM Data from FERWE TDESMD Calculations&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| We will be using python scripts that are premade. In PHOTON&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| go to the TDESMD_###_### directory you want to go to&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| in here make another directory called massspectrum&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mkdir massspectrum&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cd masssspectrum&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /Location/movieALL.xyz&lt;br /&gt;
| This should be from the TDESMD_###_### you are in.&lt;br /&gt;
|-&lt;br /&gt;
| cp /Location/script1n.py&lt;br /&gt;
| /scratch001/Chem_476/CHEM676_2019/Meade/Pythonscript/script1n.py&lt;br /&gt;
|-&lt;br /&gt;
| babel –ixyz movieALL.xyz shot.xyz -m&lt;br /&gt;
|&lt;br /&gt;
Creating shot files. Each shot is a “frame” from the video.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Record number of molecules converted.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-2055 molecules converted&lt;br /&gt;
&lt;br /&gt;
-2055 files output. The first is shot1.xyz&lt;br /&gt;
|-&lt;br /&gt;
| python3 script1n.py&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| enter number of molecules converted&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| a frequency file should be created&lt;br /&gt;
|-&lt;br /&gt;
| cp frequency.txt frequency1.txt&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| awk &#039;ORS=(!(NR%2)?&amp;amp;quot;\n&amp;amp;quot;:&amp;amp;quot; &amp;amp;quot;)&#039; RS=&amp;amp;quot; &amp;amp;quot; frequency.txt &amp;amp;gt; file1.txt&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp rmovingfile.sh&lt;br /&gt;
| /scratch001/Chem_476/CHEM676_2019/Meade/DIMER/TDESMD_112_116/massspectrum/MultipleCellMassSpec&lt;br /&gt;
|-&lt;br /&gt;
| bash rmovingfile.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| vi file1.txt&lt;br /&gt;
| Edit the file by deleting everything that doesn’t relate to the numbers.&lt;br /&gt;
|-&lt;br /&gt;
| i&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| before [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_b3731e92878413d2.png|289x328px]]&lt;br /&gt;
|&lt;br /&gt;
after&lt;br /&gt;
&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_c6aa114dd0a5843f.png|108x333px]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
IT IS NECESSARY TO MENTION THAT WHEN CREATING THE FRAGMENTS FILE AN EXTRA BLANK LINE WILL BE GENERATED. IT IS ESSENTIAL TO DELETE.&lt;br /&gt;
&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_2104ec24e9b14aae.png|258x363px]]&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_36d7bfd4ff6b9e13.png|218x371px]]&lt;br /&gt;
|-&lt;br /&gt;
| “esc” key&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp file1.txt fragments&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| wc fragments&lt;br /&gt;
|&lt;br /&gt;
record the first number&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
in my case it is 21&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/DRESS_FRAGMENT_v2&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
21&lt;br /&gt;
&lt;br /&gt;
100&lt;br /&gt;
&lt;br /&gt;
300&lt;br /&gt;
&lt;br /&gt;
.1&lt;br /&gt;
&lt;br /&gt;
1&lt;br /&gt;
&lt;br /&gt;
62&lt;br /&gt;
&lt;br /&gt;
160&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
number of states&lt;br /&gt;
&lt;br /&gt;
Min MASS (can change if desired)&lt;br /&gt;
&lt;br /&gt;
Max MASS (can change if desired)&lt;br /&gt;
&lt;br /&gt;
width of the line used&lt;br /&gt;
&lt;br /&gt;
magnitude (keep at one)&lt;br /&gt;
&lt;br /&gt;
number of atoms&lt;br /&gt;
&lt;br /&gt;
number of electrons&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Plotting FERWE MASSPECTRUM&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| gnuplot&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| set style line 4 lw 100 lc -1; unset key; plot &amp;amp;quot;MASS_SPEC.norm&amp;amp;quot; using 3:5 w l lw 3; set xlabel &#039;Molecular Weight, amu&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Intensity (a.u)&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Mass Spectrum Dimer Multiple Cells&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0&lt;br /&gt;
| e in the directory of the file you want to plot, in this example we are using MASS_SPEC.norm as our file with the data we want.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
set style line 4 lw 100 lc -1; unset key; plot &amp;amp;quot;MASS_SPEC.norm&amp;amp;quot; using 3:5 w l lw 3; set xlabel &#039;Molecular Weight, amu&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Intensity (a.u)&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Mass Spectrum Monomer H2O Multiple Cells&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;To press the right mouse button and move mouse to preferred window size. Then left click&lt;br /&gt;
| monomer h20&lt;br /&gt;
|-&lt;br /&gt;
| ressing p takes you to the previous zoom level, n to the next level, and u unzooms&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| set style line 4 lw 100 lc -1; unset key; plot &amp;amp;quot;MASS_SPEC.norm&amp;amp;quot; using 3:5 w l lw 3; set xlabel &#039;Molecular Weight, amu&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Intensity&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Mass Spectrum Dimer Multiple Cells&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Obtaining Multiple Cell MASSPECTRUM Data from FERWE TDESMD Calculations&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Make sure TDESMD CONTCAREXICTED and CONTCARGROUND files have been generated. Start in Cori go to Photon&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/test.sh&lt;br /&gt;
&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/ test_o.sh&lt;br /&gt;
&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/ANA_v2.exe&lt;br /&gt;
&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/input_ANA&lt;br /&gt;
&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/CONTCAREXICTED and GROUNDFILES&lt;br /&gt;
|&lt;br /&gt;
Take these files from Cori and put them into photon.&lt;br /&gt;
&lt;br /&gt;
These two files are needed for running the scripts properly&lt;br /&gt;
&lt;br /&gt;
These are the “important parts of the code”&lt;br /&gt;
&lt;br /&gt;
~/vtstools3/pos2xyz.pl CONTCAR&lt;br /&gt;
&lt;br /&gt;
cp CONTCAR.xyz INPUT.xyz&lt;br /&gt;
&lt;br /&gt;
~/bin/ANA_v2.exe&lt;br /&gt;
&lt;br /&gt;
cat OUTPUT.xyz &amp;amp;gt; movieANA.xyz&lt;br /&gt;
&lt;br /&gt;
input_ANA should have similar format to this&lt;br /&gt;
&lt;br /&gt;
Where the first 3 numbers are from POSCAR, the last 3 are the number of cells in the x,y,z axes respectively. This files was duplicated across Z axis.&lt;br /&gt;
&lt;br /&gt;
18.54438999999999&lt;br /&gt;
&lt;br /&gt;
14.45937999999995&lt;br /&gt;
&lt;br /&gt;
17.76793999999994&lt;br /&gt;
&lt;br /&gt;
1&lt;br /&gt;
&lt;br /&gt;
1&lt;br /&gt;
&lt;br /&gt;
10&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
~/vtstools3/pos2xyz.pl CONTCAR&lt;br /&gt;
&lt;br /&gt;
cp CONTCAR.xyz INPUT.xyz&lt;br /&gt;
&lt;br /&gt;
~/bin/ANA_v2.exe&lt;br /&gt;
&lt;br /&gt;
cat OUTPUT.xyz &amp;amp;gt; movieANA.xyz&lt;br /&gt;
|&lt;br /&gt;
Delete movieANA.xyz if you have it already.&lt;br /&gt;
&lt;br /&gt;
( This is to make sure the OUTPUT and initial part of the moveANA.xyz file is what it needs to be. In my situation I wanted to have 10 cells combined together.&lt;br /&gt;
&lt;br /&gt;
I used input_ANA&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
CHECK to see if OUTPUT has the correct number of atoms&lt;br /&gt;
&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_4a92367ce10afd50.png|624x64px]]&lt;br /&gt;
| Single cell had 620 atoms, I multipled it by 10 since I wanted to duplicate 10 times. If this is good procede to next steps&lt;br /&gt;
|-&lt;br /&gt;
| vi test.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_19d33c90b0cefb7a.png|278x215px]]&lt;br /&gt;
| change the number to later stage in your trajectory(or the number where you think degradation had occurred. For example my total CONTCARGround and excited was about 191 files. I saw degradation occur later in the simulation so I chose the number 190. This changes with the simulations.&lt;br /&gt;
|-&lt;br /&gt;
| bash test.sh&lt;br /&gt;
| this runs the test.sh file&lt;br /&gt;
|-&lt;br /&gt;
| bash test_o.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| NOW LOOKING INTO PHOTON&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp all files into photon directory&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /Location/script1n.py&lt;br /&gt;
| /scratch001/Chem_476/CHEM676_2019/Meade/Pythonscript/script1n.py&lt;br /&gt;
|-&lt;br /&gt;
| babel –ixyz movieANA.xyz shot.xyz -m&lt;br /&gt;
|&lt;br /&gt;
Creating shot files. Each shot is a “frame” from the video.&lt;br /&gt;
&lt;br /&gt;
Record number of molecules converted.&lt;br /&gt;
&lt;br /&gt;
-2055 molecules converted&lt;br /&gt;
&lt;br /&gt;
-2055 files output. The first is shot1.xyz&lt;br /&gt;
|-&lt;br /&gt;
| Follow regular mass spec steps from above. Rather than using MovieALL we are using movieANA.xyz.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
photon&lt;br /&gt;
&lt;br /&gt;
/scratch001/Chem_476/CHEM676_2019/Meade/DIMER/TDESMD_112_116/massspectrum/MultipleCellMassSpec&lt;br /&gt;
&lt;br /&gt;
cori&lt;br /&gt;
&lt;br /&gt;
/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/test&lt;br /&gt;
|-&lt;br /&gt;
| plummer code for renaming files&lt;br /&gt;
| /global/project/projectdirs/m1251/vasp/CHEM676/meade/MONOMER_H2O/TDESMD_162_167/massspec/multiplemassspectest/plumoutput&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;How to read/get the fragments with their xyz coordinates&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Go into the directory with the shot files with the multiple cells. Make sure that some files have this comment inside of them by opening a shot file that has name shot##n#.xyz&lt;br /&gt;
&lt;br /&gt;
The comment should be.&lt;br /&gt;
&lt;br /&gt;
created by duplicating cells#&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| grep -E &#039;created by duplicating cells.* 17.&#039; shot*&lt;br /&gt;
|&lt;br /&gt;
finds lines that have both “created by duplicating cells” and the number 17 in the same line.&lt;br /&gt;
&lt;br /&gt;
17 is the mass number we are looking for&lt;br /&gt;
&lt;br /&gt;
I am unsure what the “.*” does in this code&lt;br /&gt;
&lt;br /&gt;
make sure there is a space between the * and the 17&lt;br /&gt;
|-&lt;br /&gt;
| Then open one of the xyz files listed.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Literally drag and copy the file information into a notepad document in your desktop.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| more shot291n10.xyz&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_9c48a58b9e24dc27.png|210x268px]]&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_7c3a89906ed25e30.png|180x270px]]&lt;br /&gt;
|-&lt;br /&gt;
| open the xyz file in Avogadro and save as mol file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| the Avogadro file is correct visualization of the fragments. Mol file will have some defects so you will have to change those.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Making Video from output of VASP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
~/vtstools3/pos2xyz.pl CONTCAR&lt;br /&gt;
&lt;br /&gt;
cp CONTCAR.xyz INPUT.xyz&lt;br /&gt;
&lt;br /&gt;
~/bin/ANA_v2.exemore&lt;br /&gt;
&lt;br /&gt;
cat OUTPUT.xyz &amp;amp;gt; movieANA.xyz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
Delete movieANA.xyz if you have it already.&lt;br /&gt;
&lt;br /&gt;
( This is to make sure the OUTPUT and initial part of the moveANA.xyz file is what it needs to be. In my situation I wanted to have 10 cells combined together.&lt;br /&gt;
&lt;br /&gt;
I used input_ANA&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;LAAMPS&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_796f3aade1e5b306.png|314x150px]]&lt;br /&gt;
|&lt;br /&gt;
testwater file:&lt;br /&gt;
&lt;br /&gt;
Epsolon is Inputs from something like DFT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Columns:&lt;br /&gt;
&lt;br /&gt;
Atom ID&lt;br /&gt;
&lt;br /&gt;
Molecule ID&lt;br /&gt;
&lt;br /&gt;
Atom Type&lt;br /&gt;
&lt;br /&gt;
Q - charge&lt;br /&gt;
&lt;br /&gt;
X&lt;br /&gt;
&lt;br /&gt;
Y&lt;br /&gt;
&lt;br /&gt;
Z&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_f474cba5e65bdaab.png|306x66px]]&lt;br /&gt;
| This infor can be put in input script if desired.&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_a9802b534de46367.png|624x180px]]&lt;br /&gt;
|&lt;br /&gt;
bond id&lt;br /&gt;
&lt;br /&gt;
bond tuype&lt;br /&gt;
&lt;br /&gt;
atom id that connects&lt;br /&gt;
&lt;br /&gt;
atom id that connects as well&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_3b00d172c3a15f2b.png|310x103px]]&lt;br /&gt;
|&lt;br /&gt;
Angle ID&lt;br /&gt;
&lt;br /&gt;
Angle Type 1 being single bond 2 being double, etc&lt;br /&gt;
&lt;br /&gt;
Item ID such as first atom O , 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; and 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; atom H&lt;br /&gt;
|-&lt;br /&gt;
| qsub submit.sh&lt;br /&gt;
| submits the job using submit.sh&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;background: #101010&amp;quot;&amp;gt;qstat -u meade.erickson&amp;lt;/span&amp;gt;&lt;br /&gt;
| shoes me my jobs&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;background: #101010&amp;quot;&amp;gt;chmod -777 lmp_mpi_12Dec18&amp;lt;/span&amp;gt;&lt;br /&gt;
| modifies permission for this file&lt;br /&gt;
|-&lt;br /&gt;
| [meade.erickson@login0002 testwater]$ chmod -777 ~/bin/lmp_mpi_12Dec18&lt;br /&gt;
| giving permission while in a different&lt;br /&gt;
|-&lt;br /&gt;
| topo readlammpsdata project.data&lt;br /&gt;
| reads data file for vmd tk console&lt;br /&gt;
|-&lt;br /&gt;
| Inputting files, put in .dcd file then right click on it and “Load Data into Molecule” then select .data file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_73b2551819922e26.png|287x164px]]&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| module avail&lt;br /&gt;
| Available software in ccast&lt;br /&gt;
|-&lt;br /&gt;
| qdet job id&lt;br /&gt;
| qdel ######&lt;br /&gt;
|-&lt;br /&gt;
| fragment 0 to 9 or fragment 14&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=VASP_and_VMD_on_CCAST&amp;diff=124</id>
		<title>VASP and VMD on CCAST</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=VASP_and_VMD_on_CCAST&amp;diff=124"/>
		<updated>2022-09-26T21:16:04Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Sysadmin moved page VASP VMD LAMMPS CCAST LINUX to VASP and VMD on CCAST without leaving a redirect: Page rename&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
&#039;&#039;&#039;Login&#039;&#039;&#039; &#039;&#039;&#039;Photon&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
ssh [mailto:kilin@photon.chem.ndsu.nodak.edu &amp;lt;u&amp;gt;kilin@photon.chem.ndsu.nodak.edu&amp;lt;/u&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
cd /scratch001/Chem_476/CHEM676_2019/Meade/DIMER&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&#039;&#039;&#039;Login&#039;&#039;&#039; &#039;&#039;&#039;Cori&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| Have to be in Photon first then login to Cori&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
ssh -i ~/.ssh/nersc cori.nersc.gov&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
cd /global/cfs/cdirs/m1251/vasp/CHEM676/meade&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&#039;&#039;&#039;Misc. Tools&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cd foldername&lt;br /&gt;
| lets you go into a folder&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| cd ..&lt;br /&gt;
| Backs you out of folder you are in&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| cd -&lt;br /&gt;
| Goes back to previous directory&lt;br /&gt;
|-&lt;br /&gt;
| cd ~&lt;br /&gt;
| Goes to home directory&lt;br /&gt;
|-&lt;br /&gt;
| freenodes&lt;br /&gt;
| in ccast&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| vi filename&lt;br /&gt;
| Lets you go into file to edit&lt;br /&gt;
|-&lt;br /&gt;
| i&lt;br /&gt;
| When in “vi” this initiates the editing&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| This lets you stop editing&lt;br /&gt;
|-&lt;br /&gt;
| “Ctrl+c” press on keyboard, not a typing thing&lt;br /&gt;
| Lets you stop any current running process&lt;br /&gt;
|-&lt;br /&gt;
| pwd&lt;br /&gt;
| Gives you current directory location&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| wc&lt;br /&gt;
| Word count: The 1st number shows number of lines present in file. 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; number of words present in file. 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; column shows number of characters present in file. 4&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; number is the file name which is given as an argument.&lt;br /&gt;
|-&lt;br /&gt;
| ls&lt;br /&gt;
| Lists what is in the current directory&lt;br /&gt;
|-&lt;br /&gt;
| ls -lt&lt;br /&gt;
| Lists what is in the current directory sorting from newest to oldest&lt;br /&gt;
|-&lt;br /&gt;
| ls –lt W*&lt;br /&gt;
| Lists everything that starts with a W sorting from newest to oldest. (Can be used for other letters as well)&lt;br /&gt;
|-&lt;br /&gt;
| ls -lisanh&lt;br /&gt;
| gives information on the files in whole directory&lt;br /&gt;
|-&lt;br /&gt;
| ls -lisanh filename&lt;br /&gt;
| gives information on the specific file&lt;br /&gt;
|-&lt;br /&gt;
| ls -lisan&lt;br /&gt;
| gives information on the files in whole directory&lt;br /&gt;
|-&lt;br /&gt;
| ls -lisan filename&lt;br /&gt;
| gives information on the specific file&lt;br /&gt;
|-&lt;br /&gt;
| ls -a&lt;br /&gt;
| shows all files, including hidden ones&lt;br /&gt;
|-&lt;br /&gt;
| babel –ixyz file.xyz –opdb file.pdb xyz to pdb&lt;br /&gt;
|&lt;br /&gt;
Using babel, converts the input file of .xyz to outputfile of .pdb&lt;br /&gt;
&lt;br /&gt;
That is where the –ixyz and –opdb comes from&lt;br /&gt;
|-&lt;br /&gt;
| “shift+alt+left click”&lt;br /&gt;
| For slecting just comlumn or just row information you want exactly&lt;br /&gt;
|-&lt;br /&gt;
| egrep &#039;163|166&#039; OS_STRENGTH&lt;br /&gt;
| grep technique&lt;br /&gt;
|-&lt;br /&gt;
| more filename&lt;br /&gt;
| Lets you see what is in the file&lt;br /&gt;
|-&lt;br /&gt;
| more ~/bin/filename&lt;br /&gt;
| Lets you see the file in a location not in your current directory.&lt;br /&gt;
|-&lt;br /&gt;
| more filename | grep ### or value | grep again if desired&lt;br /&gt;
| shows file and grabs lines with same input you put after the grep command&lt;br /&gt;
|-&lt;br /&gt;
| cp /Location/filename .&lt;br /&gt;
| Copies a file from a different directory location and input it into the current directory. Don’t forget the PERIOD!&lt;br /&gt;
|-&lt;br /&gt;
| P /Location/filename ./newfilename&lt;br /&gt;
| Copies a file from a different directory location and input it into the current directory and rename it in one step&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/filename .&lt;br /&gt;
| Takes file from different SERVER/ACCOUNT. You must be in the destination directory you want the files to go to when typing this line&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/* .&lt;br /&gt;
| Takes ALL files from different SERVER/ACCOUNT. You must be in the destination directory you want the files to go to when typing this line&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/*.filetype .&lt;br /&gt;
| Takes ALL files with that specific file type from different SERVER/ACCOUNT. You must be in the destination directory you want the files to go to when typing this line&lt;br /&gt;
|-&lt;br /&gt;
| scp * destinationUser:/destinationLocation&lt;br /&gt;
| Sends all files from source directory to destination directory. Must be in source directory when typing this line&lt;br /&gt;
|-&lt;br /&gt;
| scp * kilin@photon.chem.ndsu.nodak.edu:/scratch001/Chem_476/CHEM676_2019/Meade/DIMER/DIMabsorptionspec&lt;br /&gt;
| Example of scp&lt;br /&gt;
|-&lt;br /&gt;
| sbatch corifilename&lt;br /&gt;
| Lets you submit a file in cori using a corifile made by others&lt;br /&gt;
|-&lt;br /&gt;
| grep specificdetail filename&lt;br /&gt;
| Grabs the specific detail from the file you chose&lt;br /&gt;
|-&lt;br /&gt;
| sort -n -r filename&lt;br /&gt;
| sorts the file in ascending order&lt;br /&gt;
|-&lt;br /&gt;
| babel BondLength.xyz -O out.xyz --separate&lt;br /&gt;
| THIS IS CORRECT WAY THE SEP WORD IS SPELLED INCORRECTLY BUT IS CORRECT FOR BABEL&lt;br /&gt;
|-&lt;br /&gt;
| awk &#039;{ if($4 &amp;amp;gt;= 4.0000 &amp;amp;amp;&amp;amp;amp; $4&amp;amp;lt;=5.0000) print }&#039; OS_STRENGTH1&lt;br /&gt;
| lets you get lines of data that contain the range from 4-5 from column 4&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| users&lt;br /&gt;
| lets you see what users are on&lt;br /&gt;
|-&lt;br /&gt;
| clear&lt;br /&gt;
| lets you clear screen&lt;br /&gt;
|-&lt;br /&gt;
| who&lt;br /&gt;
| who is on and more detail about them&lt;br /&gt;
|-&lt;br /&gt;
| w&lt;br /&gt;
| all the people and differing details about them&lt;br /&gt;
|-&lt;br /&gt;
| id&lt;br /&gt;
| lets me see what groups I am in&lt;br /&gt;
|-&lt;br /&gt;
| freenodes&lt;br /&gt;
| lets you see if nodes are available or not&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6335cce9234bc4ef.png|439x225px]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| pbsnodes –avSj | sort -n&lt;br /&gt;
| shows available nodes, the | sorts it into order&lt;br /&gt;
|-&lt;br /&gt;
| pbsnodes –avSj | sort –n | more&lt;br /&gt;
| does this in page format rather than all at once&lt;br /&gt;
|-&lt;br /&gt;
| module avail&lt;br /&gt;
| what software is available&lt;br /&gt;
|-&lt;br /&gt;
| $HOME&lt;br /&gt;
| lets you go to your login directory “home” directory&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
thunder.ccast.ndsu.edu&lt;br /&gt;
&lt;br /&gt;
meade.erickson&lt;br /&gt;
| to get into putty&lt;br /&gt;
|-&lt;br /&gt;
| C:\Users\meade.erickson\Documents\OriginLab\User Files\&lt;br /&gt;
| Origin themes location&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Explanations&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| fermi&lt;br /&gt;
| fermi energy is referring to the energy difference between the highest and lowest occupied single-particle states. ([https://en.wikipedia.org/wiki/Fermi_energy &amp;lt;u&amp;gt;https://en.wikipedia.org/wiki/Fermi_energy&amp;lt;/u&amp;gt;])&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Explanations Input Files:&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| INCAR&lt;br /&gt;
| It is the central input file of VASP. It determines &amp;amp;quot;what to do and how to do it&amp;amp;quot;. ([https://www.vasp.at/wiki/index.php/INCAR &amp;lt;u&amp;gt;https://www.vasp.at/wiki/index.php/INCAR&amp;lt;/u&amp;gt;])&lt;br /&gt;
|-&lt;br /&gt;
| POSCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| POTCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| KPOINTS&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Explanations Output Files:&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| CONTCAR&lt;br /&gt;
|&lt;br /&gt;
Contains actual coordinates, velocities, and predictor corrector coordinates. 1&amp;lt;sup&amp;gt;st&amp;lt;/sup&amp;gt; block is lattice parameters and atom coordinates. 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; block Initial Velocites for atoms. 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; block Predictor-corrector coordinates.&lt;br /&gt;
&lt;br /&gt;
Written at end of each job. Used as the POSCAR file for next MD job.&lt;br /&gt;
|-&lt;br /&gt;
| WAVECAR&lt;br /&gt;
| Provides wavefunctions. we usually use it for spectrum data ([https://www.vasp.at/wiki/index.php/WAVECAR &amp;lt;u&amp;gt;https://www.vasp.at/wiki/index.php/WAVECAR&amp;lt;/u&amp;gt;])&lt;br /&gt;
|-&lt;br /&gt;
| OS_STRENGTH&lt;br /&gt;
| Information about the OS_STRENGTH&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_8bf47c7304419724.png|354x154px]]&lt;br /&gt;
|&lt;br /&gt;
From Wikipedia&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In spectroscopy, &#039;&#039;&#039;oscillator strength&#039;&#039;&#039; is a dimensionless quantity that expresses the probability of [https://en.wikipedia.org/wiki/Absorption_(electromagnetic_radiation) &amp;lt;u&amp;gt;absorption&amp;lt;/u&amp;gt;] or [https://en.wikipedia.org/wiki/Emission_spectrum &amp;lt;u&amp;gt;emission&amp;lt;/u&amp;gt;] of [https://en.wikipedia.org/wiki/Electromagnetic_radiation &amp;lt;u&amp;gt;electromagnetic radiation&amp;lt;/u&amp;gt;] in transitions between [https://en.wikipedia.org/wiki/Energy_level &amp;lt;u&amp;gt;energy levels&amp;lt;/u&amp;gt;] of an atom or molecule&amp;lt;sup&amp;gt;[&amp;lt;/sup&amp;gt;[https://en.wikipedia.org/wiki/Wikipedia:Accuracy_dispute#Disputed_statement &amp;lt;sup&amp;gt;&#039;&#039;&amp;lt;u&amp;gt;dubious&amp;lt;/u&amp;gt;&#039;&#039;&amp;lt;/sup&amp;gt;]&amp;lt;sup&amp;gt;&#039;&#039; – &#039;&#039;&amp;lt;/sup&amp;gt;[https://en.wikipedia.org/wiki/Talk:Oscillator_strength#Wrong_definition_oscillator_strength &amp;lt;sup&amp;gt;&#039;&#039;&amp;lt;u&amp;gt;discuss&amp;lt;/u&amp;gt;&#039;&#039;&amp;lt;/sup&amp;gt;]&amp;lt;sup&amp;gt;]&amp;lt;/sup&amp;gt;.&amp;lt;sup&amp;gt;&amp;lt;u&amp;gt;[https://en.wikipedia.org/wiki/Oscillator_strength#cite_note-Demtr%C3%B6der2003-1 [1]][https://en.wikipedia.org/wiki/Oscillator_strength#cite_note-Robinson1996-2 [2]]&amp;lt;/u&amp;gt;&amp;lt;/sup&amp;gt; The oscillator strength can be thought of as the ratio between the quantum mechanical transition rate and the classical absorption/emission rate of a single electron oscillator with the same frequency as the transition.&lt;br /&gt;
|-&lt;br /&gt;
| POTIM (in INCAR file)&lt;br /&gt;
| timestep in femtoseconds. So POTIM=1 is 1 femtosecod&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Density of States&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| To get DOS you need to run the correct calculations in VASP using 4 files. INCAR, POSCAR, POTCAR, OUTCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Once you get output from your submitted information to cori or photon you can follow these steps to get Density of states&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| grep NBA OUTCAR&lt;br /&gt;
| Grabs the number of bands (we need this for later) (STATES)&lt;br /&gt;
|-&lt;br /&gt;
| vi input_overlap&lt;br /&gt;
| editing input_overlap&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Number of Bands from the grep NBA OUTCAR line&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| “esc” key&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| quitting editing input_overlap&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/extract_energy_pop.exe&lt;br /&gt;
| getting energy pop from different location&lt;br /&gt;
|-&lt;br /&gt;
| cp energy_pop STATES&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| wc STATES&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| grep NELE OUTCAR&lt;br /&gt;
| record number of electrons&lt;br /&gt;
|-&lt;br /&gt;
| grep NIO OUTCAR&lt;br /&gt;
| record number of ions&lt;br /&gt;
|-&lt;br /&gt;
| grep E-fer OUTCAR&lt;br /&gt;
| record the three values and their names. If this line doesn’t work the try next line)&lt;br /&gt;
|-&lt;br /&gt;
| grep ferm OUTCAR | tail –n 1&lt;br /&gt;
| record the three values and their names&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/DRESS_DOS_NORM&lt;br /&gt;
| Executes the DOS code from different file location&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Number of states from grep NBA OUTCAR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| grep NBA OUTCAR line&lt;br /&gt;
|-&lt;br /&gt;
| -20&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
E-fermi info from grep E_fermi&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
To literally line up DOS and STATES, you may need to type in 0 for both fermi and alpha+beta.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more standard way is to use the middle point energy between HOMO and LUMO i.e. (E_HOMO+E_LUMO)/2 for fermi and 0 for alpha+beta. In this way, the mid point of DOS is at zero, anything below zero is occupied and above zero is unoccupied.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
alpha+beta info from grep E_fermi&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| .01&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Number of ions from grep NIO OUTCAR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Number of electrons from grep NELE OUTCAR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
gnuplot ~/bin/gnuprog_DOS.fermi&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| Plotting the DOS (This is done in NERSC or PHOTON)&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
ps2pdfwr DOS.ps&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| Converting DOS file from .ps to .pdf&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
*** DISCLAIMER, DON”T HAVE TO USE THISBOX BUT CAN IF DESIRED For better box* this can be one big command or you can split it up into pieces. ( anything before a colon is one command) THIS IS DONE IN PHOTON*&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set out MEADESDOS.ps MAY NOT NEED THIS NOT SURE YET&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set style line 4 lw 4 lc -1; unset key; plot [-6:6.6] &#039;DOS.fermi&#039; using ($1-2.2617):5 w i title &amp;amp;quot;Electron Occupation&amp;amp;quot;, &#039;DOS.fermi&#039; u ($1-2.2617):4 w l title &amp;amp;quot;Dimer Density of States&amp;amp;quot; ls 4; set xlabel &#039;Orbital Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Density of States&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Density of States Dimer Molecule&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set style line 4 lw 4 lc -1&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
unset key&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
plot [-6:6.6] &#039;DOS.fermi&#039; using ($1-2.2617):5 w i title &amp;amp;quot;Electron Occupation&amp;amp;quot;, &#039;DOS.fermi&#039; u ($1-2.2617):4 w l title &amp;amp;quot;Dimer Density of States&amp;amp;quot; ls 4;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set xlabel &#039;Orbital Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set ylabel &#039;Density of States&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set title &amp;amp;quot;Density of States Dimer Molecule&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set tics font &amp;amp;quot;,30&amp;amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set ytics offset 0,0,0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set xtics offset -0.4,-1,0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
CANT GET THIS TO GO TO OUTPUT FILE NOT SURE WHY&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set style line 4 lw 4 lc -1; unset key; plot [-6.1:6.1] &#039;DOS.fermi&#039; using ($1-0.518567):5 w i lw 2 title &amp;amp;quot;Electron Occupation&amp;amp;quot;, &#039;DOS.fermi&#039; u ($1-0.518567):4 w l title &amp;amp;quot;Dimer Density of States&amp;amp;quot; ls 4; set xlabel &#039;Orbital Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Density of States&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Density of States Dimer Molecule&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set style line 4 lw 4 lc -1; unset key; plot [-6.1:6.1] &#039;DOS.fermi&#039; using ($1-0.173350):5 w i lw 2 title &amp;amp;quot;Electron Occupation&amp;amp;quot;, &#039;DOS.fermi&#039; u ($1-0.17335):4 w l title &amp;amp;quot;Wet Monomer Density of States&amp;amp;quot; ls 4; set xlabel &#039;Orbital Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Density of States&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Density of States Wet Monomer Molecule&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
I am initially specifying a style that I will be using. In this case chose style 4 and am editing it to what I want.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
lw stands for linwidth, lc line color, not sure where the library is but lc -1 is black, 0=red I think and find out other through trial and error&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
lw is just multiplyer, so lw 4 is 4 times larger than default.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
unset key gets rid of key,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[#,#] is the range of my x axis graph.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
($#-###): $# is the column I want to take data from which is being subtracted by the amount of shift I am giving to the data (we want data to be centered at 0 sometimes and so for DOS we take the middle between the start of non occupied plus the end of occupied and divide by 2 to get our shift. (Notoccupied + occupied)/2 ) and the number after the “:” is the column I am correlating the X and Y axis with. So when we plot stuff we need to specify what is the x and what is the y axis.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
not sure exactly what the “w i” portion does but it helps us change from points to lines and then is what fills in the red portion of our graph. (The “i” stands for impulses. Add an extra “lw 2’ to increase the line width as shown in green text.) “w l” does the same thing but DOESN”T fill out the the electron density portion.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
xlabel and y labels are the axis titles and offsets help position them due to the changing sizes of the axes and tics.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Tics are the numbers on the Y and x axis so ytics offsets them and xtics does the horizontal axis change.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
--OPEN A NEW TAB IN MOBA XTERM--&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Without logging into the account you should be able to see if you are on your current computer&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ls&lt;br /&gt;
| make sure you are in your computer directory. Usually you will see “DESKTOP” as an option&lt;br /&gt;
|-&lt;br /&gt;
| cd DESKTOP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/*.pdf .&lt;br /&gt;
| This is done while in the desktop directory so on your desktop you will see all the pdf files your just generated in desktop&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Absorption Spectrum - Transition Energy eV – Wavelength nm&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
You need a POSCAR file from a previous calculation. SO if you have done a calculation this process can be followed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| create an absorption directory where ever you would like and go into this directory&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/INCAR-gm&lt;br /&gt;
|&lt;br /&gt;
copying INCAR-gm into the directory as long as you are in it&lt;br /&gt;
&lt;br /&gt;
MAKE SURE&lt;br /&gt;
&lt;br /&gt;
LWAVE= .TRUE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
kilin@cori07:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/COOL_INTERMED_Mead/absorptionSpec/TEST&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Or make sure the INCAR has this Ag+Carboxyl&lt;br /&gt;
&lt;br /&gt;
#ISIF=7&lt;br /&gt;
&lt;br /&gt;
#PREC = HIGH&lt;br /&gt;
&lt;br /&gt;
ENCUT= 300&lt;br /&gt;
&lt;br /&gt;
IBRION =3&lt;br /&gt;
&lt;br /&gt;
POTIM=0.2&lt;br /&gt;
&lt;br /&gt;
NSW = 30000&lt;br /&gt;
&lt;br /&gt;
ALGO = NORMAL  #48&lt;br /&gt;
&lt;br /&gt;
ISMEAR = 0&lt;br /&gt;
&lt;br /&gt;
SIGMA = 0.01&lt;br /&gt;
&lt;br /&gt;
LREAL = A&lt;br /&gt;
&lt;br /&gt;
#ISTART = 0&lt;br /&gt;
&lt;br /&gt;
LWAVE = .TRUE.&lt;br /&gt;
&lt;br /&gt;
LCHARG = .FALSE.&lt;br /&gt;
&lt;br /&gt;
EDIFF=1E-6&lt;br /&gt;
&lt;br /&gt;
EDIFFG=-0.05&lt;br /&gt;
&lt;br /&gt;
LVTOT   =  .FALSE.&lt;br /&gt;
&lt;br /&gt;
#LVDW=.TRUE.&lt;br /&gt;
&lt;br /&gt;
#SPRING = -5&lt;br /&gt;
&lt;br /&gt;
#LCLIMB = .TRUE.&lt;br /&gt;
&lt;br /&gt;
#IMAGES = 7&lt;br /&gt;
&lt;br /&gt;
#IOPT=7&lt;br /&gt;
&lt;br /&gt;
#ICHAIN=0&lt;br /&gt;
&lt;br /&gt;
NELM=40&lt;br /&gt;
&lt;br /&gt;
#ISPIN=2&lt;br /&gt;
&lt;br /&gt;
ISYM=0&lt;br /&gt;
&lt;br /&gt;
NPAR=4&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/CONTCAR ./POSCAR&lt;br /&gt;
| Changing CONTCAR to POSCAR&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/POTCAR .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/KPOINTS .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mv INCAR-gm INCAR&lt;br /&gt;
| changing file name from INCAR-gm to INCAR&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/cori-regular.sh .&lt;br /&gt;
| this is our job submission file&lt;br /&gt;
|-&lt;br /&gt;
| vi cori-regular.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6b3108944fbb5d2b.png|345x215px]]&lt;br /&gt;
|&lt;br /&gt;
Make it Look like this.&lt;br /&gt;
&lt;br /&gt;
While in the screen press “I” to insert and edit the file.&lt;br /&gt;
&lt;br /&gt;
When done editing it press “:wq” to save and quit the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you don’t like the edits you made you can press “:q!” to exit the file without saving it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sbatch cori-regular.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| It is necessary to have the ‘spectrum’ file made which comes from a healthy WAVECAR which is used to generate OS_STRENGTH. After OS_STRENGHT we make the spectrum ~/bin/SPECTRUM_imp3 file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Assuming you have conducted a calculation which generated a healthy WAVECAR file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| If healthy WAVECAR exists then…&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| grep NBA OUTCAR&lt;br /&gt;
| record Number of bands&lt;br /&gt;
|-&lt;br /&gt;
| vi input_overlap&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
1&lt;br /&gt;
&lt;br /&gt;
Number of Bands&lt;br /&gt;
&lt;br /&gt;
1&lt;br /&gt;
| 36740210&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
‘esc’ key&lt;br /&gt;
&lt;br /&gt;
:wq&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/extract_energy_pop.exe&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp energy_pop STATES&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/OS/2020/*.exe .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| module swap PrgEnv-intel PrgEnv-gnu&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ./osc_str.exe&lt;br /&gt;
| This makes the OS_STRENGTH (oscillator strength)&lt;br /&gt;
|-&lt;br /&gt;
| grep &#039;2.0000  0.0000&#039; OS_STRENGTH &amp;amp;gt; OS_STRENGTHvc&lt;br /&gt;
|&lt;br /&gt;
Takes the orbital pairs from 2.0000 to 0.0000 into new file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp OS_STRENGTH OS_STRENGTH1&lt;br /&gt;
| making sure I have original OS_STRENGTH&lt;br /&gt;
|-&lt;br /&gt;
| cp OS_STRENGTHvc OS_STRENGTH&lt;br /&gt;
| making sure I have file OS_STRENGvc kept for 2.0000 – 0.0000 but it will be our OS_STRENGTH&lt;br /&gt;
|-&lt;br /&gt;
| wc OS_STRENGTH&lt;br /&gt;
| Record First number&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/SPECTRUM_imp3&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Number from OS_STERNEGTH&lt;br /&gt;
&lt;br /&gt;
.1&lt;br /&gt;
&lt;br /&gt;
10&lt;br /&gt;
&lt;br /&gt;
.001&lt;br /&gt;
&lt;br /&gt;
HOMO&lt;br /&gt;
|&lt;br /&gt;
Should be able to find HOMO from STATES file (or energy_pop)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Can change the “.001” to “0.1 or 0.01” to smooth out the line&lt;br /&gt;
|-&lt;br /&gt;
| a ‘spectrum’ file should have been made. This holds all the spectrum data. The spectrum can be visualized using these commands in Cori. If you want to visualize in photon then use the gnuplot information below&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| gnuplot ~/bin/gnuprog_SPE&lt;br /&gt;
|&lt;br /&gt;
IN CORI YOU CAN USE THESE&lt;br /&gt;
&lt;br /&gt;
THEN SCP them to photon, then the desktop!&lt;br /&gt;
|-&lt;br /&gt;
| gnuplot ~/bin/gnuprog_SPE_nm_200_800&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| ps2pdfwr SPE.ps&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| ps2pdfwr SPE_nm.ps&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| scp * kilin@photon.chem.ndsu.nodak.edu:/scratch001/Chem_476/CHEM676_2019/Meade/DIMER/TDESMD_112_116/COOL_INTERMED_Mead/absorptionSpec&lt;br /&gt;
| example make sure you are in the directory of the files you want to send. Send it to a premade directory in photon&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
--OPEN A NEW TAB IN MOBA XTERM--&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Without logging into the account you should be able to see if you are on your current computer&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ls&lt;br /&gt;
| make sure you are in your computer directory. Usually you will see “DESKTOP” as an option&lt;br /&gt;
|-&lt;br /&gt;
| cd DESKTOP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/*.pdf .&lt;br /&gt;
| This is done while in the desktop directory so on your desktop you will see all the pdf files your just generated in desktop&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
FOR PHOTON USE THESE STEPS&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are plotting the information of spectrum to get the spectrum in wavelength of nanometers nm and transition energy in electron volts eV&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| more spectrum&lt;br /&gt;
|&lt;br /&gt;
(Be sure to be in correct directory)&lt;br /&gt;
&lt;br /&gt;
Column 1 is the spectrum in wavelength of nm&lt;br /&gt;
&lt;br /&gt;
column 2 is the spectrum in transition energy of eV&lt;br /&gt;
&lt;br /&gt;
column 3 is absorbance/absorption in a.u. (absoption units). Absorbance goes with wavelength, absorption goes with transition energy&lt;br /&gt;
&lt;br /&gt;
column 4 idk what this is.&lt;br /&gt;
|-&lt;br /&gt;
| gnuplot&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| plot ‘spectrum’ 2:3&lt;br /&gt;
| This gives you transition energy in x axis and absorption in a.u for yaxis.&lt;br /&gt;
|-&lt;br /&gt;
| set style line 4 lw 4 lc 3; unset key; plot [0:10] &#039;spectrum&#039; using 2:3 w l title &amp;amp;quot;Transition Energy&amp;amp;quot; ls 4; set xlabel &#039;Transition Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;absorption a.u&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Absorption Spectrum Dimer&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
| This is transition energy in x axis and absorption in yaxis.&lt;br /&gt;
|-&lt;br /&gt;
| set style line 4 lw 4 lc 3; unset key; plot [200:800] &#039;spectrum&#039; using 1:3 w l title &amp;amp;quot;Absorption Spectrum&amp;amp;quot; ls 4; set xlabel &#039;Wavelength, nm&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;absorbance, a.u&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Absorption Spectrum Dimer&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
| nm in x axis and absorbance in yaxis&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;UV-Vis Absorption Spectrum&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
You need a POSCAR file from a previous calculation. SO if you have done a calculation this process can be followed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We did one calculation already but we need to do a “geometry optimization” for the next one.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| create an absorption directory where ever you would like and go into this directory&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/INCAR-gm&lt;br /&gt;
| copying INCAR-gm into the directory as long as you are in it&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/CONTCAR ./POSCAR&lt;br /&gt;
| Changing CONTCAR to POSCAR&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/POTCAR .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/KPOINTS .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mv INCAR-gm INCAR&lt;br /&gt;
| changing file name from INCAR-gm to INCAR&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/cori-regular.sh .&lt;br /&gt;
| this is our job submission file&lt;br /&gt;
|-&lt;br /&gt;
| vi cori-regular.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6b3108944fbb5d2b.png|352x219px]]&lt;br /&gt;
|&lt;br /&gt;
Make it Look like this.&lt;br /&gt;
&lt;br /&gt;
While in the screen press “I” to insert and edit the file.&lt;br /&gt;
&lt;br /&gt;
When done editing it press “:wq” to save and quit the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you don’t like the edits you made you can press “:q!” to exit the file without saving it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sbatch cori-regular.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Generating CANDIDATES file for Photofragmentation&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| This is after calculations have been ran for MD???&lt;br /&gt;
|&lt;br /&gt;
Watch this first‼ Part 2 of Dr.Kilins video for how to generate the CANDIDATES file.&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=NIrs1yXJj1Y&amp;amp;feature=youtu.be &amp;lt;u&amp;gt;https://www.youtube.com/watch?v=NIrs1yXJj1Y&amp;amp;amp;feature=youtu.be&amp;lt;/u&amp;gt;]&lt;br /&gt;
|-&lt;br /&gt;
| We want to get information from the WAVECAR that can help us determine the “electron hopping” so we have to find the OS_STRENGTH (oscillator strength) that is high. Since higher OS_Strength the higher the probability that given pair of orbitals is excited. STATES file should have been generated before I think.&lt;br /&gt;
|&lt;br /&gt;
Watch this second‼ Part 1 of Dr. Kilins video for what to do after CANDIDATES file was generated and explains what is in it.&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=A8BXT-FnuxM&amp;amp;t=212s &amp;lt;u&amp;gt;https://www.youtube.com/watch?v=A8BXT-FnuxM&amp;amp;amp;t=212s&amp;lt;/u&amp;gt;]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| grep –A 700 fermi OUTCAR | tail –n 700 &amp;amp;gt; STATES1&lt;br /&gt;
| Fermi information from OUTCAR into a file called STATES 1. Not sure what the –A or 700 mean. But the tail is choosing a specific section of the data, the “tail” end of the chosen information from the OUTCAR file.&lt;br /&gt;
|-&lt;br /&gt;
| more STATES1&lt;br /&gt;
| Determine HOMO and LUMO, HOMO is the highest orbital with a 2, LUMO is the first 0. In my case HOMO is 112 and LUMO is 113&lt;br /&gt;
|-&lt;br /&gt;
| NOT SURE HOW HE GENERATED STATES FILE&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| head STATES&lt;br /&gt;
| Record the lowest number, in my case it is 81 for DIMER&lt;br /&gt;
|-&lt;br /&gt;
| tail STATES&lt;br /&gt;
| Record the Highest number, in my case it is 160 for DIMER&lt;br /&gt;
|-&lt;br /&gt;
| vi input_overlap&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| i&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 160&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp energy_pop STATES&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| more ~/bin/ADVICE.spectrum&lt;br /&gt;
| This will make spectrum. This will show 3 lines of code. Literally copy one line and press enter starting with the “module swap PrgEnv-intel PrgEnv-gnu”&lt;br /&gt;
|-&lt;br /&gt;
| module swap PrgEnv-intel PrgEnv-gnu&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/OS/2020/*.exe .&lt;br /&gt;
| copying templates and inputting them into the directory you are in&lt;br /&gt;
|-&lt;br /&gt;
| ./osc_str_CHEM676.exe&lt;br /&gt;
| This reads binary WAVECAR file, Reads input_overlap, creates Oscillator strength&lt;br /&gt;
|-&lt;br /&gt;
| ls –lt | head&lt;br /&gt;
| This should show a fresh OS_STRENGTH was made&lt;br /&gt;
|-&lt;br /&gt;
| grep ‘2.0000 0.0000’ OS_STRENGTH &amp;amp;gt; OS_NEW&lt;br /&gt;
| In the OS_STRENGTH file we will see lines of no transition from occupied to unnoccupied. What we want to see is the lines that have an occupied originally (2.0000) and then are unoccupied (0.0000). This shows excitation. The lines that meet this requirement are then inputted into OS_NEW&lt;br /&gt;
|-&lt;br /&gt;
| head OS_NEW&lt;br /&gt;
| This should show a range of orbitals that have been occupied and are now unoccupied. With the differing orbitals involved. Columns 1 and 2 are the initial and final orbitals that are involved with the “hopping” of electrons. The 3rd column is oscillator Strength. 4th Column is Transition energy.&lt;br /&gt;
|-&lt;br /&gt;
| mv OS_NEW OS_STRENGTH&lt;br /&gt;
| We don’t need all OS_STRENGTH data, just the stuff we “grepped” in OS_NEW. This overrides OS_STRENGTH with information from OS_NEW.&lt;br /&gt;
|-&lt;br /&gt;
| wc OS_STRENGTH&lt;br /&gt;
| Word count: The 1st number shows number of lines present in file. 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; number of words present in file. 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; column shows number of characters present in file. 4&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; number is the file name which is given as an argument.&lt;br /&gt;
|-&lt;br /&gt;
| head –n 30 OS_STRENGTH&lt;br /&gt;
| In this particular case we only want the top 30 rather than the original value the first column gave was. In my case it was about 1536.&lt;br /&gt;
|-&lt;br /&gt;
| head –n 30 OS_STRENGTH | sort –gk 4&lt;br /&gt;
| To sort in ascending order of transition energy. 4 is the 4&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; column. I don’t know what –gk means.&lt;br /&gt;
|-&lt;br /&gt;
| head –n 30 OS_STRENGTH | sort –gk 4 &amp;amp;gt; CANDIDATES&lt;br /&gt;
| Inputs this information into CANDIDATES file&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Orbital Visualization&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| I don’t have all information available here, for example I personally didn’t make the PARCHG files.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Kilins Guidance to make PARCHG files… I think&lt;br /&gt;
&lt;br /&gt;
Dear Meade,&lt;br /&gt;
&lt;br /&gt;
below are steps I did for creating orbitals files on nersc.&lt;br /&gt;
&lt;br /&gt;
I will let you know when they are ready and instruct on how to visualize.&lt;br /&gt;
&lt;br /&gt;
slides are good, under given limits.&lt;br /&gt;
&lt;br /&gt;
In the given time, you may add conclusions as you see them..&lt;br /&gt;
&lt;br /&gt;
Best wishes,&lt;br /&gt;
&lt;br /&gt;
Dmitri&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; mkdir ORBITALS&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp WAVECAR ORBITALS/&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp CONTCAR ORBITALS/POSCAR&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp POTCAR ORBITALS/&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp *.sh  ORBITALS/&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp KPOINTS ORBITALS/&lt;br /&gt;
&lt;br /&gt;
&amp;amp;gt; cd ORBITALS/&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/ORBITALS&amp;amp;gt; grep NBA ../OUTCAR&lt;br /&gt;
&lt;br /&gt;
   k-points           NKPTS =      1   k-points in BZ     NKDIM =      1   number of bands    NBANDS=    160&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/ORBITALS&amp;amp;gt; cp ~/bin/INCAR/INCAR-pc ./INCAR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/ORBITALS&amp;amp;gt; tail INCAR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IBRION=2        #conjugate-gradient algorithm used to relax ions (bad&lt;br /&gt;
&lt;br /&gt;
NSW=0           #number of ionic steps&lt;br /&gt;
&lt;br /&gt;
POTIM= .2       #time step in fs&lt;br /&gt;
&lt;br /&gt;
EDIFFG=-0.001 #minimum energy difference between ionic iterations&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#EINT= -4.4 -0.5&lt;br /&gt;
&lt;br /&gt;
EINT= -6 2 &lt;br /&gt;
&lt;br /&gt;
LVTOT   =  .TRUE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/ORBITALS&amp;amp;gt; sbatch cori_debug.sh &lt;br /&gt;
&lt;br /&gt;
Submitted batch job 32413471&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
many thanks for the new version!&lt;br /&gt;
&lt;br /&gt;
The main question in your email is orbitals with VASP:&lt;br /&gt;
&lt;br /&gt;
a. generate or use premade healthy WAVECAR &lt;br /&gt;
&lt;br /&gt;
(it is an analog of .chk in gaussian)&lt;br /&gt;
&lt;br /&gt;
b. in a new directory, use template of the INCAR for orbitals and run vasp once again.&lt;br /&gt;
&lt;br /&gt;
the templates are named ~/bin/INCAR/INCAR_pc  and similar names.&lt;br /&gt;
&lt;br /&gt;
(it is an analog of the cubegen procedure in gaussian)&lt;br /&gt;
&lt;br /&gt;
c. upon successful run, there appear files nammed PARCHG.XXXX.ALLK, where XXXX stands for the index of orbital, e.g. PARCHG..01112.ALLK&lt;br /&gt;
&lt;br /&gt;
(those files are analogs of the .cube files in gaussian. note that vasp DOES not generate literal .cube files!)&lt;br /&gt;
&lt;br /&gt;
d. download these files and open then in the VMD - the same software you have used for the trajectories.&lt;br /&gt;
&lt;br /&gt;
I will have a look on the slides and let you nko if any quicl changes are needed or we can go ahead with this version&lt;br /&gt;
&lt;br /&gt;
Best wishes,&lt;br /&gt;
&lt;br /&gt;
Dmitri&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Step 2. Changing PARCHG Files to cube files (For Orbital Visualization)&lt;br /&gt;
| From what I have seen we need cube files to show in guassview AND VMD&lt;br /&gt;
|-&lt;br /&gt;
| Once obtained PARCH.####.ALLK Files then use following command in PHOTON to convert the orbitals you care about to cube!&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ~/vtstools/chg2cube.pl filename&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| selecting PARCHG&lt;br /&gt;
|-&lt;br /&gt;
| 1 6 7 8&lt;br /&gt;
| (These are the atomic numbers for the atoms in your system. In my case I have Hydrogen, Nitrogen, Oxygen, and Carbon&lt;br /&gt;
|-&lt;br /&gt;
| Your cube file is then generated&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| SEND cube files, POSCAR (OR CONTCAR), CHGCAR FILES TO DESKTOP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Step 3. Using VMD to generate orbitals&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Open VMD&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
In the VMD Main window go to “File” “new Molecule”&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Upload your&lt;br /&gt;
&lt;br /&gt;
1.POSCAR (OR POSSIBLY CONTCAR): By selecting VASP_POSCAR under the “Determine file type:”&lt;br /&gt;
&lt;br /&gt;
2. CHGCAR: By selecting VASP_CHGCAR under the “Determine file type:”&lt;br /&gt;
&lt;br /&gt;
3. USE THIS ONE PARCHG: By selecting VASP_PARCHG under the “Determine file type:” (Even though the file ends in .cube we are classifying it as PARCHG)&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_b0283f3c67e04e7d.png|219x134px]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_eae9e77b87b8627b.png|222x103px]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
After all three are uploaded,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
in the VMD Main window go to “Graphics” and then “Representations”&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
In the Graphical Representations window follow these three examples.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Change the file you are using by the dropdown menu of “selected Molecule”)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
The red lettering means that PARCHG Isosurface isn’t being shown. You can double click on the red lettering to make it black and showing on the OpenGL Display Window. Double click again to revert to black.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parchrg can be shown and can be visualized in conjungtion with the CHGCAR file&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_e7a558f4dc169c4e.png|121x260px]] [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6b15ffb6b911b765.png|124x266px]] [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_3734231f026ab64e.png|124x265px]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
-You can change the iso value in CHGCAR to get varying orbital visualizations.&lt;br /&gt;
&lt;br /&gt;
-Play with it.&lt;br /&gt;
&lt;br /&gt;
-Change the color by changing the ColorID to different ones.&lt;br /&gt;
&lt;br /&gt;
-(Range in CHGCAR doesn’t matter)&lt;br /&gt;
|&lt;br /&gt;
For Monomer Project Show&lt;br /&gt;
&lt;br /&gt;
all index 52 47 29 44 38 28 18 56 64&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
H52&lt;br /&gt;
&lt;br /&gt;
H47&lt;br /&gt;
&lt;br /&gt;
H29&lt;br /&gt;
&lt;br /&gt;
H44&lt;br /&gt;
&lt;br /&gt;
H38&lt;br /&gt;
&lt;br /&gt;
H28&lt;br /&gt;
&lt;br /&gt;
H18&lt;br /&gt;
&lt;br /&gt;
H56&lt;br /&gt;
&lt;br /&gt;
H64&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_c5f67d67a9a89fa7.png|355x180px]] [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_d4c6c68549d8e025.png|357x209px]]&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| To get rid of opaque water molecuels make both of these in “Graphics” “Materials” 123 is for faded bods and 124 is for the orbitals&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_8d905765b5183c3.png|142x229px]] [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_449e5be8bb4a3541.png|139x222px]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| For my Monomer_H2O first frame hide these atoms if you don’t want in view&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
O108&lt;br /&gt;
&lt;br /&gt;
O99&lt;br /&gt;
&lt;br /&gt;
O94&lt;br /&gt;
&lt;br /&gt;
O101&lt;br /&gt;
&lt;br /&gt;
O81&lt;br /&gt;
&lt;br /&gt;
O91&lt;br /&gt;
&lt;br /&gt;
O90&lt;br /&gt;
&lt;br /&gt;
O86&lt;br /&gt;
&lt;br /&gt;
O82&lt;br /&gt;
&lt;br /&gt;
O87&lt;br /&gt;
&lt;br /&gt;
O79&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
H73&lt;br /&gt;
&lt;br /&gt;
H45&lt;br /&gt;
&lt;br /&gt;
H62&lt;br /&gt;
&lt;br /&gt;
H51&lt;br /&gt;
&lt;br /&gt;
H58&lt;br /&gt;
&lt;br /&gt;
H50&lt;br /&gt;
&lt;br /&gt;
H48&lt;br /&gt;
&lt;br /&gt;
H14&lt;br /&gt;
&lt;br /&gt;
H22&lt;br /&gt;
&lt;br /&gt;
H36&lt;br /&gt;
&lt;br /&gt;
H42&lt;br /&gt;
&lt;br /&gt;
H31&lt;br /&gt;
&lt;br /&gt;
H20&lt;br /&gt;
&lt;br /&gt;
H23&lt;br /&gt;
&lt;br /&gt;
H35&lt;br /&gt;
&lt;br /&gt;
H30&lt;br /&gt;
&lt;br /&gt;
H54&lt;br /&gt;
&lt;br /&gt;
H59&lt;br /&gt;
&lt;br /&gt;
H25&lt;br /&gt;
|&lt;br /&gt;
all not index ### ### ### ###...&lt;br /&gt;
&lt;br /&gt;
all not index 108 99 94 101 81 91 90 86 82 87 79 73 45 62 51 58 50 48 14 22 36 42 31 20 23 35 30 54 59 25&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
backbone ithink&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
index 97 103 11 9 10 13 12 96 1 84 78 3 4 100 77 0 8 2 5 6 7&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;These are for the figure first frame for still seeing the water atoms but hazy&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
H22 14 26 19 30 35 15 17 60 69 73 62 45 34 40 16 21 37 27 55 53 49 24 32 43 39 33 67 70 71 65 75 76 66 72 68 63 59 50 51 58 54 48 20 47 23 36 42 31 25 74 61 57 41 46&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
O90 86 91 99 94 104 106 111 109 110 107 92 85 95 102 88 80 89 108 105 83 87 82 81 90 101 79 93&lt;br /&gt;
| 22 14 26 19 30 35 15 17 60 69 73 62 45 34 40 16 21 37 27 55 53 49 24 32 43 39 33 67 70 71 65 75 76 66 72 68 63 59 50 51 58 54 48 20 47 23 36 42 31 25 74 61 57 41 46 90 86 91 99 94 104 106 111 109 110 107 92 85 95 102 88 80 89 108 105 83 87 82 81 90 101 79 93&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Index for Diagram for pics Middle Frame for H20 molecules&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
H63&lt;br /&gt;
&lt;br /&gt;
H33&lt;br /&gt;
&lt;br /&gt;
H17&lt;br /&gt;
&lt;br /&gt;
H21&lt;br /&gt;
&lt;br /&gt;
60&lt;br /&gt;
&lt;br /&gt;
68&lt;br /&gt;
&lt;br /&gt;
42&lt;br /&gt;
&lt;br /&gt;
38&lt;br /&gt;
&lt;br /&gt;
34&lt;br /&gt;
&lt;br /&gt;
50&lt;br /&gt;
&lt;br /&gt;
72&lt;br /&gt;
&lt;br /&gt;
73&lt;br /&gt;
&lt;br /&gt;
16&lt;br /&gt;
&lt;br /&gt;
61&lt;br /&gt;
&lt;br /&gt;
55&lt;br /&gt;
&lt;br /&gt;
71&lt;br /&gt;
&lt;br /&gt;
59&lt;br /&gt;
&lt;br /&gt;
69&lt;br /&gt;
&lt;br /&gt;
40&lt;br /&gt;
&lt;br /&gt;
14&lt;br /&gt;
&lt;br /&gt;
39&lt;br /&gt;
&lt;br /&gt;
74&lt;br /&gt;
&lt;br /&gt;
67&lt;br /&gt;
&lt;br /&gt;
53&lt;br /&gt;
&lt;br /&gt;
49&lt;br /&gt;
&lt;br /&gt;
41&lt;br /&gt;
&lt;br /&gt;
52&lt;br /&gt;
&lt;br /&gt;
27&lt;br /&gt;
&lt;br /&gt;
15&lt;br /&gt;
&lt;br /&gt;
31&lt;br /&gt;
&lt;br /&gt;
23&lt;br /&gt;
&lt;br /&gt;
54&lt;br /&gt;
&lt;br /&gt;
62&lt;br /&gt;
&lt;br /&gt;
32&lt;br /&gt;
&lt;br /&gt;
64&lt;br /&gt;
&lt;br /&gt;
30&lt;br /&gt;
&lt;br /&gt;
26&lt;br /&gt;
&lt;br /&gt;
57&lt;br /&gt;
&lt;br /&gt;
37&lt;br /&gt;
&lt;br /&gt;
51&lt;br /&gt;
&lt;br /&gt;
58&lt;br /&gt;
&lt;br /&gt;
70&lt;br /&gt;
&lt;br /&gt;
43&lt;br /&gt;
&lt;br /&gt;
25&lt;br /&gt;
&lt;br /&gt;
35&lt;br /&gt;
&lt;br /&gt;
46&lt;br /&gt;
&lt;br /&gt;
45&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
O80&lt;br /&gt;
&lt;br /&gt;
87&lt;br /&gt;
&lt;br /&gt;
99&lt;br /&gt;
&lt;br /&gt;
81&lt;br /&gt;
&lt;br /&gt;
88&lt;br /&gt;
&lt;br /&gt;
105&lt;br /&gt;
&lt;br /&gt;
104&lt;br /&gt;
&lt;br /&gt;
91&lt;br /&gt;
&lt;br /&gt;
90&lt;br /&gt;
&lt;br /&gt;
106&lt;br /&gt;
&lt;br /&gt;
97&lt;br /&gt;
&lt;br /&gt;
108&lt;br /&gt;
&lt;br /&gt;
102&lt;br /&gt;
&lt;br /&gt;
89&lt;br /&gt;
&lt;br /&gt;
93&lt;br /&gt;
&lt;br /&gt;
101&lt;br /&gt;
&lt;br /&gt;
92&lt;br /&gt;
&lt;br /&gt;
107&lt;br /&gt;
&lt;br /&gt;
78&lt;br /&gt;
&lt;br /&gt;
109&lt;br /&gt;
&lt;br /&gt;
86&lt;br /&gt;
&lt;br /&gt;
83&lt;br /&gt;
&lt;br /&gt;
94&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
63 33 17 21 60 68 42 38 34 50 72 73 16 61 55 71 59 69 40 14 39 74 67 53 49 41 52 27 15 31 23 54 62 32 64 30 26 57 37 51 58 70 43 25 35 46 45 80 87 99 81 88 105 104 91 90 106 97 108 102 89 93 101 92 107 78 109 86 83 94&lt;br /&gt;
&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_783e625ce0b8a321.png|182x247px]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Preparation of TDESMD Orbital Files and Job Submission&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mkdir TDESMD_111_114&lt;br /&gt;
| We will now use the information of the CANDIDATES file and create new folder for each scenario. You create a file titled using the orbitals involved. In my case the first scenario is with orbitals 111 and 114&lt;br /&gt;
|-&lt;br /&gt;
| cd TDESMD_111_114&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_111_114/INCAR_EXCITED&lt;br /&gt;
| Taking INCAR_EXCITED file from location. In my case it is here.&lt;br /&gt;
|-&lt;br /&gt;
| vi INCAR_EXCITED&lt;br /&gt;
| Edit the INCAR_EXCITED file to make it look like&lt;br /&gt;
|-&lt;br /&gt;
| i&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_79a32df6f9f33bb0.png|303x201px]]&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
Change FERWE=#### to match the total number of orbitals/bands. In this example we have a total number of 160 bands/orbitals.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The first segment of FERWE, “110*1” says we have the first 110 orbitals occupied. The second portion is orbital number 111 which we have listed as a “0” signifying this orbital is unnoccopied for our job submission. Then orbital number 112 is occupied with “1”. Then orbital number 113 is unoccupied with “0”. Then orbital number 114 is occupied with “1”. The last part of “46*0” is talking about the other orbitals not mentioned. These orbital should add up to 160. These numbers change with the differing orbitals designating in the CANDIDATES FILE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The main thing that is changing is the position of one occupied orbital and one unoccupied orbital when the compound is in ground state. In this example number 111 is usually occupied in ground state and we are moving the electron to 114 which is unoccupied in ground state.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| ONE more example is as follows. With TDESMD_102_115&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_51e84877e4374ca6.png|300x199px]]&lt;br /&gt;
|-&lt;br /&gt;
| “esc” key&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/POSCAR ./CONTCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/KPOINTS&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/POTCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_111_114/debug1.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sbatch debug1.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Creating Videos from movieAll.xyz files and uploading them on youtube&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| scp –r TDESMD_###_### DestinationUser:/DestinationLocation&lt;br /&gt;
|&lt;br /&gt;
Starting in cori&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using this to send files from cori to photon. We specifically want the movieALL.xyz files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is sending the WHOLE directory and everything it contains&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
--OPEN A NEW TAB IN MOBA XTERM--&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Without logging into the account you should be able to see if you are on your current computer&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ls&lt;br /&gt;
| make sure you are in your computer directory. Usually you will see “DESKTOP” as an option&lt;br /&gt;
|-&lt;br /&gt;
| cd DESKTOP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mkdir TDESMD_###_###&lt;br /&gt;
|&lt;br /&gt;
In DESKTOP&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
generate TDESMD_###_### directories&lt;br /&gt;
|-&lt;br /&gt;
| scp kilin@photon.chem.ndsu.nodak.edu:/scratch001/Chem_476/CHEM676_2019/Meade/DIMER/TDESMD_##_###/movieALL.xyz .&lt;br /&gt;
| WHILE IN THE TDESMD DIRECTORY THAT YOU WANT TO BE THE DESTINATION take “movieALL.xyz” from photon and put into specific directory&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| Once the file is in your desktop you can go to your windows folders and open it to check if it is there.&lt;br /&gt;
|-&lt;br /&gt;
| In windows search bar&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| VMD&lt;br /&gt;
|&lt;br /&gt;
type vmd in windows search bar and open it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
VMD will open with multiple screens.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| We will focus on this screen first to open all the extra screens we need. (VMD Main)&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_5f31d31c2c72c623.png|244x114px]]&lt;br /&gt;
|-&lt;br /&gt;
| Press “File”, “New Molecule,”&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| On the window that comes up (Molecule File Browser) Press “Browse” and find the file you would like. Find the file you want. In this example it is an xyz file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Once A file is picked then press “Load” in the Molecule File Browser window.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Going back to VMD Main&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Press “Graphics” and Representations to open a long slender screen.(VMD Main)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_c8cfeb66ca7723b0.png|225x487px]]&lt;br /&gt;
|-&lt;br /&gt;
| Press the “Create Rep” Button (Graphical Representation window)&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| With one of the “Reps” highlighted in green, in the drawing Method switch from Lines to VDW&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Change the Sphere scale to 0.2.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Resolution can stay at default or can be raised if desired.&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6ceb4d7e0c7c142a.png|157x340px]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Click on the other line that still says “LINES” and in the Drawing Method change it to Dynamic Bonds&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Change Distance Cutoff to 1.6&lt;br /&gt;
&lt;br /&gt;
Bond Radius to 0.1&lt;br /&gt;
&lt;br /&gt;
And Resolution can stay at default or be increased&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_dba6c2b704e3401a.png|158x337px]]&lt;br /&gt;
|-&lt;br /&gt;
| Go back to VMD Main&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Go to “Extensions,” “Visualizations,” and “Movie maker”&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Go to the VMD Movie Generator window&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| In the box of “Name of movie” type the TDESMD_##_### you have.&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_b50ecc50051093d9.png|214x167px]]&lt;br /&gt;
|-&lt;br /&gt;
| “Set Working Directory“ choose the destination directory you want the movie to go to.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| “Rotation Angle” I put it to 0 but you can put it to whatever.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| “trajectory step size” 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| “Movie Duration” This depends on your frames from the (VMDMain) Usually 1000 frames is about 20-30 seconds if the speed (step) is set to 1. But By changing the speed of the video we should make the total video length to 30-45 seconds long.&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_b50ecc50051093d9.png|232x181px]]&lt;br /&gt;
|-&lt;br /&gt;
| Back to VMD Main window&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Press “Mouse,” “Label,” “Bonds”&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| click on two neighboring atoms to get the atom name and bond length&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
IN VMD Main, go to “Graphics” and “Labels.” select “atoms” in the drop down menu on the “Labels” window.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select all atoms by clicking on the top atom and then “SHIFT+left click” the bottom atom to select all atoms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
While all atoms are selected (highlighted in green). Go to “Properties” and in the “Format” box type %e%i.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(The %e gives the element and the %i gives the index number)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some information can be presented by simply having your cursor over the %e%i and a yellow box will pop up for some info.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can move the lettering of each atom by moving the offset information.&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_46eab8f828aa40bc.png|215x201px]]&lt;br /&gt;
|-&lt;br /&gt;
| Click the global properties and change text size and text thickness. ( all of this can be see in the (VMD1.9.3 OpenGL Display) [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_260ebe13a2eda05.png|162x114px]]&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_3968014bc41ed6a4.png|224x212px]]&lt;br /&gt;
|-&lt;br /&gt;
| in VMD movie Generator press “make movie” and quickly in VMD main press the play button.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Once the video is done a popup should be produced asking where to find videomach. Here is the directory for my computer.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:\Program Files (x86)\VideoMach\videomach.exe&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Once you put in the file videomach.exe then videomach should show up.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Switch the file type to MP4&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6a986dcfd4344618.png|374x27px]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_da932791910b2a04.png|167x188px]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_d35497678abed954.png|155x364px]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| Polymer/Monomer Photodegradation: TDESMD 91 121 Bond Data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
Bond lengths shown (white lettering) are chosen to see if this degradation simulation relates to the photo cleavage explained in this specified paper.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Angew. Chem. Int. Ed. 2015, 54, 1159 –1163&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The transition energy for this excitation is 0.24386664.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From conformation labeled as &amp;amp;quot;DIMER&amp;amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Acknowledgements: Dr. Dmitri Kilin&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Obtaining MASSPECTRUM Data from FERWE TDESMD Calculations&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| We will be using python scripts that are premade. In PHOTON&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| go to the TDESMD_###_### directory you want to go to&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| in here make another directory called massspectrum&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mkdir massspectrum&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cd masssspectrum&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /Location/movieALL.xyz&lt;br /&gt;
| This should be from the TDESMD_###_### you are in.&lt;br /&gt;
|-&lt;br /&gt;
| cp /Location/script1n.py&lt;br /&gt;
| /scratch001/Chem_476/CHEM676_2019/Meade/Pythonscript/script1n.py&lt;br /&gt;
|-&lt;br /&gt;
| babel –ixyz movieALL.xyz shot.xyz -m&lt;br /&gt;
|&lt;br /&gt;
Creating shot files. Each shot is a “frame” from the video.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Record number of molecules converted.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-2055 molecules converted&lt;br /&gt;
&lt;br /&gt;
-2055 files output. The first is shot1.xyz&lt;br /&gt;
|-&lt;br /&gt;
| python3 script1n.py&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| enter number of molecules converted&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| a frequency file should be created&lt;br /&gt;
|-&lt;br /&gt;
| cp frequency.txt frequency1.txt&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| awk &#039;ORS=(!(NR%2)?&amp;amp;quot;\n&amp;amp;quot;:&amp;amp;quot; &amp;amp;quot;)&#039; RS=&amp;amp;quot; &amp;amp;quot; frequency.txt &amp;amp;gt; file1.txt&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp rmovingfile.sh&lt;br /&gt;
| /scratch001/Chem_476/CHEM676_2019/Meade/DIMER/TDESMD_112_116/massspectrum/MultipleCellMassSpec&lt;br /&gt;
|-&lt;br /&gt;
| bash rmovingfile.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| vi file1.txt&lt;br /&gt;
| Edit the file by deleting everything that doesn’t relate to the numbers.&lt;br /&gt;
|-&lt;br /&gt;
| i&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| before [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_b3731e92878413d2.png|289x328px]]&lt;br /&gt;
|&lt;br /&gt;
after&lt;br /&gt;
&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_c6aa114dd0a5843f.png|108x333px]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
IT IS NECESSARY TO MENTION THAT WHEN CREATING THE FRAGMENTS FILE AN EXTRA BLANK LINE WILL BE GENERATED. IT IS ESSENTIAL TO DELETE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_2104ec24e9b14aae.png|258x363px]]&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_36d7bfd4ff6b9e13.png|218x371px]]&lt;br /&gt;
|-&lt;br /&gt;
| “esc” key&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp file1.txt fragments&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| wc fragments&lt;br /&gt;
|&lt;br /&gt;
record the first number&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
in my case it is 21&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/DRESS_FRAGMENT_v2&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
21&lt;br /&gt;
&lt;br /&gt;
100&lt;br /&gt;
&lt;br /&gt;
300&lt;br /&gt;
&lt;br /&gt;
.1&lt;br /&gt;
&lt;br /&gt;
1&lt;br /&gt;
&lt;br /&gt;
62&lt;br /&gt;
&lt;br /&gt;
160&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
number of states&lt;br /&gt;
&lt;br /&gt;
Min MASS (can change if desired)&lt;br /&gt;
&lt;br /&gt;
Max MASS (can change if desired)&lt;br /&gt;
&lt;br /&gt;
width of the line used&lt;br /&gt;
&lt;br /&gt;
magnitude (keep at one)&lt;br /&gt;
&lt;br /&gt;
number of atoms&lt;br /&gt;
&lt;br /&gt;
number of electrons&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Plotting FERWE MASSPECTRUM&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| gnuplot&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| set style line 4 lw 100 lc -1; unset key; plot &amp;amp;quot;MASS_SPEC.norm&amp;amp;quot; using 3:5 w l lw 3; set xlabel &#039;Molecular Weight, amu&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Intensity (a.u)&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Mass Spectrum Dimer Multiple Cells&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0&lt;br /&gt;
| e in the directory of the file you want to plot, in this example we are using MASS_SPEC.norm as our file with the data we want.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
set style line 4 lw 100 lc -1; unset key; plot &amp;amp;quot;MASS_SPEC.norm&amp;amp;quot; using 3:5 w l lw 3; set xlabel &#039;Molecular Weight, amu&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Intensity (a.u)&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Mass Spectrum Monomer H2O Multiple Cells&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To press the right mouse button and move mouse to preferred window size. Then left click&lt;br /&gt;
| monomer h20&lt;br /&gt;
|-&lt;br /&gt;
| ressing p takes you to the previous zoom level, n to the next level, and u unzooms&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| set style line 4 lw 100 lc -1; unset key; plot &amp;amp;quot;MASS_SPEC.norm&amp;amp;quot; using 3:5 w l lw 3; set xlabel &#039;Molecular Weight, amu&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Intensity&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Mass Spectrum Dimer Multiple Cells&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Obtaining Multiple Cell MASSPECTRUM Data from FERWE TDESMD Calculations&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Make sure TDESMD CONTCAREXICTED and CONTCARGROUND files have been generated. Start in Cori go to Photon&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/test.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/ test_o.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/ANA_v2.exe&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/input_ANA&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/CONTCAREXICTED and GROUNDFILES&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
Take these files from Cori and put them into photon.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These two files are needed for running the scripts properly&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These are the “important parts of the code”&lt;br /&gt;
&lt;br /&gt;
~/vtstools3/pos2xyz.pl CONTCAR&lt;br /&gt;
&lt;br /&gt;
cp CONTCAR.xyz INPUT.xyz&lt;br /&gt;
&lt;br /&gt;
~/bin/ANA_v2.exe&lt;br /&gt;
&lt;br /&gt;
cat OUTPUT.xyz &amp;amp;gt; movieANA.xyz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
input_ANA should have similar format to this&lt;br /&gt;
&lt;br /&gt;
Where the first 3 numbers are from POSCAR, the last 3 are the number of cells in the x,y,z axes respectively. This files was duplicated across Z axis.&lt;br /&gt;
&lt;br /&gt;
18.54438999999999&lt;br /&gt;
&lt;br /&gt;
14.45937999999995&lt;br /&gt;
&lt;br /&gt;
17.76793999999994&lt;br /&gt;
&lt;br /&gt;
1&lt;br /&gt;
&lt;br /&gt;
1&lt;br /&gt;
&lt;br /&gt;
10&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
~/vtstools3/pos2xyz.pl CONTCAR&lt;br /&gt;
&lt;br /&gt;
cp CONTCAR.xyz INPUT.xyz&lt;br /&gt;
&lt;br /&gt;
~/bin/ANA_v2.exe&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cat OUTPUT.xyz &amp;amp;gt; movieANA.xyz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
Delete movieANA.xyz if you have it already.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
( This is to make sure the OUTPUT and initial part of the moveANA.xyz file is what it needs to be. In my situation I wanted to have 10 cells combined together.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I used input_ANA&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
CHECK to see if OUTPUT has the correct number of atoms&lt;br /&gt;
&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_4a92367ce10afd50.png|624x64px]]&lt;br /&gt;
| Single cell had 620 atoms, I multipled it by 10 since I wanted to duplicate 10 times. If this is good procede to next steps&lt;br /&gt;
|-&lt;br /&gt;
| vi test.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_19d33c90b0cefb7a.png|278x215px]]&lt;br /&gt;
| change the number to later stage in your trajectory(or the number where you think degradation had occurred. For example my total CONTCARGround and excited was about 191 files. I saw degradation occur later in the simulation so I chose the number 190. This changes with the simulations.&lt;br /&gt;
|-&lt;br /&gt;
| bash test.sh&lt;br /&gt;
| this runs the test.sh file&lt;br /&gt;
|-&lt;br /&gt;
| bash test_o.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| NOW LOOKING INTO PHOTON&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp all files into photon directory&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /Location/script1n.py&lt;br /&gt;
| /scratch001/Chem_476/CHEM676_2019/Meade/Pythonscript/script1n.py&lt;br /&gt;
|-&lt;br /&gt;
| babel –ixyz movieANA.xyz shot.xyz -m&lt;br /&gt;
|&lt;br /&gt;
Creating shot files. Each shot is a “frame” from the video.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Record number of molecules converted.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-2055 molecules converted&lt;br /&gt;
&lt;br /&gt;
-2055 files output. The first is shot1.xyz&lt;br /&gt;
|-&lt;br /&gt;
| Follow regular mass spec steps from above. Rather than using MovieALL we are using movieANA.xyz.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
photon&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/scratch001/Chem_476/CHEM676_2019/Meade/DIMER/TDESMD_112_116/massspectrum/MultipleCellMassSpec&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cori&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/test&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| plummer code for renaming files&lt;br /&gt;
| /global/project/projectdirs/m1251/vasp/CHEM676/meade/MONOMER_H2O/TDESMD_162_167/massspec/multiplemassspectest/plumoutput&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;How to read/get the fragments with their xyz coordinates&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Go into the directory with the shot files with the multiple cells. Make sure that some files have this comment inside of them by opening a shot file that has name shot##n#.xyz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The comment should be.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
created by duplicating cells#&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| grep -E &#039;created by duplicating cells.* 17.&#039; shot*&lt;br /&gt;
|&lt;br /&gt;
finds lines that have both “created by duplicating cells” and the number 17 in the same line.&lt;br /&gt;
&lt;br /&gt;
17 is the mass number we are looking for&lt;br /&gt;
&lt;br /&gt;
I am unsure what the “.*” does in this code&lt;br /&gt;
&lt;br /&gt;
make sure there is a space between the * and the 17&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Then open one of the xyz files listed.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Literally drag and copy the file information into a notepad document in your desktop.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| more shot291n10.xyz&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_9c48a58b9e24dc27.png|210x268px]]&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_7c3a89906ed25e30.png|180x270px]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| open the xyz file in Avogadro and save as mol file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| the Avogadro file is correct visualization of the fragments. Mol file will have some defects so you will have to change those.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Making Video from output of VASP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
~/vtstools3/pos2xyz.pl CONTCAR&lt;br /&gt;
&lt;br /&gt;
cp CONTCAR.xyz INPUT.xyz&lt;br /&gt;
&lt;br /&gt;
~/bin/ANA_v2.exemore&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cat OUTPUT.xyz &amp;amp;gt; movieANA.xyz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
Delete movieANA.xyz if you have it already.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
( This is to make sure the OUTPUT and initial part of the moveANA.xyz file is what it needs to be. In my situation I wanted to have 10 cells combined together.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I used input_ANA&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;LAAMPS&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_796f3aade1e5b306.png|314x150px]]&lt;br /&gt;
|&lt;br /&gt;
testwater file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Epsolon is Inputs from something like DFT&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Coloumns:&lt;br /&gt;
&lt;br /&gt;
Atom ID&lt;br /&gt;
&lt;br /&gt;
Molecule ID&lt;br /&gt;
&lt;br /&gt;
Atom Type&lt;br /&gt;
&lt;br /&gt;
Q - charge&lt;br /&gt;
&lt;br /&gt;
X&lt;br /&gt;
&lt;br /&gt;
Y&lt;br /&gt;
&lt;br /&gt;
Z&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_f474cba5e65bdaab.png|306x66px]]&lt;br /&gt;
| This infor can be put in input script if desired.&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_a9802b534de46367.png|624x180px]]&lt;br /&gt;
|&lt;br /&gt;
bond id&lt;br /&gt;
&lt;br /&gt;
bond tuype&lt;br /&gt;
&lt;br /&gt;
atom id that connects&lt;br /&gt;
&lt;br /&gt;
atom id that connects as well&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_3b00d172c3a15f2b.png|310x103px]]&lt;br /&gt;
|&lt;br /&gt;
Angle ID&lt;br /&gt;
&lt;br /&gt;
Angle Type 1 being single bond 2 being double, etc&lt;br /&gt;
&lt;br /&gt;
Item ID such as first atom O , 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; and 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; atom H&lt;br /&gt;
|-&lt;br /&gt;
| qsub submit.sh&lt;br /&gt;
| submits the job using submit.sh&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;background: #101010&amp;quot;&amp;gt;qstat -u meade.erickson&amp;lt;/span&amp;gt;&lt;br /&gt;
| shoes me my jobs&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;background: #101010&amp;quot;&amp;gt;chmod -777 lmp_mpi_12Dec18&amp;lt;/span&amp;gt;&lt;br /&gt;
| modifies permission for this file&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| [meade.erickson@login0002 testwater]$ chmod -777 ~/bin/lmp_mpi_12Dec18&lt;br /&gt;
| giving permission while in a different&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| topo readlammpsdata project.data&lt;br /&gt;
| reads data file for vmd tk console&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Inputting files, put in .dcd file then right click on it and “Load Data into Molecule” then select .data file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_73b2551819922e26.png|287x164px]]&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| module avail&lt;br /&gt;
| Available software in ccast&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| qdet job id&lt;br /&gt;
| qdel ######&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| fragment 0 to 9 or fragment 14&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=TeraTermInsteadofHyperTerminal&amp;diff=123</id>
		<title>TeraTermInsteadofHyperTerminal</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=TeraTermInsteadofHyperTerminal&amp;diff=123"/>
		<updated>2022-09-26T21:15:36Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Revised formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
====== Open TeraTerm ======&lt;br /&gt;
* Select the “Serial”&lt;br /&gt;
* Select COM1&lt;br /&gt;
* (If it doesn’t connect you may need to select other COM)&lt;br /&gt;
* Go to “File”&lt;br /&gt;
* Select “Log..”&lt;br /&gt;
* Type/Select the “.txt” file you would like to save the data to. THE FILE NEEDS TO HAVE “.txt” EXTENSION ADDED TO IT IF IT DOESN’T ALREADY HAVE IT&lt;br /&gt;
* Once selected a second popup window named “Tera Term: Log” will show during the logging process. (No need to touch this window yet.)&lt;br /&gt;
* Go to the Tera Term Command window and Type “GA”&lt;br /&gt;
* The terminal will retrieve the data from the specific you are on in the BODTrak II machine.&lt;br /&gt;
* Go to the secondary popup window and press “Close” when complete.&lt;br /&gt;
* Repeat this process for all 6 channels of the BODTRAK II Machine.&amp;lt;span id=&amp;quot;_GoBack&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Generating_Descriptors_Workflow&amp;diff=122</id>
		<title>Generating Descriptors Workflow</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Generating_Descriptors_Workflow&amp;diff=122"/>
		<updated>2022-09-26T21:14:49Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Revised formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
Procedure Document for using Chem Sketch, Avogadro, Dragon, Excel, Hyperchem, &amp;amp;amp; Build QSAR to obtain Descriptors.&lt;br /&gt;
&lt;br /&gt;
Purpose: Using ChemSketch, ChemDraw, HyperChem, Avogadro, Dragon5, Build QSAR, and QSARINS programs to generate structures, descriptors, and models. OpenBabel is used for converting files from one type to another.&lt;br /&gt;
&lt;br /&gt;
[[File:GeneratingDescriptors_Model_ChemSketch_HyperChem_OpenBabel_Avogadro_Dragon_BuildQSAR_HTML_e43805e4b85a54a7.png|624x291px]]&lt;br /&gt;
&lt;br /&gt;
====== ChemSketch ======&lt;br /&gt;
Can convert SMILES to structure and structure to SMILES.&lt;br /&gt;
&lt;br /&gt;
# Open Chem Sketch and click out of the little popup windows by clicking the X on the top right of the small window.&lt;br /&gt;
# Draw the desired molecule in skeletal format.&lt;br /&gt;
# Once the desired molecule is drawn then go to “Tools” and click “Clean Structure.” This will make it easier for the other programs to read what you created.&lt;br /&gt;
# Next, go to “Tools” again and then “Generate.” You will have to generate the “Name of Structure,” “Smiles Notation,” and “InChi for Structure.”&lt;br /&gt;
# Open a blank document on Excel. For the molecule created copy and paste the three things you generated. These three things will help keep your data organized. You may not need to refer to all three of these again but it is best to have them ready on hand as a precaution. You will use the “Name of Structure” for naming the files. ** Make sure you assign a number to each molecule. If you have 10 molecules just assign them numbers 1-10. Once again this will help with organizing your data. Organization is a big thing in this work!&lt;br /&gt;
# After the three things you generated are on Excel and you assigned the molecule a number. Then delete the names off of chem sketch. Keep the structure and save it as an “MDL Molfiles (*.mol).” The file name can be whatever but it is preferred to follow this format. “Assigned # Name of Structure” Example… “33 2-ethenyl-5-nitrofuran.mol” The “.mol” should be automatically added once you select “MDL molfiles (*.mol).&lt;br /&gt;
# Exit Chem Sketch.&lt;br /&gt;
&lt;br /&gt;
====== ChemDraw ======&lt;br /&gt;
SPECIAL can convert name of structure to a structure.&lt;br /&gt;
# ChemDraw has a special feature that if given a name of a polymer, it will generate the monomer unit for you.&lt;br /&gt;
# Open ChemDraw Professional&lt;br /&gt;
# Go to “Structure”&lt;br /&gt;
# Select “Convert Name to Structure”&lt;br /&gt;
# Type in the name of the polymer without “poly” for example. “Polybutane” only type “butane.”&lt;br /&gt;
# It will give you a generalized version. This will assist in giving you the correct monomer unit or just generalized version.&lt;br /&gt;
# *** ONLY HAVE STURCTURE IN “*.MOL” FILE*** Delete the text after the model is generated because the text will cause issues later&lt;br /&gt;
# NEXT STEPS ARE FOR CREATION OF STRUCTURE AND NAME REGULAR WAY LIKE DRAWING&lt;br /&gt;
# Draw the desired molecule&lt;br /&gt;
# Select the model by pressing the logo near the top left of the screen [[File:GeneratingDescriptors_Model_ChemSketch_HyperChem_OpenBabel_Avogadro_Dragon_BuildQSAR_HTML_c603a81bb8df177f.png|22x25px]]&lt;br /&gt;
# Once selected go to “Structure” and click “Clean up Structure.” This will make it easier for the other programs to read what you created.&lt;br /&gt;
# To generate the name of this structure go to “Structure” and press “Convert structure to name.”&lt;br /&gt;
# Open a blank document on Excel. For the molecule created copy and paste the name you generated. This will help keep your data organized.&lt;br /&gt;
# After the model is generated and the name is on Excel, assign a number to the molecule on excel. Then delete the names off of ChemDraw. Keep the structure and save it as an “MDL Molfiles (*.mol).” The file name can be whatever but it is preferred to follow this format. “Assigned # Name of Structure” Example… “33 2-ethenyl-5-nitrofuran.mol” The “.mol” should be automatically added once you select “MDL molfiles (*.mol).&lt;br /&gt;
# *** ONLY HAVE STURCTURE IN “*.MOL” FILE*** Delete the text after the model is generated because the text will cause issues later&lt;br /&gt;
# Exit Chem Draw.&lt;br /&gt;
&lt;br /&gt;
====== Avogadro ======&lt;br /&gt;
&amp;lt;ol start=&amp;quot;17&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;After doing these steps for all the molecules you wanted to create then open the program Avogadro.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Go to “File” and “Open” to bring a molecule you created in ChemSketch to Avogadro. Find your molecule that you want to bring to Avogadro and select it to open it. Click “Yes” when a small window pops up about 3D coordinates and a rough sketch.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Once the molecule is on Avogadro then go to “Extensions” and select “Optimize geometry.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;* There is another way to Optimize Geometry How do we do it again???&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Save the file as “Sybyl Mol2 (*.mol2)”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Exit Avogadro.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Dragon5 ======&lt;br /&gt;
It is okay to use *.mol and *.hin or any other format usable on Dragon, no issues what so ever)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;23&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Open “Dragon5.exe,” exit out of the small windows that pup up.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “Calculate Descriptors” and then select all the “.mol2” files that you want to calculate. Use the ‘Ctrl’ button when selecting the files so all desired files can be selected.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press the green check mark “OK” when all desired files are selected.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Choose the desired descriptors you want calculated for these molecule files. “X” means checked. Then press RUN.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press Continue when the small window pops up.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;A yellow window pops up and gives information about the calculations. If no errors are listed on the yellow window then exit out of it.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “Save Descriptors.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Make sure “Constant Variables” &amp;amp;amp; “Near-Constant Variables” are selected “x.” Select “Pair Correlation” and pick .95 or something around that number.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “Save” and save as “.txt” file.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Leave Dragon open for future use.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Find the file you saved and open with Notepad++. You can do this by finding the file and right clicking on the file. Select “Edit with Notepad++” to open it in Notepad++.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;In Notepad++, select all the information and copy onto an EXCEL worksheet. If desired you can delete the first 2 rows of the information on Notepad++. It is recommended to write the number of descriptors. This will help you later. It is listed in the 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; row, 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; column.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Once all the information is saved onto Excel then exit out of the Notepad++ file.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Splitting to Training and Test sets ======&lt;br /&gt;
In Excel worksheet, split the whole set to training and test sets by sorting your molecules according to “Experimental values” or “Y” column, in descending or ascending order. After sorting, select every 5&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; (20% of the set) or every 4&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; (25% of the set) compound (row) and then copy it to another excel sheet, naming it as a Test set. Remove the test compounds from the initial set to make a training set.&lt;br /&gt;
&lt;br /&gt;
Use the obtained training set to build a dataset in BuildQSAR.&lt;br /&gt;
&lt;br /&gt;
====== BuildQSAR ======&lt;br /&gt;
&amp;lt;ol start=&amp;quot;36&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Open “BuildQSAR.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Go to “File” then “New.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Add a Title to “Dataset Title.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Change the number of “Compounds” to the amount in your data. Change the number of “Descriptors” you have. The number of descriptors was obtained from the Notepad++ information.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Click “Ok.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Input observed data into the yellow column. The yellow column is for the observed information from other sources such as research papers.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;** The observed data should be put into Excel at this point.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Copy and paste the descriptor information from Excel into the blue cells of BuildQSAR.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Go to “QSAR” then “Variable Selection” then “Systematic Search” or “Genetic Algorithm.” (note: Choose Genetic Algorithm only when you need 4, 5 or higher number of variables in the model).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;A small popup window will pop up. Make sure the 2 boxes under “Cross Validation” are checked. The correlation criteria can change but if uncertain on a number then put 0.6 as default.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“Descriptors per Model,” this is usually calculated using the 5-1 rule. The 5-1 rule relates the number of molecules you have to the number “Variables AKA Descriptors” in your “Model oKA Equation.” Example: 5-1 rule is used on 24 molecules you should have 4 in the “Descriptors per model” section. ** DON’T ROUND UP **&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“No. of generations” can vary 200-500), but 200 is an okay default number to have.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“Models per Generation” should be at least 3 (better to have between 5-10).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “Run.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Double Click on any of the cells in the first row.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;A pop up window with a “Model aka equation” will pop up.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Copy and paste the model and information in the “()” onto Excel.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Close out of the window with the model information.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Copy the model and () information from all three rows.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;These rows are the different models the BuildQSAR generated for you.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Descriptor Information ======&lt;br /&gt;
&amp;lt;ol start=&amp;quot;56&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;So each model (AKA equation) has a certain number of descriptors in it. In this example there are 3.&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;Y_1 = -1.6198 (\pm 1.1586) X_{269} + 0.0110 (\pm 0.0016) X_{631} - 0.0336 (\pm 0.0094) X_{634} + 0.8483 (\pm 0.3386)&amp;lt;/math&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;To find the meaning of these descriptors go to your Excel file and above your descriptor data create a row that is listed from X1 to X#. X1 is above the first descriptor, usually MW. The #’s are the number of descriptors in one row.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;On Excel find the descriptors that are listed in the model. Find the abbreviation under the X value. Example X269 corresponded to the abbreviation “MATS3e”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Once you have all the descriptor abbreviations then go back to Dragon.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “ Descriptor Search”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Type an abbreviation you found from the Excel file.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “Search”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;This will give the descriptor information.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Test Set predictions ======&lt;br /&gt;
Use obtained model to calculate “Predicted Experimental values” for the Test set.&lt;br /&gt;
&lt;br /&gt;
For that, find the descriptors selected by the model, find them among test set descriptors, and then calculate “Predicted Experimental values” by applying mathematical model from training set and values of selected descriptor for each compound in the test set.&lt;br /&gt;
&lt;br /&gt;
Do the same for all models, from 1 to 5 variables. Calculate predictive R2 values by correlation of “Experimental values” and Predicted Experimental values” in Excel (function CORR( )).&lt;br /&gt;
&lt;br /&gt;
Build a graph for all models from 1 to 5 variables, by drawing on axes X No of model and on axes Y the values R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; for each model (separate lines for training and for the tests sets).&lt;br /&gt;
&lt;br /&gt;
Select the best model by finding the maximum value of R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; for the test set models.&lt;br /&gt;
&lt;br /&gt;
====== Open Babel GUI ======&lt;br /&gt;
This section depends on conversion of one file type to another if needed. Usually this is done to get HOMO LUMO (Extra descriptors) from Hyperchem (another 3D software) which has file types of “*.hin” Also, this is used to convert file type to smiles notation if needed. In this example we are converting “*.mol” files to Smiles format notation and “*.hin” format. “*.hin” is for HyperChem&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;ol start=&amp;quot;64&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Open “Open Babel GUI”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;On the top left of the window that opens chose the file type that you have. For example “mol—MDL MOL format is a common file extension.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Once chosen you can select the way you want the data read in OpenBabel. In this example the “Use this format for all input files (ignore file extensions)” will be checked.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Clicking on the left side “…” box you can choose the file you would like converted.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Once the file was chosen it should be in the bar to the left of the “…” box&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Under the very top right comment of “OUTPUT FORMAT” chose what you would like converted to. In this example chose “smiles - - SMILES format”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Check “Add Hydrogens (make explicit) in the middle column&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Check “Generate 3D coordinates” in the middle column&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Simply press convert and the data you want should be listed in the right column.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Copy the Smiles notation and save it onto another file such as excel or notepad. This is one example of what a smiles notation looks like “OC(F)(F)[C@H](F)C(F)(F)F”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;The same step as 62 can be used to create the “*.hin” format notation. This is done by choosing “hin - - HyperChem HIN format” under OUTPUT FORMAT.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Make sure “Output below only (no output file)” and “Display in firefox” are NOT checked. These are on the right side column or AKA output column.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Before pressing Convert you need to specify an output file and location. A good idea is to name it exactly the same as the input fil except change the “.mol” ending file to “.hin” (THE “.hin” NEEDS TO BE INCLUDED IN THE OUTPUT FILE)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press convert&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;The output file should be in the location with the name specified.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== HyperChem ======&lt;br /&gt;
This section depends on the need for quantum descriptors such as HOMO, LUMO, and Total energy.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;79&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Open “HyperChem”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Open a file that has “.hin” extension&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “Setup” on the tool bar&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “Semi-empirical”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “RM1”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “OK&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “Compute” on the tool bar&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “Geometry Optimization”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;For regular work make sure “Polak –Ribiere (Conjugate gradiant)” is selected.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Have 0.1 in the top bar of RMS gradiant and in the bottom bar 600.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Have “In vacuo” selected&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;For the “Screen refresh period” use 1 for cycles.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Steps 78-81 should be default settings&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “OK”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Once the optimization has stopped (Numbers on the bottom right or left have stopped moving) then select “Compute”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “Properties”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;All the information in “Properties” can be used as quantum descriptors if needed&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;By Pressing “Details” you will get more information and these are also used as descriptors if needed.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Exit out of “Properties”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “Compute”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “Orbitals”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;the screen that pops up shows 2-4 different columns, the left being Alpha orbitals and the right being Beta orbitals. The pink/purple column is simply the orbitals above the HOMO-LUMO Gap, and the green is simply below the HOMO LUMO Gap&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Each line in these columns gives you the energy in “eV” for that orbital.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If you zoom into the bottom most line of the pink/purple column that is LUMO- Lowest unoccupied molecular orbital. If you select the bottom most line of the pink/purple column, it will give you a value in the “Energy” bar as “eV”. That is LUMO.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If you zoom into the top most line of the green column that is HOMO- Highest Occupied Molecular Orbital. If you select the top most like of the green column it will give you a value in the “Energy” bar as “eV”. That is HOMO&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;The difference of these energies is the HOMO-LUMO Gap.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If desired, you can simply “Plot” isosurfaces of the orbital that is selected by pressing the “Plot” button on the bottom left of the Orbitals panal.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “OK” when done with this screen.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;To get further Descriptors&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “Compute”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “ QSAR Properties” at the bottom&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;In this window you can select any of the properties that you desired to compute by simply selecting the property and press compute. The value will be shown at the bottom of the “QSAR Properties” window.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Scripts are also available to be written for Hyperchem if desired, you can do this via following Lesson 17 or 18 in this manual. &amp;lt;u&amp;gt;http://www.chemistry-software.com/pdf/Hyperchem_full_manual.pdf&amp;lt;/u&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If manual doesn’t show up just google “Hyperchem Manual”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If It says your Molecule has issues before Geometry optimization such as Valence error go to Select&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select All&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select again&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“Add H &amp;amp;amp; Model Build”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;This corrects the error&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Additionally, If molecules are large and “Semi-Empirical” geometry optimization takes too much time then molecular mechanics is needed&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;When doing the molecular mechanics it is necessary to make sure the atom “type” is corrected.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;To check if atom type is correct go to “Display”&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-roman;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“Labels”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“type”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If you see “**” on the atoms then hyperchem needs to recalculate the atoms to get C, H, O, and other atoms.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-roman;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Go to “setup”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“Molecular Mechanics”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “MM+”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Click on “Options”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press OK&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Click on “Components”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press OK&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Then press “OK” on the same window you selected “MM+”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;You should get a popup window saying the atom types are going to be recalculated&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “OK”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;This should change the “**” to letters such as C, H, O&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If it doesn’t initially then try going to labels and pressing “none.” Then repeat steps 114 a-b&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If that doesn’t work then select the semi-empirical. Once selected redo steps 114a-d&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Use RHF not UHF&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&amp;lt;span id=&amp;quot;_GoBack&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Generating_Descriptors_Workflow&amp;diff=121</id>
		<title>Generating Descriptors Workflow</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Generating_Descriptors_Workflow&amp;diff=121"/>
		<updated>2022-09-26T21:03:27Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Sysadmin moved page GeneratingDescriptors Model ChemSketch HyperChem OpenBabel Avogadro Dragon BuildQSAR to Generating Descriptors Workflow without leaving a redirect: Page rename&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
Procedure Document for using Chem Sketch, Avogadro, Dragon, Excel, Hyperchem, &amp;amp;amp; Build QSAR to obtain Descriptors.&lt;br /&gt;
&lt;br /&gt;
Purpose: Using ChemSketch, ChemDraw, HyperChem, Avogadro, Dragon5, Build QSAR, and QSARINS programs to generate structures, descriptors, and models. Also, OpenBabel is used for converting files from one type to another.&lt;br /&gt;
&lt;br /&gt;
[[File:GeneratingDescriptors_Model_ChemSketch_HyperChem_OpenBabel_Avogadro_Dragon_BuildQSAR_HTML_e43805e4b85a54a7.png|624x291px]]&lt;br /&gt;
&lt;br /&gt;
Chem Sketch: Special can convert SMILES to structure and structure to SMILES.&lt;br /&gt;
&lt;br /&gt;
# Open Chem Sketch and click out of the little popup windows by clicking the X on the top right of the small window.&lt;br /&gt;
# Draw the desired molecule in skeletal format.&lt;br /&gt;
# Once the desired molecule is drawn then go to “Tools” and click “Clean Structure.” This will make it easier for the other programs to read what you created.&lt;br /&gt;
# Next, go to “Tools” again and then “Generate.” You will have to generate the “Name of Structure,” “Smiles Notation,” and “InChi for Structure.”&lt;br /&gt;
# Open a blank document on Excel. For the molecule created copy and paste the three things you generated. These three things will help keep your data organized. You may not need to refer to all three of these again but it is best to have them ready on hand as a precaution. You will use the “Name of Structure” for naming the files. ** Make sure you assign a number to each molecule. If you have 10 molecules just assign them numbers 1-10. Once again this will help with organizing your data. Organization is a big thing in this work!&lt;br /&gt;
# After the three things you generated are on Excel and you assigned the molecule a number. Then delete the names off of chem sketch. Keep the structure and save it as an “MDL Molfiles (*.mol).” The file name can be whatever but it is preferred to follow this format. “Assigned # Name of Structure” Example… “33 2-ethenyl-5-nitrofuran.mol” The “.mol” should be automatically added once you select “MDL molfiles (*.mol).&lt;br /&gt;
# Exit Chem Sketch.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Chem Draw: SPECIAL can convert name of structure to a structure.&lt;br /&gt;
&lt;br /&gt;
# ChemDraw has a special feature that if given a name of a polymer, it will generate the monomer unit for you.&lt;br /&gt;
# Open ChemDraw Professional&lt;br /&gt;
# Go to “Structure”&lt;br /&gt;
# Select “Convert Name to Structure”&lt;br /&gt;
# Type in the name of the polymer without “poly” for example. “Polybutane” only type “butane.”&lt;br /&gt;
# It will give you a generalized version. This will assist in giving you the correct monomer unit or just generalized version.&lt;br /&gt;
# *** ONLY HAVE STURCTURE IN “*.MOL” FILE*** Delete the text after the model is generated because the text will cause issues later&lt;br /&gt;
# NEXT STEPS ARE FOR CREATION OF STRUCTURE AND NAME REGULAR WAY LIKE DRAWING&lt;br /&gt;
# Draw the desired molecule&lt;br /&gt;
# Select the model by pressing the logo near the top left of the screen [[File:GeneratingDescriptors_Model_ChemSketch_HyperChem_OpenBabel_Avogadro_Dragon_BuildQSAR_HTML_c603a81bb8df177f.png|22x25px]]&lt;br /&gt;
# Once selected go to “Structure” and click “Clean up Structure.” This will make it easier for the other programs to read what you created.&lt;br /&gt;
# To generate the name of this structure go to “Structure” and press “Convert structure to name.”&lt;br /&gt;
# Open a blank document on Excel. For the molecule created copy and paste the name you generated. This will help keep your data organized.&lt;br /&gt;
# After the model is generated and the name is on Excel, assign a number to the molecule on excel. Then delete the names off of ChemDraw. Keep the structure and save it as an “MDL Molfiles (*.mol).” The file name can be whatever but it is preferred to follow this format. “Assigned # Name of Structure” Example… “33 2-ethenyl-5-nitrofuran.mol” The “.mol” should be automatically added once you select “MDL molfiles (*.mol).&lt;br /&gt;
# *** ONLY HAVE STURCTURE IN “*.MOL” FILE*** Delete the text after the model is generated because the text will cause issues later&lt;br /&gt;
# Exit Chem Draw.&lt;br /&gt;
&lt;br /&gt;
Avogadro:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;17&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;After doing these steps for all the molecules you wanted to create then open the program Avogadro.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Go to “File” and “Open” to bring a molecule you created in ChemSketch to Avogadro. Find your molecule that you want to bring to Avogadro and select it to open it. Click “Yes” when a small window pops up about 3D coordinates and a rough sketch.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Once the molecule is on Avogadro then go to “Extensions” and select “Optimize geometry.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;* There is another way to Optimize Geometry How do we do it again???&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Save the file as “Sybyl Mol2 (*.mol2)”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Exit Avogadro.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Dragon5: (IT IS OKAY TO USE *.mol and *.hin or any other format usable on Dragon, no issues what so ever)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;23&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Open “Dragon5.exe,” exit out of the small windows that pup up.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “Calculate Descriptors” and then select all the “.mol2” files that you want to calculate. Use the ‘Ctrl’ button when selecting the files so all desired files can be selected.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press the green check mark “OK” when all desired files are selected.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Choose the desired descriptors you want calculated for these molecule files. “X” means checked. Then press RUN.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press Continue when the small window pops up.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;A yellow window pops up and gives information about the calculations. If no errors are listed on the yellow window then exit out of it.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “Save Descriptors.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Make sure “Constant Variables” &amp;amp;amp; “Near-Constant Variables” are selected “x.” Select “Pair Correlation” and pick .95 or something around that number.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “Save” and save as “.txt” file.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Leave Dragon open for future use.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Find the file you saved and open with Notepad++. You can do this by finding the file and right clicking on the file. Select “Edit with Notepad++” to open it in Notepad++.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;In Notepad++, select all the information and copy onto an EXCEL worksheet. If desired you can delete the first 2 rows of the information on Notepad++. It is recommended to write the number of descriptors. This will help you later. It is listed in the 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; row, 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; column.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Once all the information is saved onto Excel then exit out of the Notepad++ file.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Splitting to Training and Test sets&lt;br /&gt;
&lt;br /&gt;
In Excel worksheet, split the whole set to training and test sets by sorting your molecules according to “Experimental values” or “Y” column, in descending or ascending order. After sorting, select every 5&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; (20% of the set) or every 4&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; (25% of the set) compound (row) and then copy it to another excel sheet, naming it as a Test set. Remove the test compounds from the initial set to make a training set.&lt;br /&gt;
&lt;br /&gt;
Use the obtained training set to build a dataset in BuildQSAR.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BuildQSAR:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;36&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Open “BuildQSAR.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Go to “File” then “New.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Add a Title to “Dataset Title.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Change the number of “Compounds” to the amount in your data. Change the number of “Descriptors” you have. The number of descriptors was obtained from the Notepad++ information.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Click “Ok.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Input observed data into the yellow column. The yellow column is for the observed information from other sources such as research papers.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;** The observed data should be put into Excel at this point.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Copy and paste the descriptor information from Excel into the blue cells of BuildQSAR.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Go to “QSAR” then “Variable Selection” then “Systematic Search” or “Genetic Algorithm.” (note: Choose Genetic Algorithm only when you need 4, 5 or higher number of variables in the model).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;A small popup window will pop up. Make sure the 2 boxes under “Cross Validation” are checked. The correlation criteria can change but if uncertain on a number then put 0.6 as default.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“Descriptors per Model,” this is usually calculated using the 5-1 rule. The 5-1 rule relates the number of molecules you have to the number “Variables AKA Descriptors” in your “Model oKA Equation.” Example: 5-1 rule is used on 24 molecules you should have 4 in the “Descriptors per model” section. ** DON’T ROUND UP **&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“No. of generations” can vary 200-500), but 200 is an okay default number to have.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“Models per Generation” should be at least 3 (better to have between 5-10).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “Run.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Double Click on any of the cells in the first row.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;A pop up window with a “Model aka equation” will pop up.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Copy and paste the model and information in the “()” onto Excel.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Close out of the window with the model information.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Copy the model and () information from all three rows.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;These rows are the different models the BuildQSAR generated for you.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Descriptor Information:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;56&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;So each model (AKA equation) has a certain number of descriptors in it. In this example there are 3.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Y1 = - 1.6198 (± 1.1586) X269 + 0.0110 (± 0.0016) X631 - 0.0336 (± 0.0094) X634 + 0.8483 (± 0.3386)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;To find the meaning of these descriptors go to your Excel file and above your descriptor data create a row that is listed from X1 to X####. X1 is above the first descriptor, usually MW. The #’s are the number of descriptors in one row.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;On Excel find the descriptors that are listed in the model. Find the abbreviation under the X value. Example X269 corresponded to the abbreviation “MATS3e”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Once you have all the descriptor abbreviations then go back to Dragon.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “ Descriptor Search”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Type an abbreviation you found from the Excel file.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “Search”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;This will give the descriptor information.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Test Set predictions&lt;br /&gt;
&lt;br /&gt;
Use obtained model to calculate “Predicted Experimental values” for the Test set.&lt;br /&gt;
&lt;br /&gt;
For that, find the descriptors selected by the model, find them among test set descriptors, and then calculate “Predicted Experimental values” by applying mathematical model from training set and values of selected descriptor for each compound in the test set.&lt;br /&gt;
&lt;br /&gt;
Do the same for all models, from 1 to 5 variables. Calculate predictive R2 values by correlation of “Experimental values” and Predicted Experimental values” in Excel (function CORR( )).&lt;br /&gt;
&lt;br /&gt;
Build a graph for all models from 1 to 5 variables, by drawing on axes X No of model and on axes Y the values R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; for each model (separate lines for training and for the tests sets).&lt;br /&gt;
&lt;br /&gt;
Select the best model by finding the maximum value of R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; for the test set models.&lt;br /&gt;
&lt;br /&gt;
Open Babel GUI:&lt;br /&gt;
&lt;br /&gt;
This section depends on conversion of one file type to another if needed. Usually this is done to get HOMO LUMO (Extra descriptors) from Hyperchem (another 3D software) which has file types of “*.hin” Also, this is used to convert file type to smiles notation if needed. In this example we are converting “*.mol” files to Smiles format notation and “*.hin” format. “*.hin” is for HyperChem&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;64&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Open “Open Babel GUI”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;On the top left of the window that opens chose the file type that you have. For example “mol—MDL MOL format is a common file extension.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Once chosen you can select the way you want the data read in OpenBabel. In this example the “Use this format for all input files (ignore file extensions)” will be checked.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Clicking on the left side “…” box you can choose the file you would like converted.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Once the file was chosen it should be in the bar to the left of the “…” box&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Under the very top right comment of “OUTPUT FORMAT” chose what you would like converted to. In this example chose “smiles - - SMILES format”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Check “Add Hydrogens (make explicit) in the middle column&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Check “Generate 3D coordinates” in the middle column&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Simply press convert and the data you want should be listed in the right column.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Copy the Smiles notation and save it onto another file such as excel or notepad. This is one example of what a smiles notation looks like “OC(F)(F)[C@H](F)C(F)(F)F”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;The same step as 62 can be used to create the “*.hin” format notation. This is done by choosing “hin - - HyperChem HIN format” under OUTPUT FORMAT.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Make sure “Output below only (no output file)” and “Display in firefox” are NOT checked. These are on the right side column or AKA output column.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Before pressing Convert you need to specify an output file and location. A good idea is to name it exactly the same as the input fil except change the “.mol” ending file to “.hin” (THE “.hin” NEEDS TO BE INCLUDED IN THE OUTPUT FILE)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press convert&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;The output file should be in the location with the name specified.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
HyperChem:&lt;br /&gt;
&lt;br /&gt;
This section depends on the need for quantum descriptors such as HOMO, LUMO, and Total energy.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;79&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Open “HyperChem”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Open a file that has “.hin” extension&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “Setup” on the tool bar&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “Semi-empirical”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “RM1”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “OK&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “Compute” on the tool bar&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “Geometry Optimization”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;For regular work make sure “Polak –Ribiere (Conjugate gradiant)” is selected.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Have 0.1 in the top bar of RMS gradiant and in the bottom bar 600.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Have “In vacuo” selected&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;For the “Screen refresh period” use 1 for cycles.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Steps 78-81 should be default settings&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “OK”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Once the optimization has stopped (Numbers on the bottom right or left have stopped moving) then select “Compute”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “Properties”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;All the information in “Properties” can be used as quantum descriptors if needed&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;By Pressing “Details” you will get more information and these are also used as descriptors if needed.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Exit out of “Properties”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “Compute”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “Orbitals”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;the screen that pops up shows 2-4 different columns, the left being Alpha orbitals and the right being Beta orbitals. The pink/purple column is simply the orbitals above the HOMO-LUMO Gap, and the green is simply below the HOMO LUMO Gap&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Each line in these columns gives you the energy in “eV” for that orbital.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If you zoom into the bottom most line of the pink/purple column that is LUMO- Lowest unoccupied molecular orbital. If you select the bottom most line of the pink/purple column, it will give you a value in the “Energy” bar as “eV”. That is LUMO.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If you zoom into the top most line of the green column that is HOMO- Highest Occupied Molecular Orbital. If you select the top most like of the green column it will give you a value in the “Energy” bar as “eV”. That is HOMO&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;The difference of these energies is the HOMO-LUMO Gap.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If desired, you can simply “Plot” isosurfaces of the orbital that is selected by pressing the “Plot” button on the bottom left of the Orbitals panal.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “OK” when done with this screen.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;To get further Descriptors&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “Compute”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “ QSAR Properties” at the bottom&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;In this window you can select any of the properties that you desired to compute by simply selecting the property and press compute. The value will be shown at the bottom of the “QSAR Properties” window.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Scripts are also available to be written for Hyperchem if desired, you can do this via following Lesson 17 or 18 in this manual. &amp;lt;u&amp;gt;http://www.chemistry-software.com/pdf/Hyperchem_full_manual.pdf&amp;lt;/u&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If manual doesn’t show up just google “Hyperchem Manual”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If It says your Molecule has issues before Geometry optimization such as Valence error go to Select&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select All&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select again&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“Add H &amp;amp;amp; Model Build”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;This corrects the error&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Additionally, If molecules are large and “Semi-Empirical” geometry optimization takes too much time then molecular mechanics is needed&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;When doing the molecular mechanics it is necessary to make sure the atom “type” is corrected.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;To check if atom type is correct go to “Display”&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-roman;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“Labels”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“type”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If you see “**” on the atoms then hyperchem needs to recalculate the atoms to get C, H, O, and other atoms.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-roman;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Go to “setup”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“Molecular Mechanics”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “MM+”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Click on “Options”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press OK&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Click on “Components”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press OK&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Then press “OK” on the same window you selected “MM+”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;You should get a popup window saying the atom types are going to be recalculated&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “OK”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;This should change the “**” to letters such as C, H, O&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If it doesn’t initially then try going to labels and pressing “none.” Then repeat steps 114 a-b&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If that doesn’t work then select the semi-empirical. Once selected redo steps 114a-d&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Use RHF not UHF&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;_GoBack&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Dragon5_Procedure&amp;diff=120</id>
		<title>Dragon5 Procedure</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Dragon5_Procedure&amp;diff=120"/>
		<updated>2022-09-26T21:02:31Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Revised formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
====== Dragon5 ======&lt;br /&gt;
It is okay to use *.mol and *.hin, or any other format usable on Dragon, with no issues what so ever.&lt;br /&gt;
&lt;br /&gt;
# Open “Dragon5.exe,” exit out of the small windows that pup up.&lt;br /&gt;
# Select “Calculate Descriptors” and then select all the “.mol2” files that you want to calculate. Use the ‘Ctrl’ button when selecting the files so all desired files can be selected.&lt;br /&gt;
# Press the green check mark “OK” when all desired files are selected.&lt;br /&gt;
# Choose the desired descriptors you want calculated for these molecule files. “X” means checked. Then press RUN.&lt;br /&gt;
# Press Continue when the small window pops up.&lt;br /&gt;
# A yellow window pops up and gives information about the calculations. If no errors are listed on the yellow window then exit out of it.&lt;br /&gt;
# Select “Save Descriptors.”&lt;br /&gt;
# Make sure “Constant Variables” &amp;amp;amp; “Near-Constant Variables” are selected “x.” Select “Pair Correlation” and pick .95 or something around that number.&lt;br /&gt;
# Press “Save” and save as “.txt” file.&lt;br /&gt;
# Leave Dragon open for future use.&lt;br /&gt;
# Find the file you saved and open with Notepad++. You can do this by finding the file and right clicking on the file. Select “Edit with Notepad++” to open it in Notepad++.&lt;br /&gt;
# In Notepad++, select all the information and copy onto an EXCEL worksheet. If desired you can delete the first 2 rows of the information on Notepad++. It is recommended to write the number of descriptors. This will help you later. It is listed in the 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; row, 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; column.&lt;br /&gt;
# Once all the information is saved onto Excel then exit out of the Notepad++ file.&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=HyperChem&amp;diff=119</id>
		<title>HyperChem</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=HyperChem&amp;diff=119"/>
		<updated>2022-09-26T21:01:43Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Revised formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
====== HyperChem ======&lt;br /&gt;
This section depends on the need for quantum descriptors such as HOMO, LUMO, and Total energy.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Open “HyperChem”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Open a file that has “.hin” extension&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “Setup” on the tool bar&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “Semi-empirical”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “RM1”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “OK&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “Compute” on the tool bar&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “Geometry Optimization”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;For regular work make sure “Polak –Ribiere (Conjugate gradiant)” is selected.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Have 0.1 in the top bar of RMS gradiant and in the bottom bar 600.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Have “In vacuo” selected&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;For the “Screen refresh period” use 1 for cycles.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Steps 78-81 should be default settings&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “OK”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Once the optimization has stopped (Numbers on the bottom right or left have stopped moving) then select “Compute”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “Properties”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;All the information in “Properties” can be used as quantum descriptors if needed&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;By Pressing “Details” you will get more information and these are also used as descriptors if needed.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Exit out of “Properties”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “Compute”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “Orbitals”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;the screen that pops up shows 2-4 different columns, the left being Alpha orbitals and the right being Beta orbitals. The pink/purple column is simply the orbitals above the HOMO-LUMO Gap, and the green is simply below the HOMO LUMO Gap&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Each line in these columns gives you the energy in “eV” for that orbital.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If you zoom into the bottom most line of the pink/purple column that is LUMO- Lowest unoccupied molecular orbital. If you select the bottom most line of the pink/purple column, it will give you a value in the “Energy” bar as “eV”. That is LUMO.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If you zoom into the top most line of the green column that is HOMO- Highest Occupied Molecular Orbital. If you select the top most like of the green column it will give you a value in the “Energy” bar as “eV”. That is HOMO&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;The difference of these energies is the HOMO-LUMO Gap.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If desired, you can simply “Plot” isosurfaces of the orbital that is selected by pressing the “Plot” button on the bottom left of the Orbitals panal.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “OK” when done with this screen.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;To get further Descriptors&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “Compute”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “ QSAR Properties” at the bottom&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;In this window you can select any of the properties that you desired to compute by simply selecting the property and press compute. The value will be shown at the bottom of the “QSAR Properties” window.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Scripts are also available to be written for Hyperchem if desired, you can do this via following Lesson 17 or 18 in this manual. &amp;lt;u&amp;gt;http://www.chemistry-software.com/pdf/Hyperchem_full_manual.pdf&amp;lt;/u&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If manual doesn’t show up just google “Hyperchem Manual”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If It says your Molecule has issues before Geometry optimization such as Valence error go to Select&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ul style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select All&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select again&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“Add H &amp;amp;amp; Model Build”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;This corrects the error&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Additionally, If molecules are large and “Semi-Empirical” geometry optimization takes too much time then molecular mechanics is needed&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;When doing the molecular mechanics it is necessary to make sure the atom “type” is corrected.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;To check if atom type is correct go to “Display”&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-roman;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“Labels”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“type”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If you see “**” on the atoms then hyperchem needs to recalculate the atoms to get C, H, O, and other atoms.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-roman;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Go to “setup”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“Molecular Mechanics”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “MM+”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Click on “Options”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press OK&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Click on “Components”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press OK&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Then press “OK” on the same window you selected “MM+”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;You should get a popup window saying the atom types are going to be recalculated&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “OK”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;This should change the “**” to letters such as C, H, O&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If it doesn’t initially then try going to labels and pressing “none.” Then repeat steps 114 a-b&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If that doesn’t work then select the semi-empirical. Once selected redo steps 114a-d&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Use RHF not UHF&amp;lt;br /&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=ChemSketchProcedure&amp;diff=118</id>
		<title>ChemSketchProcedure</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=ChemSketchProcedure&amp;diff=118"/>
		<updated>2022-09-26T21:00:48Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Revised formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
====== ChemSketch ======&lt;br /&gt;
Can convert SMILES to structure and structure to SMILES.&lt;br /&gt;
&lt;br /&gt;
# Open Chem Sketch and click out of the little popup windows by clicking the X on the top right of the small window.&lt;br /&gt;
# Draw the desired molecule in skeletal format.&lt;br /&gt;
# Once the desired molecule is drawn then go to “Tools” and click “Clean Structure.” This will make it easier for the other programs to read what you created.&lt;br /&gt;
# Next, go to “Tools” again and then “Generate.” You will have to generate the “Name of Structure,” “Smiles Notation,” and “InChi for Structure.”&lt;br /&gt;
# Open a blank document on Excel. For the molecule created copy and paste the three things you generated. These three things will help keep your data organized. You may not need to refer to all three of these again but it is best to have them ready on hand as a precaution. You will use the “Name of Structure” for naming the files. ** Make sure you assign a number to each molecule. If you have 10 molecules just assign them numbers 1-10. Once again this will help with organizing your data. Organization is a big thing in this work!&lt;br /&gt;
# After the three things you generated are on Excel and you assigned the molecule a number. Then delete the names off of chem sketch. Keep the structure and save it as an “MDL Molfiles (*.mol).” The file name can be whatever but it is preferred to follow this format. “Assigned # Name of Structure” Example… “33 2-ethenyl-5-nitrofuran.mol” The “.mol” should be automatically added once you select “MDL molfiles (*.mol).&lt;br /&gt;
# Exit Chem Sketch.&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Jupyterlab_anaconda&amp;diff=117</id>
		<title>Jupyterlab anaconda</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Jupyterlab_anaconda&amp;diff=117"/>
		<updated>2022-09-26T21:00:09Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Revised formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
Log into Jupyter Lab/Notebook you need to open “&#039;&#039;Anaconda prompt (anaconda3)”&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
It is necessary to open anaconda prompt first by searching in your desktop windows search bar&lt;br /&gt;
&lt;br /&gt;
It looks like a regular terminal&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;jupyter notebook&amp;lt;/code&amp;gt;&lt;br /&gt;
| Type this into the anaconda prompt/terminal and you should&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;jupyter notebook --notebook-dir D:/MachineLearningPythonBiodegradation&amp;lt;/code&amp;gt;&lt;br /&gt;
| 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.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;jupyter lab --notebook-dir D:/MachineLearningPythonBiodegradation&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| https://github.com/manuel-calzolari/sklearn-genetic&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;conda install -c conda-forge sklearn-genetic&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LinearRegression.html&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| https://docs.conda.io/projects/conda/en/latest/user-guide/install/linux.html&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;code&amp;gt;bash Anaconda-latest-Linux-x86_64.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;eval &amp;amp;quot;$(/gpfs1/home/meade.erickson/anaconda3/bin/conda shell.bash hook)&amp;amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
| Used this to get conda to work in my environment&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Using putty: &amp;lt;code&amp;gt;prime.ccast.ndsu.edu&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;ls -lisanh&amp;lt;/code&amp;gt;&lt;br /&gt;
| gives information on the files in whole directory&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;ls -lisanh filename&amp;lt;/code&amp;gt;&lt;br /&gt;
| gives information on the specific file&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;ls -lisan&amp;lt;/code&amp;gt;&lt;br /&gt;
| gives information on the files in whole directory&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;ls -lisan filename&amp;lt;/code&amp;gt;&lt;br /&gt;
| gives information on the specific file&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;babel –ixyz file.xyz –opdb file.pdb xyz to pdb&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
Using babel, converts the input file of .xyz to outputfile of .pdb&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=ChemDraw_Procedure&amp;diff=116</id>
		<title>ChemDraw Procedure</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=ChemDraw_Procedure&amp;diff=116"/>
		<updated>2022-09-26T20:56:16Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Revised formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
====== ChemDraw ======&lt;br /&gt;
can convert name of structure to a structure.&lt;br /&gt;
&lt;br /&gt;
# ChemDraw has a special feature that if given a name of a polymer, it will generate the monomer unit for you.&lt;br /&gt;
# Open ChemDraw Professional&lt;br /&gt;
# Go to “Structure”&lt;br /&gt;
# Select “Convert Name to Structure”&lt;br /&gt;
# Type in the name of the polymer without “poly” for example. “Polybutane” only type “butane.”&lt;br /&gt;
# It will give you a generalized version. This will assist in giving you the correct monomer unit or just generalized version.&lt;br /&gt;
# *** ONLY HAVE STURCTURE IN “*.MOL” FILE*** Delete the text after the model is generated because the text will cause issues later&lt;br /&gt;
# NEXT STEPS ARE FOR CREATION OF STRUCTURE AND NAME REGULAR WAY LIKE DRAWING&lt;br /&gt;
# Draw the desired molecule&lt;br /&gt;
# Select the model by pressing the logo near the top left of the screen [[File:ChemDraw_Procedure_HTML_c603a81bb8df177f.png|22x25px]]&lt;br /&gt;
# Once selected go to “Structure” and click “Clean up Structure.” This will make it easier for the other programs to read what you created.&lt;br /&gt;
# To generate the name of this structure go to “Structure” and press “Convert structure to name.”&lt;br /&gt;
# Open a blank document on Excel. For the molecule created copy and paste the name you generated. This will help keep your data organized.&lt;br /&gt;
# After the model is generated and the name is on Excel, assign a number to the molecule on excel. Then delete the names off of ChemDraw. Keep the structure and save it as an “MDL Molfiles (*.mol).” The file name can be whatever but it is preferred to follow this format. “Assigned # Name of Structure” Example… “33 2-ethenyl-5-nitrofuran.mol” The “.mol” should be automatically added once you select “MDL molfiles (*.mol).&lt;br /&gt;
# *** ONLY HAVE STURCTURE IN “*.MOL” FILE*** Delete the text after the model is generated because the text will cause issues later&lt;br /&gt;
# Exit Chem Draw.&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=Avogadro_Procedure&amp;diff=115</id>
		<title>Avogadro Procedure</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=Avogadro_Procedure&amp;diff=115"/>
		<updated>2022-09-26T20:55:38Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Revised formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
====== Avogadro ======&lt;br /&gt;
# After doing these steps for all the molecules you wanted to create then open the program Avogadro.&lt;br /&gt;
# Go to “File” and “Open” to bring a molecule you created in ChemSketch to Avogadro. Find your molecule that you want to bring to Avogadro and select it to open it. Click “Yes” when a small window pops up about 3D coordinates and a rough sketch.&lt;br /&gt;
# Once the molecule is on Avogadro then go to “Extensions” and select “Optimize geometry.”&lt;br /&gt;
# * There is another way to Optimize Geometry How do we do it again???&lt;br /&gt;
# Save the file as “Sybyl Mol2 (*.mol2)”&lt;br /&gt;
# Exit Avogadro.&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=BuildQsar_Procedure&amp;diff=114</id>
		<title>BuildQsar Procedure</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=BuildQsar_Procedure&amp;diff=114"/>
		<updated>2022-09-26T20:55:12Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Revised formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
====== BuildQSAR ======&lt;br /&gt;
# Open “BuildQSAR.”&lt;br /&gt;
# Go to “File” then “New.”&lt;br /&gt;
# Add a Title to “Dataset Title.”&lt;br /&gt;
# Change the number of “Compounds” to the amount in your data. Change the number of “Descriptors” you have. The number of descriptors was obtained from the Notepad++ information.&lt;br /&gt;
# Click “Ok.”&lt;br /&gt;
# Input observed data into the yellow column. The yellow column is for the observed information from other sources such as research papers.&lt;br /&gt;
# ** The observed data should be put into Excel at this point.&lt;br /&gt;
# Copy and paste the descriptor information from Excel into the blue cells of BuildQSAR.&lt;br /&gt;
# Go to “QSAR” then “Variable Selection” then “Systematic Search” or “Genetic Algorithm.” (note: Choose Genetic Algorithm only when you need 4, 5 or higher number of variables in the model).&lt;br /&gt;
# A small popup window will pop up. Make sure the 2 boxes under “Cross Validation” are checked. The correlation criteria can change but if uncertain on a number then put 0.6 as default.&lt;br /&gt;
# “Descriptors per Model,” this is usually calculated using the 5-1 rule. The 5-1 rule relates the number of molecules you have to the number “Variables AKA Descriptors” in your “Model oKA Equation.” Example: 5-1 rule is used on 24 molecules you should have 4 in the “Descriptors per model” section. ** DON’T ROUND UP **&lt;br /&gt;
# “No. of generations” can vary 200-500), but 200 is an okay default number to have.&lt;br /&gt;
# “Models per Generation” should be at least 3 (better to have between 5-10).&lt;br /&gt;
# Press “Run.”&lt;br /&gt;
# Double Click on any of the cells in the first row.&lt;br /&gt;
# A pop up window with a “Model aka equation” will pop up.&lt;br /&gt;
# Copy and paste the model and information in the “()” onto Excel.&lt;br /&gt;
# Close out of the window with the model information.&lt;br /&gt;
# Copy the model and () information from all three rows.&lt;br /&gt;
# These rows are the different models the BuildQSAR generated for you.&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=AutoDock&amp;diff=113</id>
		<title>AutoDock</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=AutoDock&amp;diff=113"/>
		<updated>2022-09-26T20:54:32Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Revised formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
by Kristen Patnode&lt;br /&gt;
&lt;br /&gt;
=== AutoDockTools Procedure ===&lt;br /&gt;
Updated 03/09/2020&lt;br /&gt;
&lt;br /&gt;
====== &#039;&#039;&#039;Protein Preparation&#039;&#039;&#039; ======&lt;br /&gt;
# &amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Once you’ve opened AutoDockTools, go to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;file&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; drop down and select “Read Molecule”&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
#* Then open your receptor/protein pdb file:&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_224e67a633bba335.png|561x274px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Go to the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;select &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;drop down &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;click on &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;set selection level&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; choose &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;atom&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_7950b6eb0106e110.png|572x323px]]&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&#039;&#039;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;OPTIONAL STEP:&amp;lt;/span&amp;gt;&#039;&#039;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Go to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Edit&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; drop down &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Delete&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Delete Selected Atoms&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;In this way you can remove any unnecessary or unwanted atoms from the file.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Add hydrogens to the structure if needed&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Go to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Edit&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; drop down &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Hydrogens &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Add&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; then in the pop up window, choose &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Polar Only&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;5&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;go to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Grid&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; drop down &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;macro molecule&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Choose&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; select your protein file in the pop up window.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_771dad82e05bc903.png|251x297px]] [[File:AutodDock_klpatnode_docking_instructions_030920_HTML_4f8e01f7de2be83.png|431x234px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;6&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Save the protein as a pdbqt file&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Go to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;file&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; drop down &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;save&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; Write PDBQT&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; [[File:AutodDock_klpatnode_docking_instructions_030920_HTML_e5fb90772da674ca.png|624x275px]]&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Choose a file name and location and then click &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_81cc39e642d996e5.png|490x367px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;7&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Create your grid box for where the ligand can dock&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Go to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Grid&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; drop down, &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Grid Box, &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;move box and adjust size as necessary.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_3ca196597d18df76.png|624x404px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;RECORD THE VALUES OF YOUR GRID BOX (size and center)&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; You will need to use these values in the command prompt portion of the process!!!&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== &amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Ligand Preparation&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ======&lt;br /&gt;
# &amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Go to the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Ligand&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; drop down &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Input&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;open&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; choose your ligand pdb file&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; [[File:AutodDock_klpatnode_docking_instructions_030920_HTML_352bd88d1295bdc7.png|428x336px]]&lt;br /&gt;
# &amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Again under the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Ligand &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;drop down &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Torsion Tree &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Choose Torsion&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; click on the bonds you want to make rotatable &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;done&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_4eee221b4b18f4f3.png|624x405px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;3&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Save ligand as a pdbqt file like you did for protein&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Ligand-&amp;gt; &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Output&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;-&amp;gt;&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;save as PDBQT&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_2a5defc5d7d31176.png|425x323px]]&lt;br /&gt;
&lt;br /&gt;
====== &#039;&#039;&#039;Docking&#039;&#039;&#039; ======&lt;br /&gt;
&#039;&#039;&#039;1&#039;&#039;&#039;. Rename the Scripps Research folder to: The_Scripps_Research_Institute&lt;br /&gt;
&lt;br /&gt;
*The underscores help since command prompt prefers not to have spaces&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2&#039;&#039;&#039;. on the first command line type the following with your respective/appropriate folder names and usernames.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd \Users\john.doe\documents\foldername\The_Scripps_Research_Institute&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;This is easiest if you copy and paste the route directly from file explorer (see image)&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_81e0c3f958a9e516.png|624x230px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.&#039;&#039;&#039; open the vina folder by typing the following with your respective/appropriate folder names and usernames.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd \Users\john.doe\documents\foldername\The-Scripps_Research_Institute\Vina&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;This is again easiest if you copy and paste the route directly from file explorer (see image)&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_1d3b8cbfe19a290e.png|624x207px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.&#039;&#039;&#039; Create a file in notepad in the following order&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_eae2b7da623781da.png|329x256px]]&lt;br /&gt;
&lt;br /&gt;
Where “####” are the numbers you get from your grid box dimensions completed above in the protein preparation.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;5.&#039;&#039;&#039; At this point your command prompt should have the vina folder open and look like the image below&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_b7378e520e2da49d.png|624x323px]]&lt;br /&gt;
&lt;br /&gt;
The next step is to open your notepad file. To do so, type the following in the command prompt:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;vina.exe --config notepadfilename.txt --log log.txt&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use whatever filename you saved the notepad file as. For my files I name them “conf_date” and put the date of the updated version to make it easier to keep track.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;*preceding “config” and the first “log” are two hyphens! *&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At the end of the script it should say “writing output … done.[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_9721fd503846c5a9.png|757x492px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;6.&#039;&#039;&#039; See the output file in your Vina folder as filename_out.pdbqt&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;Analysis of the Output&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Go to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;file&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Read Molecule&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; choose the output file that was generated from command prompt above. --_out.pdbqt &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;open&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_7072a865d8a291e8.png|432x171px]]&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_3360dd7a2abe320c.png|207x174px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Again go to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;file&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Read Molecule &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; choose your protein.pdbqt file &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;open&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_cb41f38d950f8697.png|624x288px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Go to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;display &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Interactions&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Set Molecule List&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;The first should be your ligand and second will be your protein file. &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&#039;&#039;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;See image below for reference&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_a0c441fe84dab521.png|624x329px]]&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_7b1b055b735d9cd0.png|624x399px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;You can then choose background color and adjust the colors of the protein and ligand as desired.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_4fe58df3a986ea39.png|624x464px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;To save the image go to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;file&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Save&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Save Image As &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; name the output file &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== &amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;PyMol Visualization&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ======&lt;br /&gt;
# &amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Open the protein structure (PDB format) first&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_3f87dda5a8014c27.png|593x316px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Open the AutoDock output file from command prompt calculations.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_485d60e792c19228.png|624x325px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;3&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;All&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; preset&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;ligand sites &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; cartoon&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_b3a221e8140627fd.png|624x326px]]&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;You should see something like this:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_d6baaed4a39c8b70.png|624x321px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;To measure distances between select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Wizard &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; measurement &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;then select the atom you want to start measuring from and then the atom you are measuring to.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_fa1f80a37b0ae3e7.png|624x355px]]&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;*when you are done measuring, hit &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;done &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;at the bottom right otherwise everything you click will create a measurement.*&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;5&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span id=&amp;quot;_gjdgxs&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;For additional visualization techniques, feel free to ask me (Kristen ) any questions. Otherwise, YouTube has a plethora of videos on this topic that are very helpful!&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=AutoDock&amp;diff=112</id>
		<title>AutoDock</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=AutoDock&amp;diff=112"/>
		<updated>2022-09-26T20:48:00Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Created page with &amp;quot;__TOC__  Kristen Patnode  AutoDockTools Procedure  Updated 03/09/2020  &amp;lt;u&amp;gt;&amp;#039;&amp;#039;&amp;#039;Protein Preparation&amp;#039;&amp;#039;&amp;#039;&amp;lt;/u&amp;gt;  # &amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Once you’ve opened AutoDockTools, go to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;span st...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
Kristen Patnode&lt;br /&gt;
&lt;br /&gt;
AutoDockTools Procedure&lt;br /&gt;
&lt;br /&gt;
Updated 03/09/2020&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;Protein Preparation&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Once you’ve opened AutoDockTools, go to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;file&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; drop down and select “Read Molecule”&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then open your receptor/protein pdb file&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_224e67a633bba335.png|561x274px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Go to the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;select &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;drop down &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;click on &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;set selection level&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; choose &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;atom&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; [[File:AutodDock_klpatnode_docking_instructions_030920_HTML_7950b6eb0106e110.png|572x323px]]&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&#039;&#039;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;OPTIONAL STEP&amp;lt;/span&amp;gt;&#039;&#039;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Go to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Edit&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; drop down &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Delete&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Delete Selected Atoms&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;In this way you can remove any unnecessary or unwanted atoms from the file.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Add hydrogens to the structure if needed&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Go to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Edit&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; drop down &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Hydrogens &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Add&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; then in the pop up window, choose &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Polar Only&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;5&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;go to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Grid&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; drop down &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;macro molecule&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Choose&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; select your protein file in the pop up window.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_771dad82e05bc903.png|251x297px]] [[File:AutodDock_klpatnode_docking_instructions_030920_HTML_4f8e01f7de2be83.png|431x234px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;6&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Save the protein as a pdbqt file&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Go to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;file&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; drop down &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;save&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; Write PDBQT&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; [[File:AutodDock_klpatnode_docking_instructions_030920_HTML_e5fb90772da674ca.png|624x275px]]&lt;br /&gt;
&lt;br /&gt;
Choose a file name and location and then click &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_81cc39e642d996e5.png|490x367px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;7&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Create your grid box for where the ligand can dock&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Go to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Grid&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; drop down &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Grid Box &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; move box and adjust size as necessary.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_3ca196597d18df76.png|624x404px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&#039;&#039;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;RECORD THE VALUES OF YOUR GRID BOX (size and center)&amp;lt;/span&amp;gt;&#039;&#039;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&#039;&#039;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; You will need to use these values in the command prompt portion of the process!!!&amp;lt;/span&amp;gt;&#039;&#039;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Ligand Preparation&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Go to the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Ligand&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; drop down &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Input&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;open&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; choose your ligand pdb file&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; [[File:AutodDock_klpatnode_docking_instructions_030920_HTML_352bd88d1295bdc7.png|428x336px]]&lt;br /&gt;
# &amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Again under the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Ligand &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;drop down &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Torsion Tree &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Choose Torsion&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; click on the bonds you want to make rotatable &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;done&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_4eee221b4b18f4f3.png|624x405px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;3&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Save ligand as a pdbqt file like you did for protein&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Ligand &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Output&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;save as PDBQT&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_2a5defc5d7d31176.png|425x323px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;Docking&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1&#039;&#039;&#039;. Rename the Scripps Research folder to:&lt;br /&gt;
&lt;br /&gt;
The_Scripps_Research_Institute&lt;br /&gt;
&lt;br /&gt;
*The underscores help since command prompt prefers not to have spaces&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2&#039;&#039;&#039;. on the first command line type the following with your respective/appropriate folder names and usernames.&lt;br /&gt;
&lt;br /&gt;
cd \Users\john.doe\documents\foldername\The_Scripps_Research_Institute&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;This is easiest if you copy and paste the route directly from file explorer (see image)&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_81e0c3f958a9e516.png|624x230px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.&#039;&#039;&#039; open the vina folder by typing the following with your respective/appropriate folder names and usernames.&lt;br /&gt;
&lt;br /&gt;
cd \Users\john.doe\documents\foldername\The-Scripps_Research_Institute\Vina&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;This is again easiest if you copy and paste the route directly from file explorer (see image)&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_1d3b8cbfe19a290e.png|624x207px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4.&#039;&#039;&#039; Create a file in notepad in the following order&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_eae2b7da623781da.png|329x256px]]&lt;br /&gt;
&lt;br /&gt;
Where “####” are the numbers you get from your grid box dimensions completed above in the protein preparation.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;5.&#039;&#039;&#039; At this point your command prompt should have the vina folder open and look like the image below&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_b7378e520e2da49d.png|624x323px]]&lt;br /&gt;
&lt;br /&gt;
The next step is to open your notepad file. To do so, type the following in the command prompt:&lt;br /&gt;
&lt;br /&gt;
vina.exe --config notepadfilename.txt --log log.txt&lt;br /&gt;
&lt;br /&gt;
Use whatever filename you saved the notepad file as. For my files I name them “conf_date” and put the date of the updated version to make it easier to keep track.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;*preceding “config” and the first “log” are two hyphens! *&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At the end of the script it should say “writing output … done.[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_9721fd503846c5a9.png|757x492px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;6.&#039;&#039;&#039; See the output file in your Vina folder as filename_out.pdbqt&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;&#039;&#039;&#039;Analysis of the Output&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Go to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;file&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Read Molecule&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; choose the output file that was generated from command prompt above. --_out.pdbqt &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;open&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_7072a865d8a291e8.png|432x171px]]&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_3360dd7a2abe320c.png|207x174px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Again go to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;file&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Read Molecule &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; choose your protein.pdbqt file &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;open&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_cb41f38d950f8697.png|624x288px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Go to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;display &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Interactions&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Set Molecule List&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;The first should be your ligand and second will be your protein file. &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&#039;&#039;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;See image below for reference&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_a0c441fe84dab521.png|624x329px]]&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_7b1b055b735d9cd0.png|624x399px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;You can then choose background color and adjust the colors of the protein and ligand as desired.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_4fe58df3a986ea39.png|624x464px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;To save the image go to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;file&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Save&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Save Image As &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; name the output file &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;OK&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;PyMol Visualization&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Open the protein structure (PDB format) first&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_3f87dda5a8014c27.png|593x316px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Open the AutoDock output file from command prompt calculations.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_485d60e792c19228.png|624x325px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;3&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;All&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; preset&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;ligand sites &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; cartoon&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_b3a221e8140627fd.png|624x326px]]&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;You should see something like this:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_d6baaed4a39c8b70.png|624x321px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; &amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;To measure distances between select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;Wizard &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;🡪&amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt; measurement &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;then select the atom you want to start measuring from and then the atom you are measuring to.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;[[File:AutodDock_klpatnode_docking_instructions_030920_HTML_fa1f80a37b0ae3e7.png|624x355px]]&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;*when you are done measuring, hit &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;done &amp;lt;/span&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;at the bottom right otherwise everything you click will create a measurement.*&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;5&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span id=&amp;quot;_gjdgxs&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;font-variant: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: none&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-style: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: normal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;background: transparent&amp;quot;&amp;gt;For additional visualization techniques, feel free to ask me (Kristen ) any questions. Otherwise, YouTube has a plethora of videos on this topic that are very helpful!&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=ADF_ReaxFF&amp;diff=111</id>
		<title>ADF ReaxFF</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=ADF_ReaxFF&amp;diff=111"/>
		<updated>2022-09-26T20:46:48Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Revised formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
How to ADF&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;dos2unix &#039;&#039;filename&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;chmod 750 &#039;&#039;filename&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;thunder.ccast.ndsu.edu&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Generating a system in ADF ======&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Locate the ADF application on the desktop.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If it says “ADFjobs” follow steps 3-5, if it says “ADF” skip to step 6&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Click on the icon “ADFjobs” on the desktop to open ADF&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Click on “SCM” in the upper left corner&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Under “SCM” click “New Input”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Click on the yellow “ADF” button.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;From the drop-down menu, click “ReaxFF”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Next to “Force field:” click the folder icon to open a force field file.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;For example, a commonly used force field is “CHON2017_weak.ff”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Change the number of iterations, time steps, temperature and others depending on your reaction system.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;For density convergence simulations it is common to use 100,000+ iterations.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-roman;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;For density convergence simulations, next to “Method:” click on the drop-down menu and select “NPT Berendsen.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Also, set the pressure to 0.101 MPa.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;For other simulations, 40,000 iterations are usually enough.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Everything can be changed by clicking on the tabs such as “ADF”, “Main,” “Model,” “Properties,” “Details,” “MultiLevel”&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;You just must know what your changing and why by reading what others have done via papers&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;For adding molecules, click “Edit” in the top left corner.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Builder&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;In Builder you can change the dimensions of the volume you are using for your experiment by changing the values under the table, “Lattice vectors.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Under “Molecules” you can add copies of different molecules.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Set the number of molecules you would like to add by changing to number next to “Fill box with:”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;You can select which molecules to add by typing the name into the bar next to “copies of:” or you can click on the folder icon to open an XYZ file of a molecule saved on the computer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;While setting the dimensions, check on the density of the system on the bottom left of the builder menu. The density should remain &amp;amp;lt;1.5 g/mL. If the density is too high, ADF will not fill the box with all the molecules. Occasionally ADF has difficulties filling the box with all the molecules if the molecules are particularly large.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Review and save your file.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Submitting a job using CCAST ======&lt;br /&gt;
&lt;br /&gt;
# To run your job with CCAST you will need to use WinSCP and PuTTY or SSH Secure File Transfer. For using WinSCP and PuTTY, follow steps 18 to 38. For using SSH Secure File transfer, skip to step 39.&lt;br /&gt;
# Before you can submit your job using PuTTY you must move your files to WinSCP. To start, open WinSCP from the desktop or by searching for the application. Once the window has opened, enter “thunder.ccast.ndsu.edu” into the “Host Name” bar.&lt;br /&gt;
# Enter your username and password for CCAST into the applicable blanks.&lt;br /&gt;
# Now, we must import the files into the directory we will be using to run the job. We will be running jobs from /gpfs1/scratch/firstname.lastname&lt;br /&gt;
# Navigate to your folder in WinSCP and copy your files into the folder that has your name. It may be wise to create various folders in your name to organize your files. Once you have pasted your files they are in correct area to be used by PuTTY.&lt;br /&gt;
# For using PuTTY, open the application from the desktop or by searching the application in the search bar.&lt;br /&gt;
# When you open PuTTY enter “thunder.ccast.ndsu.edu” into the “Host Name” bar.&lt;br /&gt;
# Once the command window has opened, enter your login username and password for CCAST.&lt;br /&gt;
# To connect to the Scratch directory to find your files type “cd $SCRATCH” the space is important.&lt;br /&gt;
# You can type the command “ls” to see what files are in your current directory.&lt;br /&gt;
# Use the command “cd filename” to open the targeted file. Tip: instead of manually typing the file name you can double click on the name to highlight it and then hit the shift and insert keys at the same time to paste the file name into the command line.&lt;br /&gt;
# Continue using the commands “ls” and “cd filename” to navigate to the folder containing your files of interest. If you wish to go back one directory use the command “cd ..”&lt;br /&gt;
# Once you have located your files you must enter several commands to convert your files into a format that CCAST can understand. The first command is “dos2unix filename”. For running ReaxFF calculations the completed command will be “dos2unix Epoxyamine.run”.&lt;br /&gt;
# The next command to type is “chmod 750 filename”. In our case it will be “chmod 750 Epoxyamine.run”&lt;br /&gt;
# To check if the file has been converted correctly type “ls”. If the file is converted the name should be in green.&lt;br /&gt;
# If the file is not green, check your syntax. If the file is green, submit the job by typing “qsub filename”. In our case, type “qsub Reaxff_exl.pbs”. Remember the shift+insert shortcut to save time.&lt;br /&gt;
# To check if the file is running, enter the command “qstat -u firstname.lastname”. A table should popup that will tell you many things, among which are the status of the job and the run time. Under the “S” column there can be several different letters. “R” means running and “E” means error for example. Under the “Elap Time” column you can see the time the job has been running.&lt;br /&gt;
# To check on what is exactly occurring while the job is running, in WinSCP if you navigate to the same directory the file is being ran from. Then, click the refresh button (the icon is two green arrows pointed in a circle). This will refresh the directory and show the files being created.&lt;br /&gt;
# The file “summary.txt” is a useful file to see how the job is running. Open the file to see the current status and values of your file.&lt;br /&gt;
# The file “molfra.out” allows you to see the current species present in your simulation.&lt;br /&gt;
# To check if the job is finished you can open the file “summary.txt” and look at the left most column, “Iteration”. When you scroll down to the bottom of the page and that number matches the number of iterations you specified when you are creating the file the job is done.&lt;br /&gt;
# Copy the file “reaxout.kf” to a folder on the computer to start the data analysis.&lt;br /&gt;
&lt;br /&gt;
====== Older stuff from Meade ======&lt;br /&gt;
&lt;br /&gt;
# Open SSH Secure File transfer&lt;br /&gt;
## Log on and open a File Transfer Window&lt;br /&gt;
# In ADF Save file in newfolder because they only get generated this will get ADF and pid and run files&lt;br /&gt;
# Transfer from desktop to ccast. Use by dragging into file ccast&lt;br /&gt;
# Go to terminal got to folder&lt;br /&gt;
# dos2unix filename.run&lt;br /&gt;
# chmod 750 filename.run&lt;br /&gt;
# qsub filename.pbs&lt;br /&gt;
# the reaxout.kf file is the thing we want&lt;br /&gt;
# in adf go to scm and kf browser&lt;br /&gt;
# file open the kf&lt;br /&gt;
# go to scm movies and then properties&lt;br /&gt;
# qstat -u meade.erickson&lt;br /&gt;
# ls -sh&lt;br /&gt;
# for troubleshooting use dos2unix on the pbs file and run files again. l sometimes it works.&lt;br /&gt;
&lt;br /&gt;
====== Data analysis in ADF ======&lt;br /&gt;
# Once you have downloaded saved the reaxout.kf file you can start using ADF for analysis.&lt;br /&gt;
# Open the icon “ADFjobs” and click on “SCM” in the upper left area.&lt;br /&gt;
# Under “SCM” click on “KFBrowser”.&lt;br /&gt;
# Once the new window has opened, click “File” then “Open…”.&lt;br /&gt;
# Search through your files until you find the folder with your reaxout.kf file in it. The file may not be visible at first. In the bottom right corner of the window click on the drop down bar that says “Any known file type (*.t21;rkf;” Then, select “All files (*.*)” Your reaxout.kf file should now appear if it wasn’t already. Open the file.&lt;br /&gt;
# Once the file has loaded in to the KFBrowser, click on “SCM” then click “Movie”.&lt;br /&gt;
# Once this window pops up you have many things you can now investigate. Under the “Properties” tab you can find many aspects of the simulation to investigate.&lt;br /&gt;
# One of the most important properties of the system is the “Molecule Fractions”. Click on this property to see any additional molecules that have formed.&lt;br /&gt;
# To see a graph of a certain molecules over time, click on the left most box under the graph column. To save the data from a graph that is displayed click on “Graph” then “Save As XY”&lt;br /&gt;
# Play around with other properties to figure out other aspects of the system as needed.&lt;br /&gt;
&lt;br /&gt;
====== Using CCAST and Python Scripts to Submit Bond Boosting Jobs ======&lt;br /&gt;
# To start, you must download the package from the ADF website. Go to this link &amp;lt;u&amp;gt;https://www.scm.com/doc/Tutorials/Advanced/ReaxFF_polymers_bond_boost.html&amp;lt;/u&amp;gt;&lt;br /&gt;
#* About 2/3 down the page look for where it says “&amp;lt;span style=&amp;quot;background: #ffffff&amp;quot;&amp;gt;Download the workflow package from &amp;lt;/span&amp;gt;&amp;lt;u&amp;gt;[https://downloads.scm.com/distr/EPOXY-POLYMERIZATION.zip &amp;lt;span style=&amp;quot;background: #ffffff&amp;quot;&amp;gt;here&amp;lt;/span&amp;gt;]&amp;lt;/u&amp;gt;” Download the package as a .zip file. (If you right-click and select open hyperlink on “&amp;lt;u&amp;gt;[https://downloads.scm.com/distr/EPOXY-POLYMERIZATION.zip &amp;lt;span style=&amp;quot;background: #ffffff&amp;quot;&amp;gt;here&amp;lt;/span&amp;gt;]&amp;lt;/u&amp;gt;” in this article it might actually download it for you).&lt;br /&gt;
&amp;lt;span id=&amp;quot;_Hlk43277817&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;ol start=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Once it has downloaded you must extract the packages. Right click on the downloaded file, “EPOXY-POLYMERIZATION.zip”, and click “Extract all…” Select a destination and save it.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Now, move the unzipped folder to your WinSCP scratch folder.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Now we are ready for an example for how to run the program.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Navigate through your scratch folder using the commands “cd” and “ls” until you get to get to the “resins-hardeners” folder inside “EPOXY-POLYMERIZATION”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Copy and paste the file “pack-box.py” from the scripts folder into the “resins-hardeners” folder.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Once you are inside that folder type the command “python pack-box.py resin hardener ratio dimension”&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;For your individual command replace “resin” and “hardener” with your compounds you are using.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Replace “ratio” with a number for your ratio between the resin and hardener.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Replace “dimension” with a number for how large you want the box to be. The box is a cube with sides 15 Angstroms*dimension long.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;An example for that command is “python pack-box.py BisF.bgf DETDA.bgf 2 1”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;After the command has been executed, 2 new files should be formed in the “resins-hardeners” folder.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Copy and paste those files into the “orig” directory inside “EPOXY-POLYMERIZATION”.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Once pasted, remove the suffix “.bgf” from one of the files.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Copy and paste to file “bond-boost.py” from the “scripts” folder into the “EPOXY-POLYMERIZATION” folder.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Locate the file “python_job.pbs” and copy and paste the file into the “EPOXY-POLYMERIZATION” folder as well.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Now, open the “bond-boost.py” file and change the file names under “initial_geometries”&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Change the name of the files after “orig/” to match the name of the files created.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Now, connect to the main “EPOXY-POLYMERIZATION” folder and type the command “qsub python_jobs.pbs”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;This command will create a working directory where new files will be generated.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;To check the status, open the folder “plams_workdirXXX” and open the log files.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;When it is done, the last line will say “Goodbye”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;The program will create many folders and files in the working directory. Many .kf will be created and each one can be analyzed to show a different step in the process.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=OpenBabelGUI&amp;diff=110</id>
		<title>OpenBabelGUI</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=OpenBabelGUI&amp;diff=110"/>
		<updated>2022-09-26T20:43:45Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Revised formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
This section depends on conversion of one file type to another if needed. Usually this is done to get HOMO LUMO (Extra descriptors) from Hyperchem (another 3D software) which has file types of “*.hin” Also, this is used to convert file type to smiles notation if needed. In this example we are converting “*.mol” files to Smiles format notation and “*.hin” format. “*.hin” is for HyperChem.&amp;lt;br /&amp;gt;&lt;br /&gt;
# Open “Open Babel GUI”&lt;br /&gt;
# On the top left of the window that opens chose the file type that you have. For example “mol—MDL MOL format is a common file extension.”&lt;br /&gt;
# Once chosen you can select the way you want the data read in OpenBabel. In this example the “Use this format for all input files (ignore file extensions)” will be checked.&lt;br /&gt;
# Clicking on the left side “…” box you can choose the file you would like converted.&lt;br /&gt;
# Once the file was chosen it should be in the bar to the left of the “…” box&lt;br /&gt;
# Under the very top right comment of “OUTPUT FORMAT” chose what you would like converted to. In this example chose “smiles - - SMILES format”&lt;br /&gt;
# Check “Add Hydrogens (make explicit) in the middle column&lt;br /&gt;
# Check “Generate 3D coordinates” in the middle column&lt;br /&gt;
# Simply press convert and the data you want should be listed in the right column.&lt;br /&gt;
# Copy the Smiles notation and save it onto another file such as excel or notepad. This is one example of what a smiles notation looks like “OC(F)(F)[C@H](F)C(F)(F)F”&lt;br /&gt;
# The same step as 62 can be used to create the “*.hin” format notation. This is done by choosing “hin - - HyperChem HIN format” under OUTPUT FORMAT.&lt;br /&gt;
# Make sure “Output below only (no output file)” and “Display in firefox” are NOT checked. These are on the right side column or AKA output column.&lt;br /&gt;
# Before pressing Convert you need to specify an output file and location. A good idea is to name it exactly the same as the input fil except change the “.mol” ending file to “.hin” (THE “.hin” NEEDS TO BE INCLUDED IN THE OUTPUT FILE)&lt;br /&gt;
# Press convert&lt;br /&gt;
# The output file should be in the location with the name specified.&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=QSARINS_Procedure&amp;diff=109</id>
		<title>QSARINS Procedure</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=QSARINS_Procedure&amp;diff=109"/>
		<updated>2022-09-26T20:42:59Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Revised formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
8/13/20 by Marvellous Ngongang&lt;br /&gt;
&lt;br /&gt;
# Locate the QSARINS (QI) application on the desktop.&lt;br /&gt;
# Click on the QSARINS screen to proceed.&lt;br /&gt;
# To import data, select the icon “file” and click on import data.&lt;br /&gt;
# Select the file you want to import.&lt;br /&gt;
# If necessary, you can select the “exclude if constant” option or the “exclude if correlational.” If neither are necessary, then proceed to click on the icon “import.”&lt;br /&gt;
# Click on the icon “Analysis.” Then, click on “Data Setup.”&lt;br /&gt;
# Data setup&lt;br /&gt;
## Under variable setup i. Click on the first cell under the status column then select the icon “Select response.”&lt;br /&gt;
## Click on the second cell under status column. While holding down the shift button, then scroll down to the last cell and click on it while holding down.&lt;br /&gt;
## If necessary, select the “normalize var.&amp;quot;&lt;br /&gt;
# Under Splitting setup, click on the “Training comp.” drop down and select number 4.&lt;br /&gt;
# Click on the “Prediction comp.” drop down and select number 1&lt;br /&gt;
## Select “ok.”&lt;br /&gt;
# Click on the icon “Analysis.” Then, click on “Variable selection and models calculation.”&lt;br /&gt;
# Select the “GA until” box and proceed with the standard numbers imputed. Then, select “Calculate.”&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Click on the icon “View and select model” located to the left of “PBT Index.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“View and select model”&amp;lt;/p&amp;gt;&lt;br /&gt;
# &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Right click on the maroon colored cell and click on “Select all models”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Right click on the screen then click on “External model validation”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Right click on the screen then click on “Internal model validation”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “LMO,” “Y-scramble,” “Rand. Desc.,” and “Rand. Resp.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Proceed with the standard numbers imputed. Then, select “Validate.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Click on the icon “View selected model” below the “Sorted by” drop down.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Click on the icon “View experimental endpoint vs. Predicted by model equation” located to the right of the save button.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Click on the icon “ View Williams plot-Predictions by model equation.”&amp;lt;/p&amp;gt;&lt;br /&gt;
# &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Change the Std. Dev. to 3.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Click on the icon “Y scramble.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select the “X min,” “X max,” “Y min,” and “Y, max” box. Change the “Y min” number to 0.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=WEKA_Steps_for_Loading_Data&amp;diff=108</id>
		<title>WEKA Steps for Loading Data</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=WEKA_Steps_for_Loading_Data&amp;diff=108"/>
		<updated>2022-09-26T20:39:18Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Revised formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
====== Steps for Loading Data into WEKA ======&lt;br /&gt;
ARFF format consists of three parts: &#039;&#039;&#039;@RELATION&#039;&#039;&#039;, &#039;&#039;&#039;@ATTRIBUTE&#039;&#039;&#039; and &#039;&#039;&#039;@DATA&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
* @RELATION name&lt;br /&gt;
* @ATTRIBUTE  descriptor_name data_type (numeric, nominal …)&lt;br /&gt;
* @DATA: numbers (integer or real) or strings&amp;lt;span id=&amp;quot;_GoBack&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;General rules for ARFF file can be found here: https://www.cs.waikato.ac.nz/ml/weka/arff.html&lt;br /&gt;
&lt;br /&gt;
====== In Excel: ======&lt;br /&gt;
* File 1: the format in this file is three columns for: “&#039;&#039;&#039;@ATTRIBUTE&#039;&#039;&#039;”, the descriptors’ names, and “&#039;&#039;&#039;NUMERIC&#039;&#039;&#039;”&lt;br /&gt;
** Open the txt data file in Excel. Make sure you are searching from “All Files”.&lt;br /&gt;
&lt;br /&gt;
[[File:WEKA_Steps_for_Loading_Data_HTML_4ec5c9075dd9cb51.png|512x288px]] [[File:WEKA_Steps_for_Loading_Data_HTML_ae35e05dbfaa6f7c.gif|31x38px|Shape1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 1, Opening your data file&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* When &#039;&#039;&#039;Text Import Wizard&#039;&#039;&#039; prompts, choose &#039;&#039;&#039;Delimited and&#039;&#039;&#039; click on &#039;&#039;&#039;Next&#039;&#039;&#039; (&#039;&#039;&#039;step 1&#039;&#039;&#039;), check the &#039;&#039;&#039;Tab&#039;&#039;&#039; box (&#039;&#039;&#039;step 2&#039;&#039;&#039;) and click on &#039;&#039;&#039;Finish&#039;&#039;&#039;. (Leave the rest as default unless it is necessary to change.)&lt;br /&gt;
&lt;br /&gt;
[[File:WEKA_Steps_for_Loading_Data_HTML_d288ed8722be4fdc.png|393x300px]] [[File:WEKA_Steps_for_Loading_Data_HTML_369e56d90bf80141.gif|32x31px|Shape3]] [[File:WEKA_Steps_for_Loading_Data_HTML_bef7f76831abec8b.gif|14x32px|Shape2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2, Step 1&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:WEKA_Steps_for_Loading_Data_HTML_cd41ce313e7118b1.png|379x288px]] [[File:WEKA_Steps_for_Loading_Data_HTML_859149fac76acd64.gif|30x19px|Shape5]] [[File:WEKA_Steps_for_Loading_Data_HTML_6092b35113c6658c.gif|19x33px|Shape4]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3, Step 2&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Create three blank columns.&lt;br /&gt;
* Copy the descriptors’ names (they are at the first row of your data file, normally) and paste them in the vertical form by using &#039;&#039;&#039;“Transpose”&#039;&#039;&#039; pasting option &#039;&#039;&#039;to the second column&#039;&#039;&#039;.&lt;br /&gt;
* Make sure the &#039;&#039;&#039;cell format&#039;&#039;&#039; is &#039;&#039;&#039;Text&#039;&#039;&#039; before the next step.&lt;br /&gt;
&lt;br /&gt;
[[File:WEKA_Steps_for_Loading_Data_HTML_5e70e797a5c2cba0.png|313x156px]] [[File:WEKA_Steps_for_Loading_Data_HTML_634c3e41e8a46d53.gif|59x34px|Shape6]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 4, Cell format&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* For the first and third columns: make equal number of rows as the second column has for “@ATTRIBUTE” and “NUMERIC”, respectively.&lt;br /&gt;
* Example:&lt;br /&gt;
&lt;br /&gt;
[[File:WEKA_Steps_for_Loading_Data_HTML_e8fa2497f6fc4487.png|198x337px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 5, the three columns&#039;&#039;&lt;br /&gt;
* File 2: Here we separate the @DATA part (only numbers) of data.&lt;br /&gt;
** Keep only the numbers needed and delete everything else.&lt;br /&gt;
** Save it in &#039;&#039;&#039;CSV (comma delimited)&#039;&#039;&#039; format. (&#039;&#039;&#039;Click YES&#039;&#039;&#039; when asks “Some features in your workbook … Do you want to keep using that format?”)&lt;br /&gt;
&lt;br /&gt;
[[File:WEKA_Steps_for_Loading_Data_HTML_d4bc2328d2c3083f.png|279x64px]] [[File:WEKA_Steps_for_Loading_Data_HTML_4fc01181394c3a93.gif|43x28px|Shape7]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 6, Save as CSV&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====== In Notepad++: ======&lt;br /&gt;
* File A:&lt;br /&gt;
** In the first row, create two columns: @RELATION and a title for the relation name (which are just separated by a space).&lt;br /&gt;
** &#039;&#039;(For aesthetics:&#039;&#039; leave the second row blank.)&lt;br /&gt;
** Copy the three columns in File 1 of Excel and paste into row3.&lt;br /&gt;
** Example:&lt;br /&gt;
&lt;br /&gt;
[[File:WEKA_Steps_for_Loading_Data_HTML_1f0af9e857ead597.png|247x204px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 7, start of the File A&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* File A (cont):&lt;br /&gt;
** Depending on your data, the last @ATTRIBUTE row will need to be the response variable AKA the thing you are trying to predict. (CATEGORICAL may require this, NUMERIC may not&lt;br /&gt;
** After all ATTRIBUTE information has been pasted leave 1 row blank &#039;&#039;(For aesthetics&#039;&#039;)&lt;br /&gt;
** After blank row Type “@DATA”.&lt;br /&gt;
** &#039;&#039;(For aesthetics:&#039;&#039; For the next row after “@DATA”, leave it blank.)&lt;br /&gt;
** Example:&lt;br /&gt;
&lt;br /&gt;
[[File:WEKA_Steps_for_Loading_Data_HTML_ca4125bd73bd6170.png|460x172px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 8, middle of File A&#039;&#039;&lt;br /&gt;
* File B:&lt;br /&gt;
** Open File 2 from Notepad++ (and you should see the data are separated by commas).&lt;br /&gt;
** Example:&lt;br /&gt;
[[File:WEKA_Steps_for_Loading_Data_HTML_964b046e1656a7f.png|555x225px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure &amp;lt;span style=&amp;quot;background: #c0c0c0&amp;quot;&amp;gt;9&amp;lt;/span&amp;gt;, File 2 open with NotePad++&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Copy and paste all the data to File A.&lt;br /&gt;
&lt;br /&gt;
* Already returned to File A:&lt;br /&gt;
** Save the file as “arff” format (by adding “.arff” at the end of the file name).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The file is ready to open and run in WEKA (yay).&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PS: (1) “%” would give you error if included in the descriptors’ names, specifically such as &#039;&#039;&#039;“%N” or “%O”&#039;&#039;&#039;, after “@ATTRIBUTE”. The error would occur because whatever after “%” is considered as comment, then in WEKA, it would be interpreted as a missing information for the descriptor name and data type. Simply remove “%” would avoid errors. (2)Also make sure the number of descriptors matches with the number of data in the “@DATA” section. (If you have 10 lines of @ATTRIBUTE + descriptors’ names, there should have 10 numbers in each line in @DATA part in the Notepad++.)&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=WorkShop_Avogadro_BuildQSAR_ChemSketch_Dragon5&amp;diff=107</id>
		<title>WorkShop Avogadro BuildQSAR ChemSketch Dragon5</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=WorkShop_Avogadro_BuildQSAR_ChemSketch_Dragon5&amp;diff=107"/>
		<updated>2022-09-26T20:32:59Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: /* Descriptor Information: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NDSU-KU Symposium QSAR Workshop&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Purpose&#039;&#039;&#039;: Using ChemSketch, Avogadro, Dragon5, and Build QSAR programs to generate structures, descriptors, and models.&lt;br /&gt;
&lt;br /&gt;
[[File:WorkShop_Avogadro_BuildQSAR_ChemSketch_Dragon5__HTML_19a26003ffd9c4c4.gif|578x431px]]&lt;br /&gt;
&lt;br /&gt;
[[File:WorkShop_Avogadro_BuildQSAR_ChemSketch_Dragon5__HTML_ce016f9083bf0bf2.png|308x329px]]&lt;br /&gt;
&lt;br /&gt;
====== &#039;&#039;&#039;1.&#039;&#039;&#039; &#039;&#039;&#039;ChemSketch&#039;&#039;&#039;: (Molecule Generation) ======&lt;br /&gt;
# Open ChemSketch and click out of the little popup windows by clicking the X on the top right of the small window.&lt;br /&gt;
# Next, go to “Tools” and then “Generate.” Select “Structure from SMILES.”&lt;br /&gt;
# Type in the SMILES Notation from above.&lt;br /&gt;
# Push “OK.”&lt;br /&gt;
# Left click where you want to make the molecule.&lt;br /&gt;
# Once the desired molecule is drawn then go to “Tools” and click “Clean Structure.” This will make it easier for the other programs to read what you created.&lt;br /&gt;
# Then go to “File” then “Save as” and choose the “KU WorkShop Practice” Folder on the DESKTOP.&lt;br /&gt;
# Save ChemSketch structure as “#.mol” where # is the number associated with the table above.&lt;br /&gt;
# Repeat steps to create the desired number of structures. Save them as individual *.mol Files.&lt;br /&gt;
# Exit ChemSketch.&lt;br /&gt;
&lt;br /&gt;
====== &#039;&#039;&#039;2. Avogadro&#039;&#039;&#039;: (Molecule Optimization) ======&lt;br /&gt;
# Open the program Avogadro.&lt;br /&gt;
# Go to “File” and “Open” to bring a molecule you created in ChemSketch to Avogadro. Find your molecule that you want to bring to Avogadro and select it to open it.&lt;br /&gt;
# A small window will pop up about 3D coordinates and a rough sketch. Click “Yes.”&lt;br /&gt;
# Once the molecule is on Avogadro then go to “Extensions” and select “Optimize geometry.”&lt;br /&gt;
# Then go to “File” then “Save as” and choose the “KU WorkShop Practice” Folder on the DESKTOP.&lt;br /&gt;
# Save the files as *.mol2 for all the individual molecules you created.&lt;br /&gt;
# Exit Avogadro.&lt;br /&gt;
&lt;br /&gt;
====== &#039;&#039;&#039;3. Dragon5&#039;&#039;&#039;: (Descriptor Generation &amp;amp;amp; Data Setup) ======&lt;br /&gt;
# Open “Dragon5.exe,” exit out of the small windows that pup up.&lt;br /&gt;
# Select “Calculate Descriptors” and then select all the “.mol2” files that you want to calculate. Use the ‘Ctrl’ button when selecting the files so all desired files can be selected.&lt;br /&gt;
# Press the green check mark “OK” when all desired files are selected.&lt;br /&gt;
# Choose the desired descriptors you want calculated for these molecule files. “X” means checked. Then press RUN.&lt;br /&gt;
# Press Continue when the small window pops up.&lt;br /&gt;
# A yellow window pops up and gives information about the calculations. If no errors are listed on the yellow window then exit out of it.&lt;br /&gt;
# Select “Save Descriptors.”&lt;br /&gt;
# Make sure “Constant Variables” &amp;amp;amp; “Near-Constant Variables” are selected “x.” Select “Pair Correlation” and pick .95 or something around that number.&lt;br /&gt;
# Press “Save” and save as “DESCRIPTORS.txt” file.&lt;br /&gt;
# Exit Dragon&lt;br /&gt;
# Find the “DESCRIPTOR.txt” file you saved and open with Notepad++. You can do this by finding the file and right clicking on the file. Select “Edit with Notepad++” to open it in Notepad++.&lt;br /&gt;
# ***VERY IMPORTANT Write the number of descriptors, the number is listed in 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; Row, 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; Column.&lt;br /&gt;
# Leave the DESCRIPTOR.txt file open&lt;br /&gt;
&lt;br /&gt;
====== &#039;&#039;&#039;4. BuildQSAR&#039;&#039;&#039;: (Model Development) ======&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Open “BuildQSAR.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Go to “File” then “New.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Add a Title to “Dataset Title.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Change the number of “Compounds” to the number of molecules you have created AND ADD 4. For example, if you have 10 molecules put in the number 14. Change the number of “Descriptors” to the number you got from the *.txt file AND ADD 2. So if you have 632 descriptors then type 634.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Click “Ok.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;From your DESCRIPTOR.txt file select all the information by pressing “Ctrl + A.” Copy the selected information by pressing “Ctrl + C”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;In buildQSAR select the top left BLUE square and paste the data by “right clicking” using the mouse and select “PASTE”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Delete the columns and rows that have words and incomplete information. Usually that is the first 4 rows. You can do this by left clicking One data point from those columns or rows then select “Dataset”, “Remove.” The Row is removed if you press “compound.” The Column is removed if you press “descriptor”.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;In the yellow (Y1) column input the data from the Table above which shows the Log(10)Toxicity&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Go to “QSAR” then “Variable Selection” then “Systematic Search” or “Genetic Algorithm.” (note: Choose Genetic Algorithm only when you need 4, 5 or higher number of variables in the model).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;A small popup window will pop up. Make sure the 2 boxes under “Cross Validation” are checked.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;The correlation criteria can change but if uncertain on a number then put 0.6 as default.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;For “Genetic Algorithm:”&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“Descriptors per Model,” this is usually calculated using the 5-1 rule. The 5-1 rule relates the number of molecules you have to the number “Variables AKA Descriptors” in your “Model oKA Equation.” Example: 5-1 rule is used on 24 molecules you should have 4 in the “Descriptors per model” section. ** DON’T ROUND UP **&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span id=&amp;quot;_GoBack&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; “No. of generations” can vary 200-500), but 200 is an okay to use as a default number.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“Models per Generation” should be at least 3 (better to have between 5-10).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “Run.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;When complete “Double Click” on any of the cells in the first row.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;That is your developed models.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Descriptor Information&#039;&#039;&#039;: ===&lt;br /&gt;
&lt;br /&gt;
# So each model (AKA equation) has a certain number of descriptors in it. In this example there are 3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;Y = -1.6198 (\pm 1.1586) X_{269} + 0.0110 (\pm 0.0016) X_{631} - 0.0336 (\pm 0.0094) X_{634} + 0.8483 (\pm 0.3386)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;To find the meaning of these descriptors go to your Excel file and above your descriptor data create a row that is listed from X1 to X####. X1 is above the first descriptor, usually MW. The #’s are the number of descriptors in one row.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;On Excel find the descriptors that are listed in the model. Find the abbreviation under the X value. Example X269 corresponded to the abbreviation “MATS3e”&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Once you have all the descriptor abbreviations then go back to Dragon.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Select “ Descriptor Search”&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Type an abbreviation you found from the Excel file.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Press “Search”&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;This will give the descriptor information.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;You can also click on this link to find what the abbreviation means&lt;br /&gt;
# &amp;lt;li&amp;gt;&amp;lt;u&amp;gt;http://www.talete.mi.it/products/dragon_molecular_descriptor_list.pdf&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=WorkShop_Avogadro_BuildQSAR_ChemSketch_Dragon5&amp;diff=106</id>
		<title>WorkShop Avogadro BuildQSAR ChemSketch Dragon5</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=WorkShop_Avogadro_BuildQSAR_ChemSketch_Dragon5&amp;diff=106"/>
		<updated>2022-09-26T20:32:39Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: /* Descriptor Information: math formula fix */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NDSU-KU Symposium QSAR Workshop&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Purpose&#039;&#039;&#039;: Using ChemSketch, Avogadro, Dragon5, and Build QSAR programs to generate structures, descriptors, and models.&lt;br /&gt;
&lt;br /&gt;
[[File:WorkShop_Avogadro_BuildQSAR_ChemSketch_Dragon5__HTML_19a26003ffd9c4c4.gif|578x431px]]&lt;br /&gt;
&lt;br /&gt;
[[File:WorkShop_Avogadro_BuildQSAR_ChemSketch_Dragon5__HTML_ce016f9083bf0bf2.png|308x329px]]&lt;br /&gt;
&lt;br /&gt;
====== &#039;&#039;&#039;1.&#039;&#039;&#039; &#039;&#039;&#039;ChemSketch&#039;&#039;&#039;: (Molecule Generation) ======&lt;br /&gt;
# Open ChemSketch and click out of the little popup windows by clicking the X on the top right of the small window.&lt;br /&gt;
# Next, go to “Tools” and then “Generate.” Select “Structure from SMILES.”&lt;br /&gt;
# Type in the SMILES Notation from above.&lt;br /&gt;
# Push “OK.”&lt;br /&gt;
# Left click where you want to make the molecule.&lt;br /&gt;
# Once the desired molecule is drawn then go to “Tools” and click “Clean Structure.” This will make it easier for the other programs to read what you created.&lt;br /&gt;
# Then go to “File” then “Save as” and choose the “KU WorkShop Practice” Folder on the DESKTOP.&lt;br /&gt;
# Save ChemSketch structure as “#.mol” where # is the number associated with the table above.&lt;br /&gt;
# Repeat steps to create the desired number of structures. Save them as individual *.mol Files.&lt;br /&gt;
# Exit ChemSketch.&lt;br /&gt;
&lt;br /&gt;
====== &#039;&#039;&#039;2. Avogadro&#039;&#039;&#039;: (Molecule Optimization) ======&lt;br /&gt;
# Open the program Avogadro.&lt;br /&gt;
# Go to “File” and “Open” to bring a molecule you created in ChemSketch to Avogadro. Find your molecule that you want to bring to Avogadro and select it to open it.&lt;br /&gt;
# A small window will pop up about 3D coordinates and a rough sketch. Click “Yes.”&lt;br /&gt;
# Once the molecule is on Avogadro then go to “Extensions” and select “Optimize geometry.”&lt;br /&gt;
# Then go to “File” then “Save as” and choose the “KU WorkShop Practice” Folder on the DESKTOP.&lt;br /&gt;
# Save the files as *.mol2 for all the individual molecules you created.&lt;br /&gt;
# Exit Avogadro.&lt;br /&gt;
&lt;br /&gt;
====== &#039;&#039;&#039;3. Dragon5&#039;&#039;&#039;: (Descriptor Generation &amp;amp;amp; Data Setup) ======&lt;br /&gt;
# Open “Dragon5.exe,” exit out of the small windows that pup up.&lt;br /&gt;
# Select “Calculate Descriptors” and then select all the “.mol2” files that you want to calculate. Use the ‘Ctrl’ button when selecting the files so all desired files can be selected.&lt;br /&gt;
# Press the green check mark “OK” when all desired files are selected.&lt;br /&gt;
# Choose the desired descriptors you want calculated for these molecule files. “X” means checked. Then press RUN.&lt;br /&gt;
# Press Continue when the small window pops up.&lt;br /&gt;
# A yellow window pops up and gives information about the calculations. If no errors are listed on the yellow window then exit out of it.&lt;br /&gt;
# Select “Save Descriptors.”&lt;br /&gt;
# Make sure “Constant Variables” &amp;amp;amp; “Near-Constant Variables” are selected “x.” Select “Pair Correlation” and pick .95 or something around that number.&lt;br /&gt;
# Press “Save” and save as “DESCRIPTORS.txt” file.&lt;br /&gt;
# Exit Dragon&lt;br /&gt;
# Find the “DESCRIPTOR.txt” file you saved and open with Notepad++. You can do this by finding the file and right clicking on the file. Select “Edit with Notepad++” to open it in Notepad++.&lt;br /&gt;
# ***VERY IMPORTANT Write the number of descriptors, the number is listed in 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; Row, 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; Column.&lt;br /&gt;
# Leave the DESCRIPTOR.txt file open&lt;br /&gt;
&lt;br /&gt;
====== &#039;&#039;&#039;4. BuildQSAR&#039;&#039;&#039;: (Model Development) ======&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Open “BuildQSAR.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Go to “File” then “New.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Add a Title to “Dataset Title.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Change the number of “Compounds” to the number of molecules you have created AND ADD 4. For example, if you have 10 molecules put in the number 14. Change the number of “Descriptors” to the number you got from the *.txt file AND ADD 2. So if you have 632 descriptors then type 634.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Click “Ok.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;From your DESCRIPTOR.txt file select all the information by pressing “Ctrl + A.” Copy the selected information by pressing “Ctrl + C”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;In buildQSAR select the top left BLUE square and paste the data by “right clicking” using the mouse and select “PASTE”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Delete the columns and rows that have words and incomplete information. Usually that is the first 4 rows. You can do this by left clicking One data point from those columns or rows then select “Dataset”, “Remove.” The Row is removed if you press “compound.” The Column is removed if you press “descriptor”.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;In the yellow (Y1) column input the data from the Table above which shows the Log(10)Toxicity&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Go to “QSAR” then “Variable Selection” then “Systematic Search” or “Genetic Algorithm.” (note: Choose Genetic Algorithm only when you need 4, 5 or higher number of variables in the model).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;A small popup window will pop up. Make sure the 2 boxes under “Cross Validation” are checked.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;The correlation criteria can change but if uncertain on a number then put 0.6 as default.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;For “Genetic Algorithm:”&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“Descriptors per Model,” this is usually calculated using the 5-1 rule. The 5-1 rule relates the number of molecules you have to the number “Variables AKA Descriptors” in your “Model oKA Equation.” Example: 5-1 rule is used on 24 molecules you should have 4 in the “Descriptors per model” section. ** DON’T ROUND UP **&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span id=&amp;quot;_GoBack&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; “No. of generations” can vary 200-500), but 200 is an okay to use as a default number.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“Models per Generation” should be at least 3 (better to have between 5-10).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “Run.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;When complete “Double Click” on any of the cells in the first row.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;That is your developed models.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Descriptor Information&#039;&#039;&#039;: ===&lt;br /&gt;
&lt;br /&gt;
# So each model (AKA equation) has a certain number of descriptors in it. In this example there are 3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;$$Y = -1.6198 (\pm 1.1586) X_{269} + 0.0110 (\pm 0.0016) X_{631} - 0.0336 (\pm 0.0094) X_{634} + 0.8483 (\pm 0.3386)$$&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;To find the meaning of these descriptors go to your Excel file and above your descriptor data create a row that is listed from X1 to X####. X1 is above the first descriptor, usually MW. The #’s are the number of descriptors in one row.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;On Excel find the descriptors that are listed in the model. Find the abbreviation under the X value. Example X269 corresponded to the abbreviation “MATS3e”&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Once you have all the descriptor abbreviations then go back to Dragon.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Select “ Descriptor Search”&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Type an abbreviation you found from the Excel file.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Press “Search”&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;This will give the descriptor information.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;You can also click on this link to find what the abbreviation means&lt;br /&gt;
# &amp;lt;li&amp;gt;&amp;lt;u&amp;gt;http://www.talete.mi.it/products/dragon_molecular_descriptor_list.pdf&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=WorkShop_Avogadro_BuildQSAR_ChemSketch_Dragon5&amp;diff=105</id>
		<title>WorkShop Avogadro BuildQSAR ChemSketch Dragon5</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=WorkShop_Avogadro_BuildQSAR_ChemSketch_Dragon5&amp;diff=105"/>
		<updated>2022-09-26T19:54:12Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: revising page for consistent formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NDSU-KU Symposium QSAR Workshop&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Purpose&#039;&#039;&#039;: Using ChemSketch, Avogadro, Dragon5, and Build QSAR programs to generate structures, descriptors, and models.&lt;br /&gt;
&lt;br /&gt;
[[File:WorkShop_Avogadro_BuildQSAR_ChemSketch_Dragon5__HTML_19a26003ffd9c4c4.gif|578x431px]]&lt;br /&gt;
&lt;br /&gt;
[[File:WorkShop_Avogadro_BuildQSAR_ChemSketch_Dragon5__HTML_ce016f9083bf0bf2.png|308x329px]]&lt;br /&gt;
&lt;br /&gt;
====== &#039;&#039;&#039;1.&#039;&#039;&#039; &#039;&#039;&#039;ChemSketch&#039;&#039;&#039;: (Molecule Generation) ======&lt;br /&gt;
# Open ChemSketch and click out of the little popup windows by clicking the X on the top right of the small window.&lt;br /&gt;
# Next, go to “Tools” and then “Generate.” Select “Structure from SMILES.”&lt;br /&gt;
# Type in the SMILES Notation from above.&lt;br /&gt;
# Push “OK.”&lt;br /&gt;
# Left click where you want to make the molecule.&lt;br /&gt;
# Once the desired molecule is drawn then go to “Tools” and click “Clean Structure.” This will make it easier for the other programs to read what you created.&lt;br /&gt;
# Then go to “File” then “Save as” and choose the “KU WorkShop Practice” Folder on the DESKTOP.&lt;br /&gt;
# Save ChemSketch structure as “#.mol” where # is the number associated with the table above.&lt;br /&gt;
# Repeat steps to create the desired number of structures. Save them as individual *.mol Files.&lt;br /&gt;
# Exit ChemSketch.&lt;br /&gt;
&lt;br /&gt;
====== &#039;&#039;&#039;2. Avogadro&#039;&#039;&#039;: (Molecule Optimization) ======&lt;br /&gt;
# Open the program Avogadro.&lt;br /&gt;
# Go to “File” and “Open” to bring a molecule you created in ChemSketch to Avogadro. Find your molecule that you want to bring to Avogadro and select it to open it.&lt;br /&gt;
# A small window will pop up about 3D coordinates and a rough sketch. Click “Yes.”&lt;br /&gt;
# Once the molecule is on Avogadro then go to “Extensions” and select “Optimize geometry.”&lt;br /&gt;
# Then go to “File” then “Save as” and choose the “KU WorkShop Practice” Folder on the DESKTOP.&lt;br /&gt;
# Save the files as *.mol2 for all the individual molecules you created.&lt;br /&gt;
# Exit Avogadro.&lt;br /&gt;
&lt;br /&gt;
====== &#039;&#039;&#039;3. Dragon5&#039;&#039;&#039;: (Descriptor Generation &amp;amp;amp; Data Setup) ======&lt;br /&gt;
# Open “Dragon5.exe,” exit out of the small windows that pup up.&lt;br /&gt;
# Select “Calculate Descriptors” and then select all the “.mol2” files that you want to calculate. Use the ‘Ctrl’ button when selecting the files so all desired files can be selected.&lt;br /&gt;
# Press the green check mark “OK” when all desired files are selected.&lt;br /&gt;
# Choose the desired descriptors you want calculated for these molecule files. “X” means checked. Then press RUN.&lt;br /&gt;
# Press Continue when the small window pops up.&lt;br /&gt;
# A yellow window pops up and gives information about the calculations. If no errors are listed on the yellow window then exit out of it.&lt;br /&gt;
# Select “Save Descriptors.”&lt;br /&gt;
# Make sure “Constant Variables” &amp;amp;amp; “Near-Constant Variables” are selected “x.” Select “Pair Correlation” and pick .95 or something around that number.&lt;br /&gt;
# Press “Save” and save as “DESCRIPTORS.txt” file.&lt;br /&gt;
# Exit Dragon&lt;br /&gt;
# Find the “DESCRIPTOR.txt” file you saved and open with Notepad++. You can do this by finding the file and right clicking on the file. Select “Edit with Notepad++” to open it in Notepad++.&lt;br /&gt;
# ***VERY IMPORTANT Write the number of descriptors, the number is listed in 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; Row, 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; Column.&lt;br /&gt;
# Leave the DESCRIPTOR.txt file open&lt;br /&gt;
&lt;br /&gt;
====== &#039;&#039;&#039;4. BuildQSAR&#039;&#039;&#039;: (Model Development) ======&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Open “BuildQSAR.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Go to “File” then “New.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Add a Title to “Dataset Title.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Change the number of “Compounds” to the number of molecules you have created AND ADD 4. For example, if you have 10 molecules put in the number 14. Change the number of “Descriptors” to the number you got from the *.txt file AND ADD 2. So if you have 632 descriptors then type 634.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Click “Ok.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;From your DESCRIPTOR.txt file select all the information by pressing “Ctrl + A.” Copy the selected information by pressing “Ctrl + C”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;In buildQSAR select the top left BLUE square and paste the data by “right clicking” using the mouse and select “PASTE”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Delete the columns and rows that have words and incomplete information. Usually that is the first 4 rows. You can do this by left clicking One data point from those columns or rows then select “Dataset”, “Remove.” The Row is removed if you press “compound.” The Column is removed if you press “descriptor”.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;In the yellow (Y1) column input the data from the Table above which shows the Log(10)Toxicity&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Go to “QSAR” then “Variable Selection” then “Systematic Search” or “Genetic Algorithm.” (note: Choose Genetic Algorithm only when you need 4, 5 or higher number of variables in the model).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;A small popup window will pop up. Make sure the 2 boxes under “Cross Validation” are checked.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;The correlation criteria can change but if uncertain on a number then put 0.6 as default.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;For “Genetic Algorithm:”&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“Descriptors per Model,” this is usually calculated using the 5-1 rule. The 5-1 rule relates the number of molecules you have to the number “Variables AKA Descriptors” in your “Model oKA Equation.” Example: 5-1 rule is used on 24 molecules you should have 4 in the “Descriptors per model” section. ** DON’T ROUND UP **&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span id=&amp;quot;_GoBack&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; “No. of generations” can vary 200-500), but 200 is an okay to use as a default number.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“Models per Generation” should be at least 3 (better to have between 5-10).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “Run.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;When complete “Double Click” on any of the cells in the first row.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;That is your developed models.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Descriptor Information&#039;&#039;&#039;: ===&lt;br /&gt;
&lt;br /&gt;
# So each model (AKA equation) has a certain number of descriptors in it. In this example there are 3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;Y = -1.6198 (\pm 1.1586) X_{269} + 0.0110 (\pm 0.0016) X_{631} - 0.0336 (\pm 0.0094) X_{634} + 0.8483 (\pm 0.3386})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;To find the meaning of these descriptors go to your Excel file and above your descriptor data create a row that is listed from X1 to X####. X1 is above the first descriptor, usually MW. The #’s are the number of descriptors in one row.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;On Excel find the descriptors that are listed in the model. Find the abbreviation under the X value. Example X269 corresponded to the abbreviation “MATS3e”&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Once you have all the descriptor abbreviations then go back to Dragon.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Select “ Descriptor Search”&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Type an abbreviation you found from the Excel file.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Press “Search”&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;This will give the descriptor information.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;You can also click on this link to find what the abbreviation means&lt;br /&gt;
# &amp;lt;li&amp;gt;&amp;lt;u&amp;gt;http://www.talete.mi.it/products/dragon_molecular_descriptor_list.pdf&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;/li&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=WorkShop_Avogadro_BuildQSAR_ChemSketch_Dragon5&amp;diff=104</id>
		<title>WorkShop Avogadro BuildQSAR ChemSketch Dragon5</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=WorkShop_Avogadro_BuildQSAR_ChemSketch_Dragon5&amp;diff=104"/>
		<updated>2022-09-26T19:21:34Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Imported from text file&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div title=&amp;quot;header&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;background: #c0c0c0&amp;quot;&amp;gt;4&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;NDSU-KU Symposium QSAR Workshop&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Purpose&#039;&#039;&#039;: Using ChemSketch, Avogadro, Dragon5, and Build QSAR programs to generate structures, descriptors, and models.&lt;br /&gt;
&lt;br /&gt;
[[File:WorkShop_Avogadro_BuildQSAR_ChemSketch_Dragon5__HTML_19a26003ffd9c4c4.gif|578x431px]]&lt;br /&gt;
&lt;br /&gt;
[[File:WorkShop_Avogadro_BuildQSAR_ChemSketch_Dragon5__HTML_ce016f9083bf0bf2.png|308x329px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ALL programs should be on the DESKTOP or you can search for it in the Windows Search Bar&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;ChemSketch&#039;&#039;&#039;: (Molecule Generation)&lt;br /&gt;
&lt;br /&gt;
# Open ChemSketch and click out of the little popup windows by clicking the X on the top right of the small window.&lt;br /&gt;
# Next, go to “Tools” and then “Generate.” Select “Structure from SMILES.”&lt;br /&gt;
# Type in the SMILES Notation from above.&lt;br /&gt;
# Push “OK.”&lt;br /&gt;
# Left click where you want to make the molecule.&lt;br /&gt;
# Once the desired molecule is drawn then go to “Tools” and click “Clean Structure.” This will make it easier for the other programs to read what you created.&lt;br /&gt;
# Then go to “File” then “Save as” and choose the “KU WorkShop Practice” Folder on the DESKTOP.&lt;br /&gt;
# Save ChemSketch structure as “#.mol” where # is the number associated with the table above.&lt;br /&gt;
# Repeat steps to create the desired number of structures. Save them as individual *.mol Files.&lt;br /&gt;
# Exit ChemSketch.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2. Avogadro&#039;&#039;&#039;: (Molecule Optimization)&lt;br /&gt;
&lt;br /&gt;
# Open the program Avogadro.&lt;br /&gt;
# Go to “File” and “Open” to bring a molecule you created in ChemSketch to Avogadro. Find your molecule that you want to bring to Avogadro and select it to open it.&lt;br /&gt;
# A small window will pop up about 3D coordinates and a rough sketch. Click “Yes.”&lt;br /&gt;
# Once the molecule is on Avogadro then go to “Extensions” and select “Optimize geometry.”&lt;br /&gt;
# Then go to “File” then “Save as” and choose the “KU WorkShop Practice” Folder on the DESKTOP.&lt;br /&gt;
# Save the files as *.mol2 for all the individual molecules you created.&lt;br /&gt;
# Exit Avogadro.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3. Dragon5&#039;&#039;&#039;: (Descriptor Generation &amp;amp;amp; Data Setup)&lt;br /&gt;
&lt;br /&gt;
# Open “Dragon5.exe,” exit out of the small windows that pup up.&lt;br /&gt;
# Select “Calculate Descriptors” and then select all the “.mol2” files that you want to calculate. Use the ‘Ctrl’ button when selecting the files so all desired files can be selected.&lt;br /&gt;
# Press the green check mark “OK” when all desired files are selected.&lt;br /&gt;
# Choose the desired descriptors you want calculated for these molecule files. “X” means checked. Then press RUN.&lt;br /&gt;
# Press Continue when the small window pops up.&lt;br /&gt;
# A yellow window pops up and gives information about the calculations. If no errors are listed on the yellow window then exit out of it.&lt;br /&gt;
# Select “Save Descriptors.”&lt;br /&gt;
# Make sure “Constant Variables” &amp;amp;amp; “Near-Constant Variables” are selected “x.” Select “Pair Correlation” and pick .95 or something around that number.&lt;br /&gt;
# Press “Save” and save as “DESCRIPTORS.txt” file.&lt;br /&gt;
# Exit Dragon&lt;br /&gt;
# Find the “DESCRIPTOR.txt” file you saved and open with Notepad++. You can do this by finding the file and right clicking on the file. Select “Edit with Notepad++” to open it in Notepad++.&lt;br /&gt;
# ***VERY IMPORTANT Write the number of descriptors, the number is listed in 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; Row, 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; Column.&lt;br /&gt;
# Leave the DESCRIPTOR.txt file open&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4. BuildQSAR&#039;&#039;&#039;: (Model Development)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Open “BuildQSAR.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Go to “File” then “New.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Add a Title to “Dataset Title.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Change the number of “Compounds” to the number of molecules you have created AND ADD 4. For example, if you have 10 molecules put in the number 14. Change the number of “Descriptors” to the number you got from the *.txt file AND ADD 2. So if you have 632 descriptors then type 634.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Click “Ok.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;From your DESCRIPTOR.txt file select all the information by pressing “Ctrl + A.” Copy the selected information by pressing “Ctrl + C”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;In buildQSAR select the top left BLUE square and paste the data by “right clicking” using the mouse and select “PASTE”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Delete the columns and rows that have words and incomplete information. Usually that is the first 4 rows. You can do this by left clicking One data point from those columns or rows then select “Dataset”, “Remove.” The Row is removed if you press “compound.” The Column is removed if you press “descriptor”.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;In the yellow (Y1) column input the data from the Table above which shows the Log(10)Toxicity&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Go to “QSAR” then “Variable Selection” then “Systematic Search” or “Genetic Algorithm.” (note: Choose Genetic Algorithm only when you need 4, 5 or higher number of variables in the model).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;A small popup window will pop up. Make sure the 2 boxes under “Cross Validation” are checked.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;The correlation criteria can change but if uncertain on a number then put 0.6 as default.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;For “Genetic Algorithm:”&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“Descriptors per Model,” this is usually calculated using the 5-1 rule. The 5-1 rule relates the number of molecules you have to the number “Variables AKA Descriptors” in your “Model oKA Equation.” Example: 5-1 rule is used on 24 molecules you should have 4 in the “Descriptors per model” section. ** DON’T ROUND UP **&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span id=&amp;quot;_GoBack&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; “No. of generations” can vary 200-500), but 200 is an okay to use as a default number.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;“Models per Generation” should be at least 3 (better to have between 5-10).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “Run.”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;When complete “Double Click” on any of the cells in the first row.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;That is your developed models.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WorkShop Ends Here&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The information below is for you to look at if you want.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Descriptor Information&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;17&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;So each model (AKA equation) has a certain number of descriptors in it. In this example there are 3.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Y1 = - 1.6198 (± 1.1586) X269 + 0.0110 (± 0.0016) X631 - 0.0336 (± 0.0094) X634 + 0.8483 (± 0.3386)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;To find the meaning of these descriptors go to your Excel file and above your descriptor data create a row that is listed from X1 to X####. X1 is above the first descriptor, usually MW. The #’s are the number of descriptors in one row.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;On Excel find the descriptors that are listed in the model. Find the abbreviation under the X value. Example X269 corresponded to the abbreviation “MATS3e”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Once you have all the descriptor abbreviations then go back to Dragon.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select “ Descriptor Search”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Type an abbreviation you found from the Excel file.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Press “Search”&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;This will give the descriptor information.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;You can also click on this link to find what the abbreviation means&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower-alpha;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;&amp;lt;u&amp;gt;http://www.talete.mi.it/products/dragon_molecular_descriptor_list.pdf&amp;lt;/u&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div title=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;background: #c0c0c0&amp;quot;&amp;gt;4&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=WEKA_Steps_for_Loading_Data&amp;diff=103</id>
		<title>WEKA Steps for Loading Data</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=WEKA_Steps_for_Loading_Data&amp;diff=103"/>
		<updated>2022-09-26T19:21:31Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Imported from text file&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div title=&amp;quot;header&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|width=&amp;quot;33%&amp;quot;| &amp;lt;br /&amp;gt;&lt;br /&gt;
|width=&amp;quot;33%&amp;quot;| &amp;lt;br /&amp;gt;&lt;br /&gt;
|width=&amp;quot;33%&amp;quot;| &amp;lt;span style=&amp;quot;background: #c0c0c0&amp;quot;&amp;gt;0&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
Steps for Loading Data into WEKA&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ARFF format consists of three parts: @RELATION, @ATTRIBUTE and @DATA.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
@RELATION &#039;&#039;“SPACE”&#039;&#039; name&lt;br /&gt;
&lt;br /&gt;
@ATTRIBUTE &#039;&#039;“SPACE”&#039;&#039; descriptor name &#039;&#039;“SPACE”&#039;&#039; data type (numeric, nominal …)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;_GoBack&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; @DATA: numbers (integer or real) or strings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
General rules for ARFF file can be found here&lt;br /&gt;
&lt;br /&gt;
https://www.cs.waikato.ac.nz/ml/weka/arff.html&lt;br /&gt;
&lt;br /&gt;
(Search “ARFF File Format”)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Excel:&lt;br /&gt;
&lt;br /&gt;
* File 1: the format in this file is three columns for: “@ATTRIBUTE”, the descriptors’ names, and “NUMERIC”&lt;br /&gt;
** Open the txt data file in Excel. Make sure you are searching from “All Files”.&lt;br /&gt;
&lt;br /&gt;
[[File:WEKA_Steps_for_Loading_Data_HTML_4ec5c9075dd9cb51.png|512x288px]] [[File:WEKA_Steps_for_Loading_Data_HTML_ae35e05dbfaa6f7c.gif|31x38px|Shape1]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure &amp;lt;span style=&amp;quot;background: #c0c0c0&amp;quot;&amp;gt;1&amp;lt;/span&amp;gt;, Opening your data file&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* When &#039;&#039;&#039;Text Import Wizard&#039;&#039;&#039; prompts, choose &#039;&#039;&#039;Delimited and&#039;&#039;&#039; click on &#039;&#039;&#039;Next&#039;&#039;&#039; (&#039;&#039;&#039;step 1&#039;&#039;&#039;), check the &#039;&#039;&#039;Tab&#039;&#039;&#039; box (&#039;&#039;&#039;step 2&#039;&#039;&#039;) and click on &#039;&#039;&#039;Finish&#039;&#039;&#039;. (Leave the rest as default unless it is necessary to change.)&lt;br /&gt;
&lt;br /&gt;
[[File:WEKA_Steps_for_Loading_Data_HTML_d288ed8722be4fdc.png|393x300px]] [[File:WEKA_Steps_for_Loading_Data_HTML_369e56d90bf80141.gif|32x31px|Shape3]] [[File:WEKA_Steps_for_Loading_Data_HTML_bef7f76831abec8b.gif|14x32px|Shape2]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure &amp;lt;span style=&amp;quot;background: #c0c0c0&amp;quot;&amp;gt;2&amp;lt;/span&amp;gt;, Step 1&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:WEKA_Steps_for_Loading_Data_HTML_cd41ce313e7118b1.png|379x288px]] [[File:WEKA_Steps_for_Loading_Data_HTML_859149fac76acd64.gif|30x19px|Shape5]] [[File:WEKA_Steps_for_Loading_Data_HTML_6092b35113c6658c.gif|19x33px|Shape4]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure &amp;lt;span style=&amp;quot;background: #c0c0c0&amp;quot;&amp;gt;3&amp;lt;/span&amp;gt;, Step 2&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Create three blank columns.&lt;br /&gt;
* Copy the descriptors’ names (they are at the first row of your data file, normally) and paste them in the vertical form by using &#039;&#039;&#039;“Transpose”&#039;&#039;&#039; pasting option &#039;&#039;&#039;to the second column&#039;&#039;&#039;.&lt;br /&gt;
* Make sure the &#039;&#039;&#039;cell format&#039;&#039;&#039; is &#039;&#039;&#039;Text&#039;&#039;&#039; before the next step.&lt;br /&gt;
&lt;br /&gt;
[[File:WEKA_Steps_for_Loading_Data_HTML_5e70e797a5c2cba0.png|313x156px]] [[File:WEKA_Steps_for_Loading_Data_HTML_634c3e41e8a46d53.gif|59x34px|Shape6]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure &amp;lt;span style=&amp;quot;background: #c0c0c0&amp;quot;&amp;gt;4&amp;lt;/span&amp;gt;, Cell format&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* For the first and third columns: make equal number of rows as the second column has for “@ATTRIBUTE” and “NUMERIC”, respectively.&lt;br /&gt;
* Example:&lt;br /&gt;
&lt;br /&gt;
[[File:WEKA_Steps_for_Loading_Data_HTML_e8fa2497f6fc4487.png|198x337px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure &amp;lt;span style=&amp;quot;background: #c0c0c0&amp;quot;&amp;gt;5&amp;lt;/span&amp;gt;, the three columns&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* File 2: Here we separate the @DATA part (only numbers) of data.&lt;br /&gt;
** Keep only the numbers needed and delete everything else.&lt;br /&gt;
** Save it in &#039;&#039;&#039;CSV (comma delimited)&#039;&#039;&#039; format. (&#039;&#039;&#039;Click YES&#039;&#039;&#039; when asks “Some features in your workbook … Do you want to keep using that format?”)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:WEKA_Steps_for_Loading_Data_HTML_d4bc2328d2c3083f.png|279x64px]] [[File:WEKA_Steps_for_Loading_Data_HTML_4fc01181394c3a93.gif|43x28px|Shape7]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure &amp;lt;span style=&amp;quot;background: #c0c0c0&amp;quot;&amp;gt;6&amp;lt;/span&amp;gt;, Save as CSV&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Notepad++:&lt;br /&gt;
&lt;br /&gt;
* File A:&lt;br /&gt;
** In the first row, create two columns: @RELATION and a title for the relation name (which are just separated by a space).&lt;br /&gt;
** &#039;&#039;(For aesthetics:&#039;&#039; leave the second row blank.)&lt;br /&gt;
** Copy the three columns in File 1 of Excel and paste into row3.&lt;br /&gt;
** Example:&lt;br /&gt;
&lt;br /&gt;
[[File:WEKA_Steps_for_Loading_Data_HTML_1f0af9e857ead597.png|247x204px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure &amp;lt;span style=&amp;quot;background: #c0c0c0&amp;quot;&amp;gt;7&amp;lt;/span&amp;gt;, start of the File A&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Depending on your data, the last @ATTRIBUTE row will need to be the response variable AKA the thing you are trying to predict. (CATEGORICAL may require this, NUMERIC may not)&lt;br /&gt;
* After all ATTRIBUTE information has been pasted leave 1 row blank &#039;&#039;(For aesthetics&#039;&#039;)&lt;br /&gt;
* After blank row Type “@DATA”.&lt;br /&gt;
* &#039;&#039;(For aesthetics:&#039;&#039; For the next row after “@DATA”, leave it blank.)&lt;br /&gt;
* Example: [[File:WEKA_Steps_for_Loading_Data_HTML_ca4125bd73bd6170.png|460x172px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure &amp;lt;span style=&amp;quot;background: #c0c0c0&amp;quot;&amp;gt;8&amp;lt;/span&amp;gt;, middle of File A&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* File B:&lt;br /&gt;
** Open File 2 from Notepad++ (and you should see the data are separated by commas).&lt;br /&gt;
** Example: [[File:WEKA_Steps_for_Loading_Data_HTML_964b046e1656a7f.png|555x225px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure &amp;lt;span style=&amp;quot;background: #c0c0c0&amp;quot;&amp;gt;9&amp;lt;/span&amp;gt;, File 2 open with NotePad++&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Copy and paste all the data to File A.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Already returned to File A:&lt;br /&gt;
** Save the file as “arff” format (by adding “.arff” at the end of the file name).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The file is ready to open and run in WEKA (yay).&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PS: (1) “%” would give you error if included in the descriptors’ names, specifically such as &#039;&#039;&#039;“%N” or “%O”&#039;&#039;&#039;, after “@ATTRIBUTE”. The error would occur because whatever after “%” is considered as comment, then in WEKA, it would be interpreted as a missing information for the descriptor name and data type. Simply remove “%” would avoid errors. (2)Also make sure the number of descriptors matches with the number of data in the “@DATA” section. (If you have 10 lines of @ATTRIBUTE + descriptors’ names, there should have 10 numbers in each line in @DATA part in the Notepad++.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.nanobiodata.org/index.php?title=VASP_and_VMD_on_CCAST&amp;diff=102</id>
		<title>VASP and VMD on CCAST</title>
		<link rel="alternate" type="text/html" href="https://wiki.nanobiodata.org/index.php?title=VASP_and_VMD_on_CCAST&amp;diff=102"/>
		<updated>2022-09-26T19:21:18Z</updated>

		<summary type="html">&lt;p&gt;Sysadmin: Imported from text file&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
&#039;&#039;&#039;Login&#039;&#039;&#039; &#039;&#039;&#039;Photon&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
ssh [mailto:kilin@photon.chem.ndsu.nodak.edu &amp;lt;u&amp;gt;kilin@photon.chem.ndsu.nodak.edu&amp;lt;/u&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
cd /scratch001/Chem_476/CHEM676_2019/Meade/DIMER&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&#039;&#039;&#039;Login&#039;&#039;&#039; &#039;&#039;&#039;Cori&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| Have to be in Photon first then login to Cori&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
ssh -i ~/.ssh/nersc cori.nersc.gov&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
cd /global/cfs/cdirs/m1251/vasp/CHEM676/meade&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&#039;&#039;&#039;Misc. Tools&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cd foldername&lt;br /&gt;
| lets you go into a folder&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| cd ..&lt;br /&gt;
| Backs you out of folder you are in&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| cd -&lt;br /&gt;
| Goes back to previous directory&lt;br /&gt;
|-&lt;br /&gt;
| cd ~&lt;br /&gt;
| Goes to home directory&lt;br /&gt;
|-&lt;br /&gt;
| freenodes&lt;br /&gt;
| in ccast&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| vi filename&lt;br /&gt;
| Lets you go into file to edit&lt;br /&gt;
|-&lt;br /&gt;
| i&lt;br /&gt;
| When in “vi” this initiates the editing&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| This lets you stop editing&lt;br /&gt;
|-&lt;br /&gt;
| “Ctrl+c” press on keyboard, not a typing thing&lt;br /&gt;
| Lets you stop any current running process&lt;br /&gt;
|-&lt;br /&gt;
| pwd&lt;br /&gt;
| Gives you current directory location&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| wc&lt;br /&gt;
| Word count: The 1st number shows number of lines present in file. 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; number of words present in file. 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; column shows number of characters present in file. 4&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; number is the file name which is given as an argument.&lt;br /&gt;
|-&lt;br /&gt;
| ls&lt;br /&gt;
| Lists what is in the current directory&lt;br /&gt;
|-&lt;br /&gt;
| ls -lt&lt;br /&gt;
| Lists what is in the current directory sorting from newest to oldest&lt;br /&gt;
|-&lt;br /&gt;
| ls –lt W*&lt;br /&gt;
| Lists everything that starts with a W sorting from newest to oldest. (Can be used for other letters as well)&lt;br /&gt;
|-&lt;br /&gt;
| ls -lisanh&lt;br /&gt;
| gives information on the files in whole directory&lt;br /&gt;
|-&lt;br /&gt;
| ls -lisanh filename&lt;br /&gt;
| gives information on the specific file&lt;br /&gt;
|-&lt;br /&gt;
| ls -lisan&lt;br /&gt;
| gives information on the files in whole directory&lt;br /&gt;
|-&lt;br /&gt;
| ls -lisan filename&lt;br /&gt;
| gives information on the specific file&lt;br /&gt;
|-&lt;br /&gt;
| ls -a&lt;br /&gt;
| shows all files, including hidden ones&lt;br /&gt;
|-&lt;br /&gt;
| babel –ixyz file.xyz –opdb file.pdb xyz to pdb&lt;br /&gt;
|&lt;br /&gt;
Using babel, converts the input file of .xyz to outputfile of .pdb&lt;br /&gt;
&lt;br /&gt;
That is where the –ixyz and –opdb comes from&lt;br /&gt;
|-&lt;br /&gt;
| “shift+alt+left click”&lt;br /&gt;
| For slecting just comlumn or just row information you want exactly&lt;br /&gt;
|-&lt;br /&gt;
| egrep &#039;163|166&#039; OS_STRENGTH&lt;br /&gt;
| grep technique&lt;br /&gt;
|-&lt;br /&gt;
| more filename&lt;br /&gt;
| Lets you see what is in the file&lt;br /&gt;
|-&lt;br /&gt;
| more ~/bin/filename&lt;br /&gt;
| Lets you see the file in a location not in your current directory.&lt;br /&gt;
|-&lt;br /&gt;
| more filename | grep ### or value | grep again if desired&lt;br /&gt;
| shows file and grabs lines with same input you put after the grep command&lt;br /&gt;
|-&lt;br /&gt;
| cp /Location/filename .&lt;br /&gt;
| Copies a file from a different directory location and input it into the current directory. Don’t forget the PERIOD!&lt;br /&gt;
|-&lt;br /&gt;
| P /Location/filename ./newfilename&lt;br /&gt;
| Copies a file from a different directory location and input it into the current directory and rename it in one step&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/filename .&lt;br /&gt;
| Takes file from different SERVER/ACCOUNT. You must be in the destination directory you want the files to go to when typing this line&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/* .&lt;br /&gt;
| Takes ALL files from different SERVER/ACCOUNT. You must be in the destination directory you want the files to go to when typing this line&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/*.filetype .&lt;br /&gt;
| Takes ALL files with that specific file type from different SERVER/ACCOUNT. You must be in the destination directory you want the files to go to when typing this line&lt;br /&gt;
|-&lt;br /&gt;
| scp * destinationUser:/destinationLocation&lt;br /&gt;
| Sends all files from source directory to destination directory. Must be in source directory when typing this line&lt;br /&gt;
|-&lt;br /&gt;
| scp * kilin@photon.chem.ndsu.nodak.edu:/scratch001/Chem_476/CHEM676_2019/Meade/DIMER/DIMabsorptionspec&lt;br /&gt;
| Example of scp&lt;br /&gt;
|-&lt;br /&gt;
| sbatch corifilename&lt;br /&gt;
| Lets you submit a file in cori using a corifile made by others&lt;br /&gt;
|-&lt;br /&gt;
| grep specificdetail filename&lt;br /&gt;
| Grabs the specific detail from the file you chose&lt;br /&gt;
|-&lt;br /&gt;
| sort -n -r filename&lt;br /&gt;
| sorts the file in ascending order&lt;br /&gt;
|-&lt;br /&gt;
| babel BondLength.xyz -O out.xyz --separate&lt;br /&gt;
| THIS IS CORRECT WAY THE SEP WORD IS SPELLED INCORRECTLY BUT IS CORRECT FOR BABEL&lt;br /&gt;
|-&lt;br /&gt;
| awk &#039;{ if($4 &amp;amp;gt;= 4.0000 &amp;amp;amp;&amp;amp;amp; $4&amp;amp;lt;=5.0000) print }&#039; OS_STRENGTH1&lt;br /&gt;
| lets you get lines of data that contain the range from 4-5 from column 4&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| users&lt;br /&gt;
| lets you see what users are on&lt;br /&gt;
|-&lt;br /&gt;
| clear&lt;br /&gt;
| lets you clear screen&lt;br /&gt;
|-&lt;br /&gt;
| who&lt;br /&gt;
| who is on and more detail about them&lt;br /&gt;
|-&lt;br /&gt;
| w&lt;br /&gt;
| all the people and differing details about them&lt;br /&gt;
|-&lt;br /&gt;
| id&lt;br /&gt;
| lets me see what groups I am in&lt;br /&gt;
|-&lt;br /&gt;
| freenodes&lt;br /&gt;
| lets you see if nodes are available or not&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6335cce9234bc4ef.png|439x225px]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| pbsnodes –avSj | sort -n&lt;br /&gt;
| shows available nodes, the | sorts it into order&lt;br /&gt;
|-&lt;br /&gt;
| pbsnodes –avSj | sort –n | more&lt;br /&gt;
| does this in page format rather than all at once&lt;br /&gt;
|-&lt;br /&gt;
| module avail&lt;br /&gt;
| what software is available&lt;br /&gt;
|-&lt;br /&gt;
| $HOME&lt;br /&gt;
| lets you go to your login directory “home” directory&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
thunder.ccast.ndsu.edu&lt;br /&gt;
&lt;br /&gt;
meade.erickson&lt;br /&gt;
| to get into putty&lt;br /&gt;
|-&lt;br /&gt;
| C:\Users\meade.erickson\Documents\OriginLab\User Files\&lt;br /&gt;
| Origin themes location&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Explanations&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| fermi&lt;br /&gt;
| fermi energy is referring to the energy difference between the highest and lowest occupied single-particle states. ([https://en.wikipedia.org/wiki/Fermi_energy &amp;lt;u&amp;gt;https://en.wikipedia.org/wiki/Fermi_energy&amp;lt;/u&amp;gt;])&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Explanations Input Files:&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| INCAR&lt;br /&gt;
| It is the central input file of VASP. It determines &amp;amp;quot;what to do and how to do it&amp;amp;quot;. ([https://www.vasp.at/wiki/index.php/INCAR &amp;lt;u&amp;gt;https://www.vasp.at/wiki/index.php/INCAR&amp;lt;/u&amp;gt;])&lt;br /&gt;
|-&lt;br /&gt;
| POSCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| POTCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| KPOINTS&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Explanations Output Files:&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| CONTCAR&lt;br /&gt;
|&lt;br /&gt;
Contains actual coordinates, velocities, and predictor corrector coordinates. 1&amp;lt;sup&amp;gt;st&amp;lt;/sup&amp;gt; block is lattice parameters and atom coordinates. 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; block Initial Velocites for atoms. 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; block Predictor-corrector coordinates.&lt;br /&gt;
&lt;br /&gt;
Written at end of each job. Used as the POSCAR file for next MD job.&lt;br /&gt;
|-&lt;br /&gt;
| WAVECAR&lt;br /&gt;
| Provides wavefunctions. we usually use it for spectrum data ([https://www.vasp.at/wiki/index.php/WAVECAR &amp;lt;u&amp;gt;https://www.vasp.at/wiki/index.php/WAVECAR&amp;lt;/u&amp;gt;])&lt;br /&gt;
|-&lt;br /&gt;
| OS_STRENGTH&lt;br /&gt;
| Information about the OS_STRENGTH&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_8bf47c7304419724.png|354x154px]]&lt;br /&gt;
|&lt;br /&gt;
From Wikipedia&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In spectroscopy, &#039;&#039;&#039;oscillator strength&#039;&#039;&#039; is a dimensionless quantity that expresses the probability of [https://en.wikipedia.org/wiki/Absorption_(electromagnetic_radiation) &amp;lt;u&amp;gt;absorption&amp;lt;/u&amp;gt;] or [https://en.wikipedia.org/wiki/Emission_spectrum &amp;lt;u&amp;gt;emission&amp;lt;/u&amp;gt;] of [https://en.wikipedia.org/wiki/Electromagnetic_radiation &amp;lt;u&amp;gt;electromagnetic radiation&amp;lt;/u&amp;gt;] in transitions between [https://en.wikipedia.org/wiki/Energy_level &amp;lt;u&amp;gt;energy levels&amp;lt;/u&amp;gt;] of an atom or molecule&amp;lt;sup&amp;gt;[&amp;lt;/sup&amp;gt;[https://en.wikipedia.org/wiki/Wikipedia:Accuracy_dispute#Disputed_statement &amp;lt;sup&amp;gt;&#039;&#039;&amp;lt;u&amp;gt;dubious&amp;lt;/u&amp;gt;&#039;&#039;&amp;lt;/sup&amp;gt;]&amp;lt;sup&amp;gt;&#039;&#039; – &#039;&#039;&amp;lt;/sup&amp;gt;[https://en.wikipedia.org/wiki/Talk:Oscillator_strength#Wrong_definition_oscillator_strength &amp;lt;sup&amp;gt;&#039;&#039;&amp;lt;u&amp;gt;discuss&amp;lt;/u&amp;gt;&#039;&#039;&amp;lt;/sup&amp;gt;]&amp;lt;sup&amp;gt;]&amp;lt;/sup&amp;gt;.&amp;lt;sup&amp;gt;&amp;lt;u&amp;gt;[https://en.wikipedia.org/wiki/Oscillator_strength#cite_note-Demtr%C3%B6der2003-1 [1]][https://en.wikipedia.org/wiki/Oscillator_strength#cite_note-Robinson1996-2 [2]]&amp;lt;/u&amp;gt;&amp;lt;/sup&amp;gt; The oscillator strength can be thought of as the ratio between the quantum mechanical transition rate and the classical absorption/emission rate of a single electron oscillator with the same frequency as the transition.&lt;br /&gt;
|-&lt;br /&gt;
| POTIM (in INCAR file)&lt;br /&gt;
| timestep in femtoseconds. So POTIM=1 is 1 femtosecod&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Density of States&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| To get DOS you need to run the correct calculations in VASP using 4 files. INCAR, POSCAR, POTCAR, OUTCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Once you get output from your submitted information to cori or photon you can follow these steps to get Density of states&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| grep NBA OUTCAR&lt;br /&gt;
| Grabs the number of bands (we need this for later) (STATES)&lt;br /&gt;
|-&lt;br /&gt;
| vi input_overlap&lt;br /&gt;
| editing input_overlap&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Number of Bands from the grep NBA OUTCAR line&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| “esc” key&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| quitting editing input_overlap&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/extract_energy_pop.exe&lt;br /&gt;
| getting energy pop from different location&lt;br /&gt;
|-&lt;br /&gt;
| cp energy_pop STATES&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| wc STATES&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| grep NELE OUTCAR&lt;br /&gt;
| record number of electrons&lt;br /&gt;
|-&lt;br /&gt;
| grep NIO OUTCAR&lt;br /&gt;
| record number of ions&lt;br /&gt;
|-&lt;br /&gt;
| grep E-fer OUTCAR&lt;br /&gt;
| record the three values and their names. If this line doesn’t work the try next line)&lt;br /&gt;
|-&lt;br /&gt;
| grep ferm OUTCAR | tail –n 1&lt;br /&gt;
| record the three values and their names&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/DRESS_DOS_NORM&lt;br /&gt;
| Executes the DOS code from different file location&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Number of states from grep NBA OUTCAR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| grep NBA OUTCAR line&lt;br /&gt;
|-&lt;br /&gt;
| -20&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
E-fermi info from grep E_fermi&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
To literally line up DOS and STATES, you may need to type in 0 for both fermi and alpha+beta.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more standard way is to use the middle point energy between HOMO and LUMO i.e. (E_HOMO+E_LUMO)/2 for fermi and 0 for alpha+beta. In this way, the mid point of DOS is at zero, anything below zero is occupied and above zero is unoccupied.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
alpha+beta info from grep E_fermi&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| .01&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Number of ions from grep NIO OUTCAR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Number of electrons from grep NELE OUTCAR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
gnuplot ~/bin/gnuprog_DOS.fermi&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| Plotting the DOS (This is done in NERSC or PHOTON)&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
ps2pdfwr DOS.ps&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| Converting DOS file from .ps to .pdf&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
*** DISCLAIMER, DON”T HAVE TO USE THISBOX BUT CAN IF DESIRED For better box* this can be one big command or you can split it up into pieces. ( anything before a colon is one command) THIS IS DONE IN PHOTON*&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set out MEADESDOS.ps MAY NOT NEED THIS NOT SURE YET&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set style line 4 lw 4 lc -1; unset key; plot [-6:6.6] &#039;DOS.fermi&#039; using ($1-2.2617):5 w i title &amp;amp;quot;Electron Occupation&amp;amp;quot;, &#039;DOS.fermi&#039; u ($1-2.2617):4 w l title &amp;amp;quot;Dimer Density of States&amp;amp;quot; ls 4; set xlabel &#039;Orbital Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Density of States&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Density of States Dimer Molecule&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set style line 4 lw 4 lc -1&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
unset key&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
plot [-6:6.6] &#039;DOS.fermi&#039; using ($1-2.2617):5 w i title &amp;amp;quot;Electron Occupation&amp;amp;quot;, &#039;DOS.fermi&#039; u ($1-2.2617):4 w l title &amp;amp;quot;Dimer Density of States&amp;amp;quot; ls 4;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set xlabel &#039;Orbital Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set ylabel &#039;Density of States&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set title &amp;amp;quot;Density of States Dimer Molecule&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set tics font &amp;amp;quot;,30&amp;amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set ytics offset 0,0,0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set xtics offset -0.4,-1,0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
CANT GET THIS TO GO TO OUTPUT FILE NOT SURE WHY&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set style line 4 lw 4 lc -1; unset key; plot [-6.1:6.1] &#039;DOS.fermi&#039; using ($1-0.518567):5 w i lw 2 title &amp;amp;quot;Electron Occupation&amp;amp;quot;, &#039;DOS.fermi&#039; u ($1-0.518567):4 w l title &amp;amp;quot;Dimer Density of States&amp;amp;quot; ls 4; set xlabel &#039;Orbital Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Density of States&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Density of States Dimer Molecule&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set style line 4 lw 4 lc -1; unset key; plot [-6.1:6.1] &#039;DOS.fermi&#039; using ($1-0.173350):5 w i lw 2 title &amp;amp;quot;Electron Occupation&amp;amp;quot;, &#039;DOS.fermi&#039; u ($1-0.17335):4 w l title &amp;amp;quot;Wet Monomer Density of States&amp;amp;quot; ls 4; set xlabel &#039;Orbital Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Density of States&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Density of States Wet Monomer Molecule&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
I am initially specifying a style that I will be using. In this case chose style 4 and am editing it to what I want.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
lw stands for linwidth, lc line color, not sure where the library is but lc -1 is black, 0=red I think and find out other through trial and error&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
lw is just multiplyer, so lw 4 is 4 times larger than default.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
unset key gets rid of key,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[#,#] is the range of my x axis graph.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
($#-###): $# is the column I want to take data from which is being subtracted by the amount of shift I am giving to the data (we want data to be centered at 0 sometimes and so for DOS we take the middle between the start of non occupied plus the end of occupied and divide by 2 to get our shift. (Notoccupied + occupied)/2 ) and the number after the “:” is the column I am correlating the X and Y axis with. So when we plot stuff we need to specify what is the x and what is the y axis.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
not sure exactly what the “w i” portion does but it helps us change from points to lines and then is what fills in the red portion of our graph. (The “i” stands for impulses. Add an extra “lw 2’ to increase the line width as shown in green text.) “w l” does the same thing but DOESN”T fill out the the electron density portion.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
xlabel and y labels are the axis titles and offsets help position them due to the changing sizes of the axes and tics.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Tics are the numbers on the Y and x axis so ytics offsets them and xtics does the horizontal axis change.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
--OPEN A NEW TAB IN MOBA XTERM--&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Without logging into the account you should be able to see if you are on your current computer&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ls&lt;br /&gt;
| make sure you are in your computer directory. Usually you will see “DESKTOP” as an option&lt;br /&gt;
|-&lt;br /&gt;
| cd DESKTOP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/*.pdf .&lt;br /&gt;
| This is done while in the desktop directory so on your desktop you will see all the pdf files your just generated in desktop&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Absorption Spectrum - Transition Energy eV – Wavelength nm&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
You need a POSCAR file from a previous calculation. SO if you have done a calculation this process can be followed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| create an absorption directory where ever you would like and go into this directory&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/INCAR-gm&lt;br /&gt;
|&lt;br /&gt;
copying INCAR-gm into the directory as long as you are in it&lt;br /&gt;
&lt;br /&gt;
MAKE SURE&lt;br /&gt;
&lt;br /&gt;
LWAVE= .TRUE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
kilin@cori07:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/COOL_INTERMED_Mead/absorptionSpec/TEST&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Or make sure the INCAR has this Ag+Carboxyl&lt;br /&gt;
&lt;br /&gt;
#ISIF=7&lt;br /&gt;
&lt;br /&gt;
#PREC = HIGH&lt;br /&gt;
&lt;br /&gt;
ENCUT= 300&lt;br /&gt;
&lt;br /&gt;
IBRION =3&lt;br /&gt;
&lt;br /&gt;
POTIM=0.2&lt;br /&gt;
&lt;br /&gt;
NSW = 30000&lt;br /&gt;
&lt;br /&gt;
ALGO = NORMAL  #48&lt;br /&gt;
&lt;br /&gt;
ISMEAR = 0&lt;br /&gt;
&lt;br /&gt;
SIGMA = 0.01&lt;br /&gt;
&lt;br /&gt;
LREAL = A&lt;br /&gt;
&lt;br /&gt;
#ISTART = 0&lt;br /&gt;
&lt;br /&gt;
LWAVE = .TRUE.&lt;br /&gt;
&lt;br /&gt;
LCHARG = .FALSE.&lt;br /&gt;
&lt;br /&gt;
EDIFF=1E-6&lt;br /&gt;
&lt;br /&gt;
EDIFFG=-0.05&lt;br /&gt;
&lt;br /&gt;
LVTOT   =  .FALSE.&lt;br /&gt;
&lt;br /&gt;
#LVDW=.TRUE.&lt;br /&gt;
&lt;br /&gt;
#SPRING = -5&lt;br /&gt;
&lt;br /&gt;
#LCLIMB = .TRUE.&lt;br /&gt;
&lt;br /&gt;
#IMAGES = 7&lt;br /&gt;
&lt;br /&gt;
#IOPT=7&lt;br /&gt;
&lt;br /&gt;
#ICHAIN=0&lt;br /&gt;
&lt;br /&gt;
NELM=40&lt;br /&gt;
&lt;br /&gt;
#ISPIN=2&lt;br /&gt;
&lt;br /&gt;
ISYM=0&lt;br /&gt;
&lt;br /&gt;
NPAR=4&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/CONTCAR ./POSCAR&lt;br /&gt;
| Changing CONTCAR to POSCAR&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/POTCAR .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/KPOINTS .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mv INCAR-gm INCAR&lt;br /&gt;
| changing file name from INCAR-gm to INCAR&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/cori-regular.sh .&lt;br /&gt;
| this is our job submission file&lt;br /&gt;
|-&lt;br /&gt;
| vi cori-regular.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6b3108944fbb5d2b.png|345x215px]]&lt;br /&gt;
|&lt;br /&gt;
Make it Look like this.&lt;br /&gt;
&lt;br /&gt;
While in the screen press “I” to insert and edit the file.&lt;br /&gt;
&lt;br /&gt;
When done editing it press “:wq” to save and quit the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you don’t like the edits you made you can press “:q!” to exit the file without saving it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sbatch cori-regular.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| It is necessary to have the ‘spectrum’ file made which comes from a healthy WAVECAR which is used to generate OS_STRENGTH. After OS_STRENGHT we make the spectrum ~/bin/SPECTRUM_imp3 file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Assuming you have conducted a calculation which generated a healthy WAVECAR file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| If healthy WAVECAR exists then…&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| grep NBA OUTCAR&lt;br /&gt;
| record Number of bands&lt;br /&gt;
|-&lt;br /&gt;
| vi input_overlap&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
1&lt;br /&gt;
&lt;br /&gt;
Number of Bands&lt;br /&gt;
&lt;br /&gt;
1&lt;br /&gt;
| 36740210&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
‘esc’ key&lt;br /&gt;
&lt;br /&gt;
:wq&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/extract_energy_pop.exe&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp energy_pop STATES&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/OS/2020/*.exe .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| module swap PrgEnv-intel PrgEnv-gnu&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ./osc_str.exe&lt;br /&gt;
| This makes the OS_STRENGTH (oscillator strength)&lt;br /&gt;
|-&lt;br /&gt;
| grep &#039;2.0000  0.0000&#039; OS_STRENGTH &amp;amp;gt; OS_STRENGTHvc&lt;br /&gt;
|&lt;br /&gt;
Takes the orbital pairs from 2.0000 to 0.0000 into new file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp OS_STRENGTH OS_STRENGTH1&lt;br /&gt;
| making sure I have original OS_STRENGTH&lt;br /&gt;
|-&lt;br /&gt;
| cp OS_STRENGTHvc OS_STRENGTH&lt;br /&gt;
| making sure I have file OS_STRENGvc kept for 2.0000 – 0.0000 but it will be our OS_STRENGTH&lt;br /&gt;
|-&lt;br /&gt;
| wc OS_STRENGTH&lt;br /&gt;
| Record First number&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/SPECTRUM_imp3&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Number from OS_STERNEGTH&lt;br /&gt;
&lt;br /&gt;
.1&lt;br /&gt;
&lt;br /&gt;
10&lt;br /&gt;
&lt;br /&gt;
.001&lt;br /&gt;
&lt;br /&gt;
HOMO&lt;br /&gt;
|&lt;br /&gt;
Should be able to find HOMO from STATES file (or energy_pop)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Can change the “.001” to “0.1 or 0.01” to smooth out the line&lt;br /&gt;
|-&lt;br /&gt;
| a ‘spectrum’ file should have been made. This holds all the spectrum data. The spectrum can be visualized using these commands in Cori. If you want to visualize in photon then use the gnuplot information below&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| gnuplot ~/bin/gnuprog_SPE&lt;br /&gt;
|&lt;br /&gt;
IN CORI YOU CAN USE THESE&lt;br /&gt;
&lt;br /&gt;
THEN SCP them to photon, then the desktop!&lt;br /&gt;
|-&lt;br /&gt;
| gnuplot ~/bin/gnuprog_SPE_nm_200_800&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| ps2pdfwr SPE.ps&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| ps2pdfwr SPE_nm.ps&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| scp * kilin@photon.chem.ndsu.nodak.edu:/scratch001/Chem_476/CHEM676_2019/Meade/DIMER/TDESMD_112_116/COOL_INTERMED_Mead/absorptionSpec&lt;br /&gt;
| example make sure you are in the directory of the files you want to send. Send it to a premade directory in photon&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
--OPEN A NEW TAB IN MOBA XTERM--&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Without logging into the account you should be able to see if you are on your current computer&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ls&lt;br /&gt;
| make sure you are in your computer directory. Usually you will see “DESKTOP” as an option&lt;br /&gt;
|-&lt;br /&gt;
| cd DESKTOP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| scp sourceUser:/sourceLocation/*.pdf .&lt;br /&gt;
| This is done while in the desktop directory so on your desktop you will see all the pdf files your just generated in desktop&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
FOR PHOTON USE THESE STEPS&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are plotting the information of spectrum to get the spectrum in wavelength of nanometers nm and transition energy in electron volts eV&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| more spectrum&lt;br /&gt;
|&lt;br /&gt;
(Be sure to be in correct directory)&lt;br /&gt;
&lt;br /&gt;
Column 1 is the spectrum in wavelength of nm&lt;br /&gt;
&lt;br /&gt;
column 2 is the spectrum in transition energy of eV&lt;br /&gt;
&lt;br /&gt;
column 3 is absorbance/absorption in a.u. (absoption units). Absorbance goes with wavelength, absorption goes with transition energy&lt;br /&gt;
&lt;br /&gt;
column 4 idk what this is.&lt;br /&gt;
|-&lt;br /&gt;
| gnuplot&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| plot ‘spectrum’ 2:3&lt;br /&gt;
| This gives you transition energy in x axis and absorption in a.u for yaxis.&lt;br /&gt;
|-&lt;br /&gt;
| set style line 4 lw 4 lc 3; unset key; plot [0:10] &#039;spectrum&#039; using 2:3 w l title &amp;amp;quot;Transition Energy&amp;amp;quot; ls 4; set xlabel &#039;Transition Energy, eV&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;absorption a.u&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Absorption Spectrum Dimer&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
| This is transition energy in x axis and absorption in yaxis.&lt;br /&gt;
|-&lt;br /&gt;
| set style line 4 lw 4 lc 3; unset key; plot [200:800] &#039;spectrum&#039; using 1:3 w l title &amp;amp;quot;Absorption Spectrum&amp;amp;quot; ls 4; set xlabel &#039;Wavelength, nm&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;absorbance, a.u&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Absorption Spectrum Dimer&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
| nm in x axis and absorbance in yaxis&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;UV-Vis Absorption Spectrum&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
You need a POSCAR file from a previous calculation. SO if you have done a calculation this process can be followed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We did one calculation already but we need to do a “geometry optimization” for the next one.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| create an absorption directory where ever you would like and go into this directory&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/INCAR-gm&lt;br /&gt;
| copying INCAR-gm into the directory as long as you are in it&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/CONTCAR ./POSCAR&lt;br /&gt;
| Changing CONTCAR to POSCAR&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/POTCAR .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp filelocation/KPOINTS .&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mv INCAR-gm INCAR&lt;br /&gt;
| changing file name from INCAR-gm to INCAR&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/cori-regular.sh .&lt;br /&gt;
| this is our job submission file&lt;br /&gt;
|-&lt;br /&gt;
| vi cori-regular.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6b3108944fbb5d2b.png|352x219px]]&lt;br /&gt;
|&lt;br /&gt;
Make it Look like this.&lt;br /&gt;
&lt;br /&gt;
While in the screen press “I” to insert and edit the file.&lt;br /&gt;
&lt;br /&gt;
When done editing it press “:wq” to save and quit the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you don’t like the edits you made you can press “:q!” to exit the file without saving it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sbatch cori-regular.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Generating CANDIDATES file for Photofragmentation&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| This is after calculations have been ran for MD???&lt;br /&gt;
|&lt;br /&gt;
Watch this first‼ Part 2 of Dr.Kilins video for how to generate the CANDIDATES file.&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=NIrs1yXJj1Y&amp;amp;feature=youtu.be &amp;lt;u&amp;gt;https://www.youtube.com/watch?v=NIrs1yXJj1Y&amp;amp;amp;feature=youtu.be&amp;lt;/u&amp;gt;]&lt;br /&gt;
|-&lt;br /&gt;
| We want to get information from the WAVECAR that can help us determine the “electron hopping” so we have to find the OS_STRENGTH (oscillator strength) that is high. Since higher OS_Strength the higher the probability that given pair of orbitals is excited. STATES file should have been generated before I think.&lt;br /&gt;
|&lt;br /&gt;
Watch this second‼ Part 1 of Dr. Kilins video for what to do after CANDIDATES file was generated and explains what is in it.&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=A8BXT-FnuxM&amp;amp;t=212s &amp;lt;u&amp;gt;https://www.youtube.com/watch?v=A8BXT-FnuxM&amp;amp;amp;t=212s&amp;lt;/u&amp;gt;]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| grep –A 700 fermi OUTCAR | tail –n 700 &amp;amp;gt; STATES1&lt;br /&gt;
| Fermi information from OUTCAR into a file called STATES 1. Not sure what the –A or 700 mean. But the tail is choosing a specific section of the data, the “tail” end of the chosen information from the OUTCAR file.&lt;br /&gt;
|-&lt;br /&gt;
| more STATES1&lt;br /&gt;
| Determine HOMO and LUMO, HOMO is the highest orbital with a 2, LUMO is the first 0. In my case HOMO is 112 and LUMO is 113&lt;br /&gt;
|-&lt;br /&gt;
| NOT SURE HOW HE GENERATED STATES FILE&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| head STATES&lt;br /&gt;
| Record the lowest number, in my case it is 81 for DIMER&lt;br /&gt;
|-&lt;br /&gt;
| tail STATES&lt;br /&gt;
| Record the Highest number, in my case it is 160 for DIMER&lt;br /&gt;
|-&lt;br /&gt;
| vi input_overlap&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| i&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 160&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp energy_pop STATES&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| more ~/bin/ADVICE.spectrum&lt;br /&gt;
| This will make spectrum. This will show 3 lines of code. Literally copy one line and press enter starting with the “module swap PrgEnv-intel PrgEnv-gnu”&lt;br /&gt;
|-&lt;br /&gt;
| module swap PrgEnv-intel PrgEnv-gnu&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp ~/bin/OS/2020/*.exe .&lt;br /&gt;
| copying templates and inputting them into the directory you are in&lt;br /&gt;
|-&lt;br /&gt;
| ./osc_str_CHEM676.exe&lt;br /&gt;
| This reads binary WAVECAR file, Reads input_overlap, creates Oscillator strength&lt;br /&gt;
|-&lt;br /&gt;
| ls –lt | head&lt;br /&gt;
| This should show a fresh OS_STRENGTH was made&lt;br /&gt;
|-&lt;br /&gt;
| grep ‘2.0000 0.0000’ OS_STRENGTH &amp;amp;gt; OS_NEW&lt;br /&gt;
| In the OS_STRENGTH file we will see lines of no transition from occupied to unnoccupied. What we want to see is the lines that have an occupied originally (2.0000) and then are unoccupied (0.0000). This shows excitation. The lines that meet this requirement are then inputted into OS_NEW&lt;br /&gt;
|-&lt;br /&gt;
| head OS_NEW&lt;br /&gt;
| This should show a range of orbitals that have been occupied and are now unoccupied. With the differing orbitals involved. Columns 1 and 2 are the initial and final orbitals that are involved with the “hopping” of electrons. The 3rd column is oscillator Strength. 4th Column is Transition energy.&lt;br /&gt;
|-&lt;br /&gt;
| mv OS_NEW OS_STRENGTH&lt;br /&gt;
| We don’t need all OS_STRENGTH data, just the stuff we “grepped” in OS_NEW. This overrides OS_STRENGTH with information from OS_NEW.&lt;br /&gt;
|-&lt;br /&gt;
| wc OS_STRENGTH&lt;br /&gt;
| Word count: The 1st number shows number of lines present in file. 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; number of words present in file. 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; column shows number of characters present in file. 4&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; number is the file name which is given as an argument.&lt;br /&gt;
|-&lt;br /&gt;
| head –n 30 OS_STRENGTH&lt;br /&gt;
| In this particular case we only want the top 30 rather than the original value the first column gave was. In my case it was about 1536.&lt;br /&gt;
|-&lt;br /&gt;
| head –n 30 OS_STRENGTH | sort –gk 4&lt;br /&gt;
| To sort in ascending order of transition energy. 4 is the 4&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; column. I don’t know what –gk means.&lt;br /&gt;
|-&lt;br /&gt;
| head –n 30 OS_STRENGTH | sort –gk 4 &amp;amp;gt; CANDIDATES&lt;br /&gt;
| Inputs this information into CANDIDATES file&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Orbital Visualization&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| I don’t have all information available here, for example I personally didn’t make the PARCHG files.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Kilins Guidance to make PARCHG files… I think&lt;br /&gt;
&lt;br /&gt;
Dear Meade,&lt;br /&gt;
&lt;br /&gt;
below are steps I did for creating orbitals files on nersc.&lt;br /&gt;
&lt;br /&gt;
I will let you know when they are ready and instruct on how to visualize.&lt;br /&gt;
&lt;br /&gt;
slides are good, under given limits.&lt;br /&gt;
&lt;br /&gt;
In the given time, you may add conclusions as you see them..&lt;br /&gt;
&lt;br /&gt;
Best wishes,&lt;br /&gt;
&lt;br /&gt;
Dmitri&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; mkdir ORBITALS&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp WAVECAR ORBITALS/&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp CONTCAR ORBITALS/POSCAR&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp POTCAR ORBITALS/&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp *.sh  ORBITALS/&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER&amp;amp;gt; cp KPOINTS ORBITALS/&lt;br /&gt;
&lt;br /&gt;
&amp;amp;gt; cd ORBITALS/&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/ORBITALS&amp;amp;gt; grep NBA ../OUTCAR&lt;br /&gt;
&lt;br /&gt;
   k-points           NKPTS =      1   k-points in BZ     NKDIM =      1   number of bands    NBANDS=    160&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/ORBITALS&amp;amp;gt; cp ~/bin/INCAR/INCAR-pc ./INCAR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/ORBITALS&amp;amp;gt; tail INCAR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IBRION=2        #conjugate-gradient algorithm used to relax ions (bad&lt;br /&gt;
&lt;br /&gt;
NSW=0           #number of ionic steps&lt;br /&gt;
&lt;br /&gt;
POTIM= .2       #time step in fs&lt;br /&gt;
&lt;br /&gt;
EDIFFG=-0.001 #minimum energy difference between ionic iterations&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#EINT= -4.4 -0.5&lt;br /&gt;
&lt;br /&gt;
EINT= -6 2 &lt;br /&gt;
&lt;br /&gt;
LVTOT   =  .TRUE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
kilin@cori11:/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/ORBITALS&amp;amp;gt; sbatch cori_debug.sh &lt;br /&gt;
&lt;br /&gt;
Submitted batch job 32413471&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
many thanks for the new version!&lt;br /&gt;
&lt;br /&gt;
The main question in your email is orbitals with VASP:&lt;br /&gt;
&lt;br /&gt;
a. generate or use premade healthy WAVECAR &lt;br /&gt;
&lt;br /&gt;
(it is an analog of .chk in gaussian)&lt;br /&gt;
&lt;br /&gt;
b. in a new directory, use template of the INCAR for orbitals and run vasp once again.&lt;br /&gt;
&lt;br /&gt;
the templates are named ~/bin/INCAR/INCAR_pc  and similar names.&lt;br /&gt;
&lt;br /&gt;
(it is an analog of the cubegen procedure in gaussian)&lt;br /&gt;
&lt;br /&gt;
c. upon successful run, there appear files nammed PARCHG.XXXX.ALLK, where XXXX stands for the index of orbital, e.g. PARCHG..01112.ALLK&lt;br /&gt;
&lt;br /&gt;
(those files are analogs of the .cube files in gaussian. note that vasp DOES not generate literal .cube files!)&lt;br /&gt;
&lt;br /&gt;
d. download these files and open then in the VMD - the same software you have used for the trajectories.&lt;br /&gt;
&lt;br /&gt;
I will have a look on the slides and let you nko if any quicl changes are needed or we can go ahead with this version&lt;br /&gt;
&lt;br /&gt;
Best wishes,&lt;br /&gt;
&lt;br /&gt;
Dmitri&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Step 2. Changing PARCHG Files to cube files (For Orbital Visualization)&lt;br /&gt;
| From what I have seen we need cube files to show in guassview AND VMD&lt;br /&gt;
|-&lt;br /&gt;
| Once obtained PARCH.####.ALLK Files then use following command in PHOTON to convert the orbitals you care about to cube!&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ~/vtstools/chg2cube.pl filename&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| selecting PARCHG&lt;br /&gt;
|-&lt;br /&gt;
| 1 6 7 8&lt;br /&gt;
| (These are the atomic numbers for the atoms in your system. In my case I have Hydrogen, Nitrogen, Oxygen, and Carbon&lt;br /&gt;
|-&lt;br /&gt;
| Your cube file is then generated&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| SEND cube files, POSCAR (OR CONTCAR), CHGCAR FILES TO DESKTOP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Step 3. Using VMD to generate orbitals&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Open VMD&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
In the VMD Main window go to “File” “new Molecule”&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Upload your&lt;br /&gt;
&lt;br /&gt;
1.POSCAR (OR POSSIBLY CONTCAR): By selecting VASP_POSCAR under the “Determine file type:”&lt;br /&gt;
&lt;br /&gt;
2. CHGCAR: By selecting VASP_CHGCAR under the “Determine file type:”&lt;br /&gt;
&lt;br /&gt;
3. USE THIS ONE PARCHG: By selecting VASP_PARCHG under the “Determine file type:” (Even though the file ends in .cube we are classifying it as PARCHG)&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_b0283f3c67e04e7d.png|219x134px]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_eae9e77b87b8627b.png|222x103px]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
After all three are uploaded,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
in the VMD Main window go to “Graphics” and then “Representations”&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
In the Graphical Representations window follow these three examples.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Change the file you are using by the dropdown menu of “selected Molecule”)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
The red lettering means that PARCHG Isosurface isn’t being shown. You can double click on the red lettering to make it black and showing on the OpenGL Display Window. Double click again to revert to black.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parchrg can be shown and can be visualized in conjungtion with the CHGCAR file&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_e7a558f4dc169c4e.png|121x260px]] [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6b15ffb6b911b765.png|124x266px]] [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_3734231f026ab64e.png|124x265px]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
-You can change the iso value in CHGCAR to get varying orbital visualizations.&lt;br /&gt;
&lt;br /&gt;
-Play with it.&lt;br /&gt;
&lt;br /&gt;
-Change the color by changing the ColorID to different ones.&lt;br /&gt;
&lt;br /&gt;
-(Range in CHGCAR doesn’t matter)&lt;br /&gt;
|&lt;br /&gt;
For Monomer Project Show&lt;br /&gt;
&lt;br /&gt;
all index 52 47 29 44 38 28 18 56 64&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
H52&lt;br /&gt;
&lt;br /&gt;
H47&lt;br /&gt;
&lt;br /&gt;
H29&lt;br /&gt;
&lt;br /&gt;
H44&lt;br /&gt;
&lt;br /&gt;
H38&lt;br /&gt;
&lt;br /&gt;
H28&lt;br /&gt;
&lt;br /&gt;
H18&lt;br /&gt;
&lt;br /&gt;
H56&lt;br /&gt;
&lt;br /&gt;
H64&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_c5f67d67a9a89fa7.png|355x180px]] [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_d4c6c68549d8e025.png|357x209px]]&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| To get rid of opaque water molecuels make both of these in “Graphics” “Materials” 123 is for faded bods and 124 is for the orbitals&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_8d905765b5183c3.png|142x229px]] [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_449e5be8bb4a3541.png|139x222px]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| For my Monomer_H2O first frame hide these atoms if you don’t want in view&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
O108&lt;br /&gt;
&lt;br /&gt;
O99&lt;br /&gt;
&lt;br /&gt;
O94&lt;br /&gt;
&lt;br /&gt;
O101&lt;br /&gt;
&lt;br /&gt;
O81&lt;br /&gt;
&lt;br /&gt;
O91&lt;br /&gt;
&lt;br /&gt;
O90&lt;br /&gt;
&lt;br /&gt;
O86&lt;br /&gt;
&lt;br /&gt;
O82&lt;br /&gt;
&lt;br /&gt;
O87&lt;br /&gt;
&lt;br /&gt;
O79&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
H73&lt;br /&gt;
&lt;br /&gt;
H45&lt;br /&gt;
&lt;br /&gt;
H62&lt;br /&gt;
&lt;br /&gt;
H51&lt;br /&gt;
&lt;br /&gt;
H58&lt;br /&gt;
&lt;br /&gt;
H50&lt;br /&gt;
&lt;br /&gt;
H48&lt;br /&gt;
&lt;br /&gt;
H14&lt;br /&gt;
&lt;br /&gt;
H22&lt;br /&gt;
&lt;br /&gt;
H36&lt;br /&gt;
&lt;br /&gt;
H42&lt;br /&gt;
&lt;br /&gt;
H31&lt;br /&gt;
&lt;br /&gt;
H20&lt;br /&gt;
&lt;br /&gt;
H23&lt;br /&gt;
&lt;br /&gt;
H35&lt;br /&gt;
&lt;br /&gt;
H30&lt;br /&gt;
&lt;br /&gt;
H54&lt;br /&gt;
&lt;br /&gt;
H59&lt;br /&gt;
&lt;br /&gt;
H25&lt;br /&gt;
|&lt;br /&gt;
all not index ### ### ### ###...&lt;br /&gt;
&lt;br /&gt;
all not index 108 99 94 101 81 91 90 86 82 87 79 73 45 62 51 58 50 48 14 22 36 42 31 20 23 35 30 54 59 25&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
backbone ithink&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
index 97 103 11 9 10 13 12 96 1 84 78 3 4 100 77 0 8 2 5 6 7&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;These are for the figure first frame for still seeing the water atoms but hazy&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
H22 14 26 19 30 35 15 17 60 69 73 62 45 34 40 16 21 37 27 55 53 49 24 32 43 39 33 67 70 71 65 75 76 66 72 68 63 59 50 51 58 54 48 20 47 23 36 42 31 25 74 61 57 41 46&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
O90 86 91 99 94 104 106 111 109 110 107 92 85 95 102 88 80 89 108 105 83 87 82 81 90 101 79 93&lt;br /&gt;
| 22 14 26 19 30 35 15 17 60 69 73 62 45 34 40 16 21 37 27 55 53 49 24 32 43 39 33 67 70 71 65 75 76 66 72 68 63 59 50 51 58 54 48 20 47 23 36 42 31 25 74 61 57 41 46 90 86 91 99 94 104 106 111 109 110 107 92 85 95 102 88 80 89 108 105 83 87 82 81 90 101 79 93&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Index for Diagram for pics Middle Frame for H20 molecules&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
H63&lt;br /&gt;
&lt;br /&gt;
H33&lt;br /&gt;
&lt;br /&gt;
H17&lt;br /&gt;
&lt;br /&gt;
H21&lt;br /&gt;
&lt;br /&gt;
60&lt;br /&gt;
&lt;br /&gt;
68&lt;br /&gt;
&lt;br /&gt;
42&lt;br /&gt;
&lt;br /&gt;
38&lt;br /&gt;
&lt;br /&gt;
34&lt;br /&gt;
&lt;br /&gt;
50&lt;br /&gt;
&lt;br /&gt;
72&lt;br /&gt;
&lt;br /&gt;
73&lt;br /&gt;
&lt;br /&gt;
16&lt;br /&gt;
&lt;br /&gt;
61&lt;br /&gt;
&lt;br /&gt;
55&lt;br /&gt;
&lt;br /&gt;
71&lt;br /&gt;
&lt;br /&gt;
59&lt;br /&gt;
&lt;br /&gt;
69&lt;br /&gt;
&lt;br /&gt;
40&lt;br /&gt;
&lt;br /&gt;
14&lt;br /&gt;
&lt;br /&gt;
39&lt;br /&gt;
&lt;br /&gt;
74&lt;br /&gt;
&lt;br /&gt;
67&lt;br /&gt;
&lt;br /&gt;
53&lt;br /&gt;
&lt;br /&gt;
49&lt;br /&gt;
&lt;br /&gt;
41&lt;br /&gt;
&lt;br /&gt;
52&lt;br /&gt;
&lt;br /&gt;
27&lt;br /&gt;
&lt;br /&gt;
15&lt;br /&gt;
&lt;br /&gt;
31&lt;br /&gt;
&lt;br /&gt;
23&lt;br /&gt;
&lt;br /&gt;
54&lt;br /&gt;
&lt;br /&gt;
62&lt;br /&gt;
&lt;br /&gt;
32&lt;br /&gt;
&lt;br /&gt;
64&lt;br /&gt;
&lt;br /&gt;
30&lt;br /&gt;
&lt;br /&gt;
26&lt;br /&gt;
&lt;br /&gt;
57&lt;br /&gt;
&lt;br /&gt;
37&lt;br /&gt;
&lt;br /&gt;
51&lt;br /&gt;
&lt;br /&gt;
58&lt;br /&gt;
&lt;br /&gt;
70&lt;br /&gt;
&lt;br /&gt;
43&lt;br /&gt;
&lt;br /&gt;
25&lt;br /&gt;
&lt;br /&gt;
35&lt;br /&gt;
&lt;br /&gt;
46&lt;br /&gt;
&lt;br /&gt;
45&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
O80&lt;br /&gt;
&lt;br /&gt;
87&lt;br /&gt;
&lt;br /&gt;
99&lt;br /&gt;
&lt;br /&gt;
81&lt;br /&gt;
&lt;br /&gt;
88&lt;br /&gt;
&lt;br /&gt;
105&lt;br /&gt;
&lt;br /&gt;
104&lt;br /&gt;
&lt;br /&gt;
91&lt;br /&gt;
&lt;br /&gt;
90&lt;br /&gt;
&lt;br /&gt;
106&lt;br /&gt;
&lt;br /&gt;
97&lt;br /&gt;
&lt;br /&gt;
108&lt;br /&gt;
&lt;br /&gt;
102&lt;br /&gt;
&lt;br /&gt;
89&lt;br /&gt;
&lt;br /&gt;
93&lt;br /&gt;
&lt;br /&gt;
101&lt;br /&gt;
&lt;br /&gt;
92&lt;br /&gt;
&lt;br /&gt;
107&lt;br /&gt;
&lt;br /&gt;
78&lt;br /&gt;
&lt;br /&gt;
109&lt;br /&gt;
&lt;br /&gt;
86&lt;br /&gt;
&lt;br /&gt;
83&lt;br /&gt;
&lt;br /&gt;
94&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
63 33 17 21 60 68 42 38 34 50 72 73 16 61 55 71 59 69 40 14 39 74 67 53 49 41 52 27 15 31 23 54 62 32 64 30 26 57 37 51 58 70 43 25 35 46 45 80 87 99 81 88 105 104 91 90 106 97 108 102 89 93 101 92 107 78 109 86 83 94&lt;br /&gt;
&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_783e625ce0b8a321.png|182x247px]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Preparation of TDESMD Orbital Files and Job Submission&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mkdir TDESMD_111_114&lt;br /&gt;
| We will now use the information of the CANDIDATES file and create new folder for each scenario. You create a file titled using the orbitals involved. In my case the first scenario is with orbitals 111 and 114&lt;br /&gt;
|-&lt;br /&gt;
| cd TDESMD_111_114&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_111_114/INCAR_EXCITED&lt;br /&gt;
| Taking INCAR_EXCITED file from location. In my case it is here.&lt;br /&gt;
|-&lt;br /&gt;
| vi INCAR_EXCITED&lt;br /&gt;
| Edit the INCAR_EXCITED file to make it look like&lt;br /&gt;
|-&lt;br /&gt;
| i&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_79a32df6f9f33bb0.png|303x201px]]&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
Change FERWE=#### to match the total number of orbitals/bands. In this example we have a total number of 160 bands/orbitals.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The first segment of FERWE, “110*1” says we have the first 110 orbitals occupied. The second portion is orbital number 111 which we have listed as a “0” signifying this orbital is unnoccopied for our job submission. Then orbital number 112 is occupied with “1”. Then orbital number 113 is unoccupied with “0”. Then orbital number 114 is occupied with “1”. The last part of “46*0” is talking about the other orbitals not mentioned. These orbital should add up to 160. These numbers change with the differing orbitals designating in the CANDIDATES FILE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The main thing that is changing is the position of one occupied orbital and one unoccupied orbital when the compound is in ground state. In this example number 111 is usually occupied in ground state and we are moving the electron to 114 which is unoccupied in ground state.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| ONE more example is as follows. With TDESMD_102_115&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_51e84877e4374ca6.png|300x199px]]&lt;br /&gt;
|-&lt;br /&gt;
| “esc” key&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/POSCAR ./CONTCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/KPOINTS&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/POTCAR&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_111_114/debug1.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sbatch debug1.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Creating Videos from movieAll.xyz files and uploading them on youtube&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| scp –r TDESMD_###_### DestinationUser:/DestinationLocation&lt;br /&gt;
|&lt;br /&gt;
Starting in cori&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using this to send files from cori to photon. We specifically want the movieALL.xyz files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is sending the WHOLE directory and everything it contains&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
--OPEN A NEW TAB IN MOBA XTERM--&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Without logging into the account you should be able to see if you are on your current computer&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ls&lt;br /&gt;
| make sure you are in your computer directory. Usually you will see “DESKTOP” as an option&lt;br /&gt;
|-&lt;br /&gt;
| cd DESKTOP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mkdir TDESMD_###_###&lt;br /&gt;
|&lt;br /&gt;
In DESKTOP&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
generate TDESMD_###_### directories&lt;br /&gt;
|-&lt;br /&gt;
| scp kilin@photon.chem.ndsu.nodak.edu:/scratch001/Chem_476/CHEM676_2019/Meade/DIMER/TDESMD_##_###/movieALL.xyz .&lt;br /&gt;
| WHILE IN THE TDESMD DIRECTORY THAT YOU WANT TO BE THE DESTINATION take “movieALL.xyz” from photon and put into specific directory&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| Once the file is in your desktop you can go to your windows folders and open it to check if it is there.&lt;br /&gt;
|-&lt;br /&gt;
| In windows search bar&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| VMD&lt;br /&gt;
|&lt;br /&gt;
type vmd in windows search bar and open it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
VMD will open with multiple screens.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| We will focus on this screen first to open all the extra screens we need. (VMD Main)&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_5f31d31c2c72c623.png|244x114px]]&lt;br /&gt;
|-&lt;br /&gt;
| Press “File”, “New Molecule,”&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| On the window that comes up (Molecule File Browser) Press “Browse” and find the file you would like. Find the file you want. In this example it is an xyz file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Once A file is picked then press “Load” in the Molecule File Browser window.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Going back to VMD Main&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Press “Graphics” and Representations to open a long slender screen.(VMD Main)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_c8cfeb66ca7723b0.png|225x487px]]&lt;br /&gt;
|-&lt;br /&gt;
| Press the “Create Rep” Button (Graphical Representation window)&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| With one of the “Reps” highlighted in green, in the drawing Method switch from Lines to VDW&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Change the Sphere scale to 0.2.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Resolution can stay at default or can be raised if desired.&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6ceb4d7e0c7c142a.png|157x340px]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Click on the other line that still says “LINES” and in the Drawing Method change it to Dynamic Bonds&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Change Distance Cutoff to 1.6&lt;br /&gt;
&lt;br /&gt;
Bond Radius to 0.1&lt;br /&gt;
&lt;br /&gt;
And Resolution can stay at default or be increased&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_dba6c2b704e3401a.png|158x337px]]&lt;br /&gt;
|-&lt;br /&gt;
| Go back to VMD Main&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Go to “Extensions,” “Visualizations,” and “Movie maker”&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Go to the VMD Movie Generator window&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| In the box of “Name of movie” type the TDESMD_##_### you have.&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_b50ecc50051093d9.png|214x167px]]&lt;br /&gt;
|-&lt;br /&gt;
| “Set Working Directory“ choose the destination directory you want the movie to go to.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| “Rotation Angle” I put it to 0 but you can put it to whatever.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| “trajectory step size” 1&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| “Movie Duration” This depends on your frames from the (VMDMain) Usually 1000 frames is about 20-30 seconds if the speed (step) is set to 1. But By changing the speed of the video we should make the total video length to 30-45 seconds long.&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_b50ecc50051093d9.png|232x181px]]&lt;br /&gt;
|-&lt;br /&gt;
| Back to VMD Main window&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Press “Mouse,” “Label,” “Bonds”&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| click on two neighboring atoms to get the atom name and bond length&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
IN VMD Main, go to “Graphics” and “Labels.” select “atoms” in the drop down menu on the “Labels” window.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select all atoms by clicking on the top atom and then “SHIFT+left click” the bottom atom to select all atoms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
While all atoms are selected (highlighted in green). Go to “Properties” and in the “Format” box type %e%i.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(The %e gives the element and the %i gives the index number)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some information can be presented by simply having your cursor over the %e%i and a yellow box will pop up for some info.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can move the lettering of each atom by moving the offset information.&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_46eab8f828aa40bc.png|215x201px]]&lt;br /&gt;
|-&lt;br /&gt;
| Click the global properties and change text size and text thickness. ( all of this can be see in the (VMD1.9.3 OpenGL Display) [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_260ebe13a2eda05.png|162x114px]]&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_3968014bc41ed6a4.png|224x212px]]&lt;br /&gt;
|-&lt;br /&gt;
| in VMD movie Generator press “make movie” and quickly in VMD main press the play button.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Once the video is done a popup should be produced asking where to find videomach. Here is the directory for my computer.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:\Program Files (x86)\VideoMach\videomach.exe&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Once you put in the file videomach.exe then videomach should show up.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Switch the file type to MP4&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_6a986dcfd4344618.png|374x27px]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_da932791910b2a04.png|167x188px]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_d35497678abed954.png|155x364px]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| Polymer/Monomer Photodegradation: TDESMD 91 121 Bond Data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
Bond lengths shown (white lettering) are chosen to see if this degradation simulation relates to the photo cleavage explained in this specified paper.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Angew. Chem. Int. Ed. 2015, 54, 1159 –1163&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The transition energy for this excitation is 0.24386664.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From conformation labeled as &amp;amp;quot;DIMER&amp;amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Acknowledgements: Dr. Dmitri Kilin&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Obtaining MASSPECTRUM Data from FERWE TDESMD Calculations&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| We will be using python scripts that are premade. In PHOTON&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| go to the TDESMD_###_### directory you want to go to&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| in here make another directory called massspectrum&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mkdir massspectrum&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cd masssspectrum&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /Location/movieALL.xyz&lt;br /&gt;
| This should be from the TDESMD_###_### you are in.&lt;br /&gt;
|-&lt;br /&gt;
| cp /Location/script1n.py&lt;br /&gt;
| /scratch001/Chem_476/CHEM676_2019/Meade/Pythonscript/script1n.py&lt;br /&gt;
|-&lt;br /&gt;
| babel –ixyz movieALL.xyz shot.xyz -m&lt;br /&gt;
|&lt;br /&gt;
Creating shot files. Each shot is a “frame” from the video.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Record number of molecules converted.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-2055 molecules converted&lt;br /&gt;
&lt;br /&gt;
-2055 files output. The first is shot1.xyz&lt;br /&gt;
|-&lt;br /&gt;
| python3 script1n.py&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| enter number of molecules converted&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| a frequency file should be created&lt;br /&gt;
|-&lt;br /&gt;
| cp frequency.txt frequency1.txt&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| awk &#039;ORS=(!(NR%2)?&amp;amp;quot;\n&amp;amp;quot;:&amp;amp;quot; &amp;amp;quot;)&#039; RS=&amp;amp;quot; &amp;amp;quot; frequency.txt &amp;amp;gt; file1.txt&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp rmovingfile.sh&lt;br /&gt;
| /scratch001/Chem_476/CHEM676_2019/Meade/DIMER/TDESMD_112_116/massspectrum/MultipleCellMassSpec&lt;br /&gt;
|-&lt;br /&gt;
| bash rmovingfile.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| vi file1.txt&lt;br /&gt;
| Edit the file by deleting everything that doesn’t relate to the numbers.&lt;br /&gt;
|-&lt;br /&gt;
| i&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| before [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_b3731e92878413d2.png|289x328px]]&lt;br /&gt;
|&lt;br /&gt;
after&lt;br /&gt;
&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_c6aa114dd0a5843f.png|108x333px]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
IT IS NECESSARY TO MENTION THAT WHEN CREATING THE FRAGMENTS FILE AN EXTRA BLANK LINE WILL BE GENERATED. IT IS ESSENTIAL TO DELETE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_2104ec24e9b14aae.png|258x363px]]&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_36d7bfd4ff6b9e13.png|218x371px]]&lt;br /&gt;
|-&lt;br /&gt;
| “esc” key&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| :wq&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp file1.txt fragments&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| wc fragments&lt;br /&gt;
|&lt;br /&gt;
record the first number&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
in my case it is 21&lt;br /&gt;
|-&lt;br /&gt;
| ~/bin/DRESS_FRAGMENT_v2&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
21&lt;br /&gt;
&lt;br /&gt;
100&lt;br /&gt;
&lt;br /&gt;
300&lt;br /&gt;
&lt;br /&gt;
.1&lt;br /&gt;
&lt;br /&gt;
1&lt;br /&gt;
&lt;br /&gt;
62&lt;br /&gt;
&lt;br /&gt;
160&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
number of states&lt;br /&gt;
&lt;br /&gt;
Min MASS (can change if desired)&lt;br /&gt;
&lt;br /&gt;
Max MASS (can change if desired)&lt;br /&gt;
&lt;br /&gt;
width of the line used&lt;br /&gt;
&lt;br /&gt;
magnitude (keep at one)&lt;br /&gt;
&lt;br /&gt;
number of atoms&lt;br /&gt;
&lt;br /&gt;
number of electrons&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Plotting FERWE MASSPECTRUM&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| gnuplot&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| set style line 4 lw 100 lc -1; unset key; plot &amp;amp;quot;MASS_SPEC.norm&amp;amp;quot; using 3:5 w l lw 3; set xlabel &#039;Molecular Weight, amu&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Intensity (a.u)&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Mass Spectrum Dimer Multiple Cells&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0&lt;br /&gt;
| e in the directory of the file you want to plot, in this example we are using MASS_SPEC.norm as our file with the data we want.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
set style line 4 lw 100 lc -1; unset key; plot &amp;amp;quot;MASS_SPEC.norm&amp;amp;quot; using 3:5 w l lw 3; set xlabel &#039;Molecular Weight, amu&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Intensity (a.u)&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Mass Spectrum Monomer H2O Multiple Cells&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To press the right mouse button and move mouse to preferred window size. Then left click&lt;br /&gt;
| monomer h20&lt;br /&gt;
|-&lt;br /&gt;
| ressing p takes you to the previous zoom level, n to the next level, and u unzooms&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| set style line 4 lw 100 lc -1; unset key; plot &amp;amp;quot;MASS_SPEC.norm&amp;amp;quot; using 3:5 w l lw 3; set xlabel &#039;Molecular Weight, amu&#039; font &amp;amp;quot;,30&amp;amp;quot; offset 0,-2,0; set ylabel &#039;Intensity&#039; font &amp;amp;quot;,30&amp;amp;quot; offset -1,0,0; set title &amp;amp;quot;Mass Spectrum Dimer Multiple Cells&amp;amp;quot; font &amp;amp;quot;,30&amp;amp;quot; offset 0,0.5,0; set tics font &amp;amp;quot;,30&amp;amp;quot;; set ytics offset 0,0,0; set xtics offset -0.4,-1,0&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Obtaining Multiple Cell MASSPECTRUM Data from FERWE TDESMD Calculations&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Make sure TDESMD CONTCAREXICTED and CONTCARGROUND files have been generated. Start in Cori go to Photon&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/test.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/ test_o.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/ANA_v2.exe&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/input_ANA&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cp /global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/CONTCAREXICTED and GROUNDFILES&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
Take these files from Cori and put them into photon.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These two files are needed for running the scripts properly&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These are the “important parts of the code”&lt;br /&gt;
&lt;br /&gt;
~/vtstools3/pos2xyz.pl CONTCAR&lt;br /&gt;
&lt;br /&gt;
cp CONTCAR.xyz INPUT.xyz&lt;br /&gt;
&lt;br /&gt;
~/bin/ANA_v2.exe&lt;br /&gt;
&lt;br /&gt;
cat OUTPUT.xyz &amp;amp;gt; movieANA.xyz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
input_ANA should have similar format to this&lt;br /&gt;
&lt;br /&gt;
Where the first 3 numbers are from POSCAR, the last 3 are the number of cells in the x,y,z axes respectively. This files was duplicated across Z axis.&lt;br /&gt;
&lt;br /&gt;
18.54438999999999&lt;br /&gt;
&lt;br /&gt;
14.45937999999995&lt;br /&gt;
&lt;br /&gt;
17.76793999999994&lt;br /&gt;
&lt;br /&gt;
1&lt;br /&gt;
&lt;br /&gt;
1&lt;br /&gt;
&lt;br /&gt;
10&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
~/vtstools3/pos2xyz.pl CONTCAR&lt;br /&gt;
&lt;br /&gt;
cp CONTCAR.xyz INPUT.xyz&lt;br /&gt;
&lt;br /&gt;
~/bin/ANA_v2.exe&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cat OUTPUT.xyz &amp;amp;gt; movieANA.xyz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
Delete movieANA.xyz if you have it already.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
( This is to make sure the OUTPUT and initial part of the moveANA.xyz file is what it needs to be. In my situation I wanted to have 10 cells combined together.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I used input_ANA&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
CHECK to see if OUTPUT has the correct number of atoms&lt;br /&gt;
&lt;br /&gt;
[[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_4a92367ce10afd50.png|624x64px]]&lt;br /&gt;
| Single cell had 620 atoms, I multipled it by 10 since I wanted to duplicate 10 times. If this is good procede to next steps&lt;br /&gt;
|-&lt;br /&gt;
| vi test.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_19d33c90b0cefb7a.png|278x215px]]&lt;br /&gt;
| change the number to later stage in your trajectory(or the number where you think degradation had occurred. For example my total CONTCARGround and excited was about 191 files. I saw degradation occur later in the simulation so I chose the number 190. This changes with the simulations.&lt;br /&gt;
|-&lt;br /&gt;
| bash test.sh&lt;br /&gt;
| this runs the test.sh file&lt;br /&gt;
|-&lt;br /&gt;
| bash test_o.sh&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| NOW LOOKING INTO PHOTON&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp all files into photon directory&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| cp /Location/script1n.py&lt;br /&gt;
| /scratch001/Chem_476/CHEM676_2019/Meade/Pythonscript/script1n.py&lt;br /&gt;
|-&lt;br /&gt;
| babel –ixyz movieANA.xyz shot.xyz -m&lt;br /&gt;
|&lt;br /&gt;
Creating shot files. Each shot is a “frame” from the video.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Record number of molecules converted.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-2055 molecules converted&lt;br /&gt;
&lt;br /&gt;
-2055 files output. The first is shot1.xyz&lt;br /&gt;
|-&lt;br /&gt;
| Follow regular mass spec steps from above. Rather than using MovieALL we are using movieANA.xyz.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
photon&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/scratch001/Chem_476/CHEM676_2019/Meade/DIMER/TDESMD_112_116/massspectrum/MultipleCellMassSpec&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cori&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/global/cfs/cdirs/m1251/vasp/CHEM676/meade/DIMER/TDESMD_112_116/massspec/MultipleCellMassSpec/test&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| plummer code for renaming files&lt;br /&gt;
| /global/project/projectdirs/m1251/vasp/CHEM676/meade/MONOMER_H2O/TDESMD_162_167/massspec/multiplemassspectest/plumoutput&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;How to read/get the fragments with their xyz coordinates&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Go into the directory with the shot files with the multiple cells. Make sure that some files have this comment inside of them by opening a shot file that has name shot##n#.xyz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The comment should be.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
created by duplicating cells#&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| grep -E &#039;created by duplicating cells.* 17.&#039; shot*&lt;br /&gt;
|&lt;br /&gt;
finds lines that have both “created by duplicating cells” and the number 17 in the same line.&lt;br /&gt;
&lt;br /&gt;
17 is the mass number we are looking for&lt;br /&gt;
&lt;br /&gt;
I am unsure what the “.*” does in this code&lt;br /&gt;
&lt;br /&gt;
make sure there is a space between the * and the 17&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Then open one of the xyz files listed.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Literally drag and copy the file information into a notepad document in your desktop.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| more shot291n10.xyz&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_9c48a58b9e24dc27.png|210x268px]]&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_7c3a89906ed25e30.png|180x270px]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| open the xyz file in Avogadro and save as mol file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| the Avogadro file is correct visualization of the fragments. Mol file will have some defects so you will have to change those.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Making Video from output of VASP&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
~/vtstools3/pos2xyz.pl CONTCAR&lt;br /&gt;
&lt;br /&gt;
cp CONTCAR.xyz INPUT.xyz&lt;br /&gt;
&lt;br /&gt;
~/bin/ANA_v2.exemore&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cat OUTPUT.xyz &amp;amp;gt; movieANA.xyz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
Delete movieANA.xyz if you have it already.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
( This is to make sure the OUTPUT and initial part of the moveANA.xyz file is what it needs to be. In my situation I wanted to have 10 cells combined together.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I used input_ANA&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;LAAMPS&#039;&#039;&#039;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_796f3aade1e5b306.png|314x150px]]&lt;br /&gt;
|&lt;br /&gt;
testwater file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Epsolon is Inputs from something like DFT&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Coloumns:&lt;br /&gt;
&lt;br /&gt;
Atom ID&lt;br /&gt;
&lt;br /&gt;
Molecule ID&lt;br /&gt;
&lt;br /&gt;
Atom Type&lt;br /&gt;
&lt;br /&gt;
Q - charge&lt;br /&gt;
&lt;br /&gt;
X&lt;br /&gt;
&lt;br /&gt;
Y&lt;br /&gt;
&lt;br /&gt;
Z&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_f474cba5e65bdaab.png|306x66px]]&lt;br /&gt;
| This infor can be put in input script if desired.&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_a9802b534de46367.png|624x180px]]&lt;br /&gt;
|&lt;br /&gt;
bond id&lt;br /&gt;
&lt;br /&gt;
bond tuype&lt;br /&gt;
&lt;br /&gt;
atom id that connects&lt;br /&gt;
&lt;br /&gt;
atom id that connects as well&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_3b00d172c3a15f2b.png|310x103px]]&lt;br /&gt;
|&lt;br /&gt;
Angle ID&lt;br /&gt;
&lt;br /&gt;
Angle Type 1 being single bond 2 being double, etc&lt;br /&gt;
&lt;br /&gt;
Item ID such as first atom O , 2&amp;lt;sup&amp;gt;nd&amp;lt;/sup&amp;gt; and 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; atom H&lt;br /&gt;
|-&lt;br /&gt;
| qsub submit.sh&lt;br /&gt;
| submits the job using submit.sh&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;background: #101010&amp;quot;&amp;gt;qstat -u meade.erickson&amp;lt;/span&amp;gt;&lt;br /&gt;
| shoes me my jobs&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;background: #101010&amp;quot;&amp;gt;chmod -777 lmp_mpi_12Dec18&amp;lt;/span&amp;gt;&lt;br /&gt;
| modifies permission for this file&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| [meade.erickson@login0002 testwater]$ chmod -777 ~/bin/lmp_mpi_12Dec18&lt;br /&gt;
| giving permission while in a different&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| topo readlammpsdata project.data&lt;br /&gt;
| reads data file for vmd tk console&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Inputting files, put in .dcd file then right click on it and “Load Data into Molecule” then select .data file.&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| [[File:VASP_VMD_LAMMPS_CCAST_LINUX_HTML_73b2551819922e26.png|287x164px]]&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| module avail&lt;br /&gt;
| Available software in ccast&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| qdet job id&lt;br /&gt;
| qdel ######&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| fragment 0 to 9 or fragment 14&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
| &amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sysadmin</name></author>
	</entry>
</feed>