Skip to content

Commit 5e87f13

Browse files
committed
todays content
1 parent c6ad449 commit 5e87f13

File tree

7 files changed

+546
-3
lines changed

7 files changed

+546
-3
lines changed

_practice/2022-10-26.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
1. Create an sbatch script to run your script from the review on a compute node. [see the options](https://web.uri.edu/hpc-research-computing/using-seawulf/#sbatch)
2+
1. **priority** File permissions are represented numerically often in octal, by transforming the permissions for each level (owner, group, all) as binary into a number. Add `octal.md` to your KWL repo and answer the following. Try to think through it on your own, but you may look up the answers, as long as you link to (or ideally cite using jupyterbook citations) a high quality source.
3+
```
4+
1. Transform the permissions [`r--`, `rw-`, `rwx`] to octal, by treating it as three bits.
5+
1. Transform the permission we changed our script to `rwxr-xr-x` to octal.
6+
1. Which of the following would prevent a file from being edited by other people 777 or 755?
7+
```
8+
1. Answer the following in `hpc.md` of your KWL repo: (to think about how the design of the system we used in class impacts programming and connect it to other ideas taught in CS)
9+
```
10+
1. What kinds of things would your code need to do if you were going to run it on an HPC system?
11+
1. What Sbatch options seem the most helpful?
12+
1. How might you go about setting the time limits for a script? How could you estimate how long it will take?
13+
```
14+
1. Create `ssh.md` and include either `# 3 tips for SSH keys` or `# 3 things to avoid with SSH keys`. For each tip/misconceptions include an explanation of why it is important/wrong.
15+
```{index} ssh.md
16+
```
17+
18+
```{index} hpc.md
19+
```
20+
21+
```{index} octal.md
22+
```
23+
24+
```{admonition} Extension ideas
25+
1. use the server for something for another class or a side project
26+
1. extend your `ssh.md` file to icndlue both tips and misconceptions and/or more.
27+
```

_prepare/2022-10-26.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
1. Make sure that you have a C compiler installed on your computer. [ideally gcc](https://gcc.gnu.org/install/)
2+
1. Update your KWL chart. bring questions on anything we have covered so far.

_review/2022-10-26.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
1. Review the notes (to reinforce ideas and improve your memory of them)
2+
1. create a bash script that counts the number of lines in each `.fastq` file, saves the line counts to a text file, then finds how many times `Act5C` is in `dmel-all-r6.19.gtf` on the server. (save this on the server; we'll get it downloaded locally later)
3+
1. Configure ssh keys to your [GitHub account](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account) (this is actually GitHub's preferred terminal authentication method)
4+
1. Contribute to your group repo and review someone else's contribution

activities/practice.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,11 @@ Activities:
137137

138138
Activities:
139139
```{include} ../_practice/2022-10-24.md
140-
```
140+
```
141+
## 2022-10-26
142+
143+
[related notes](../notes/2022-10-26)
144+
145+
Activities:
146+
```{include} ../_practice/2022-10-26.md
147+
```

activities/prepare.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,4 +165,11 @@ Activities:
165165

166166
Activities:
167167
```{include} ../_prepare/2022-10-24.md
168-
```
168+
```
169+
## 2022-10-26
170+
171+
[related notes](../notes/2022-10-26)
172+
173+
Activities:
174+
```{include} ../_prepare/2022-10-26.md
175+
```

activities/review.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,4 +161,11 @@ Activities:
161161

162162
Activities:
163163
```{include} ../_review/2022-10-24.md
164-
```
164+
```
165+
## 2022-10-26
166+
167+
[related notes](../notes/2022-10-26)
168+
169+
Activities:
170+
```{include} ../_review/2022-10-26.md
171+
```

0 commit comments

Comments
 (0)