Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
319 commits
Select commit Hold shift + click to select a range
1003880
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
9cd408a
Add files via upload
luque82 Oct 27, 2021
6e0297b
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
2dffa69
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
702510d
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
f329a56
Update capsid_anatomy_session_2021-10-26.md
luque82 Oct 27, 2021
ec2a4ab
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
d6beb3d
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
0e74aba
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
552e14a
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
16235fd
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
ab5c859
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
e3d7eea
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
b26e5d5
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
eff734b
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
d57b468
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
6182d6c
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
6526e5e
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
5b0eb11
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
0649d44
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
be9d86c
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
6fec361
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
7c86613
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
97e52c0
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
5fc2677
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
ab9dbb0
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
dcbe88d
STNV gif animation
luque82 Oct 27, 2021
1603555
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
c92b5a5
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
d20dd6b
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
80f00ad
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
4cc29ca
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
c099aea
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
cfc3685
Update synthesis.md
luque82 Oct 27, 2021
ec407b5
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
f6a2edd
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
d693f18
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
eedeffe
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
7e1532e
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
fe47bff
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 27, 2021
e141627
Update capsid_anatomy_session_2021-10-27.md
luque82 Oct 28, 2021
98cd2ac
Update capsid_anatomy_session_2021-10-26.md
luque82 Oct 28, 2021
3115e9c
Update _config.yml
jessica-vogt Oct 28, 2021
c5ef265
Update lab_public_documentation.md
jessica-vogt Oct 28, 2021
d197b32
Update agenda.md
caitlinbartels Oct 28, 2021
2fbf6e8
Update Luque_Lab_Events_Record.csv
caitlinbartels Oct 28, 2021
d3c0527
Create footer_custom.html
jessica-vogt Nov 5, 2021
9ff576b
Update _config.yml
jessica-vogt Nov 5, 2021
d77ce89
Merge branch 'gh-pages' of https://github.com/luquelab/Athena into gh…
luque82 Nov 11, 2021
d6751db
update
luque82 Nov 11, 2021
18d8328
Add session 3 information.
luque82 Nov 11, 2021
2498b76
Add Lee et al pre-print
luque82 Nov 11, 2021
2398af9
Add relevant figures from Lee et al.
luque82 Nov 11, 2021
3dec6e1
Add access to the main files for the session
luque82 Nov 11, 2021
76b65cb
Update text with images.
luque82 Nov 11, 2021
896c29a
Update text
luque82 Nov 11, 2021
dff2517
Write closure items
luque82 Nov 11, 2021
b821956
Add workshop branch
luque82 Nov 11, 2021
0e46aae
Update agenda.md
caitlinbartels Nov 11, 2021
1dbf51e
Update Luque_Lab_Events_Record.csv
caitlinbartels Nov 11, 2021
720043b
Zoom link for session 3
luque82 Nov 11, 2021
300ecd3
Merge branch 'gh-pages' of https://github.com/luquelab/Athena into gh…
luque82 Nov 11, 2021
2fcf32b
Add Session 3
luque82 Nov 11, 2021
35b95a0
Update agenda.md
caitlinbartels Nov 12, 2021
1f8d6f7
Add recruiting file and postdoc announcement
luque82 Nov 18, 2021
933c3e8
Update recruiting.md
luque82 Nov 18, 2021
8f60b0f
Update agenda.md
caitlinbartels Nov 18, 2021
b2950d1
Update agenda.md
caitlinbartels Nov 18, 2021
ca2f787
Update Luque_Lab_Events_Record.csv
caitlinbartels Nov 18, 2021
5cc1758
Update recruiting.md
luque82 Nov 18, 2021
eb35789
Update recruiting.md
luque82 Nov 18, 2021
f5591a4
Update agenda.md
caitlinbartels Dec 6, 2021
8bfe0aa
Update Luque_Lab_Events_Record.csv
caitlinbartels Dec 6, 2021
2dd6dc8
Update agenda.md
caitlinbartels Dec 8, 2021
b05e14d
Update agenda.md
caitlinbartels Dec 10, 2021
e34507a
Update Luque_Lab_Events_Record.csv
caitlinbartels Dec 10, 2021
25f9e37
Update children true
luque82 Dec 16, 2021
5767f18
Add PVOH project description
luque82 Dec 16, 2021
bcca1ee
Update and rename origin_virus_modeling_project_description.md to PVO…
luque82 Dec 16, 2021
c6cacf3
Update index.md
luque82 Dec 16, 2021
cb5af2b
Update PVOH_project_description.md
luque82 Dec 16, 2021
396dadf
Add grant parent front matter reference
luque82 Dec 16, 2021
625744b
Add PVOH project description figure
luque82 Dec 16, 2021
48d5c04
Update figure format to sag
luque82 Dec 16, 2021
2096bbd
Rename docs/organization/figure_small_capsids_2021-08-25.svg to docs/…
luque82 Dec 16, 2021
81f1edd
Update links for PIs and centers
luque82 Dec 16, 2021
8007114
Update agenda.md
caitlinbartels Dec 30, 2021
5e6887a
Update Luque_Lab_Events_Record.csv
caitlinbartels Dec 30, 2021
348280b
Update core-readings.md
anuradha1901 Feb 23, 2022
5c3f4a4
Update GitHub.md
anuradha1901 Feb 23, 2022
b557416
Update GitHub.md
anuradha1901 Feb 23, 2022
8320f99
Update GitHub.md
anuradha1901 Feb 23, 2022
812680e
Update GitHub.md
anuradha1901 Feb 23, 2022
5f07f21
Create Markdown
anuradha1901 Feb 23, 2022
db647d9
Delete GitHub.md
anuradha1901 Feb 23, 2022
a801a9d
Create GitHub_LuqueLab.md
anuradha1901 Feb 23, 2022
046beee
Update GitHub_LuqueLab.md
anuradha1901 Feb 23, 2022
a31f269
Updated the main page of github for luquelab
anuradha1901 Feb 23, 2022
95548e1
Update GitHub_LuqueLab.md
anuradha1901 Feb 23, 2022
47f7c66
Created Github repos
anuradha1901 Feb 23, 2022
4def7d7
Rename GitHub_repos to GitHub_repos.md
anuradha1901 Feb 23, 2022
19bdc9e
Update GitHub_repos.md
anuradha1901 Feb 23, 2022
712d78e
Update add_dropdowns.md
anuradha1901 Feb 23, 2022
17d3652
Update add_images.md
anuradha1901 Feb 23, 2022
57c8c7e
Create Git_commandline.md
anuradha1901 Feb 23, 2022
70c058c
Update index.md
anuradha1901 Feb 23, 2022
b083e9f
Update add_images.md
anuradha1901 Feb 23, 2022
2afb603
Update Git_commandline.md
anuradha1901 Feb 23, 2022
5aae39b
Delete Markdown
anuradha1901 Feb 23, 2022
88186b8
Create GitHub_pagesJekyll.md
anuradha1901 Feb 24, 2022
8fe908a
Update GitHub_pagesJekyll.md
anuradha1901 Feb 24, 2022
3d0bb76
Meeting Owl
anuradha1901 Mar 7, 2022
7bdaf03
Update GitHub_LuqueLab.md
anuradha1901 Mar 7, 2022
516aa4f
Update GitHub_LuqueLab.md
anuradha1901 Mar 7, 2022
7b8a089
Created Work_order.md
anuradha1901 Mar 8, 2022
80d11e6
Update Meetingowl.md
anuradha1901 Mar 8, 2022
7d08ee5
Update Work_orders.md
anuradha1901 Mar 8, 2022
af4fab8
Update Work_orders.md
anuradha1901 Mar 8, 2022
02ac06c
Update index.md
anuradha1901 Mar 8, 2022
be98331
Manual GitHub backup
anuradha1901 Mar 18, 2022
57a14b7
Update backup_github.md
anuradha1901 Mar 18, 2022
e036c52
Update GitHub_LuqueLab.md
anuradha1901 Mar 18, 2022
90e5f9c
Update recruiting.md
luque82 Mar 18, 2022
86279ad
Update index.md
luque82 Mar 18, 2022
18de28f
Create csrc_cluster.md
anuradha1901 Apr 16, 2022
2161eb2
Create vibrant.sh
anuradha1901 Apr 16, 2022
751981b
Create check.md
anuradha1901 Apr 16, 2022
8ff2839
Rename vibrant.sh to vibrant.md
anuradha1901 Apr 16, 2022
5bec12a
Update csrc_cluster.md
anuradha1901 Apr 16, 2022
57bb11d
Update and rename check.md to checkv.md
anuradha1901 Apr 16, 2022
71024da
Update checkv.md
anuradha1901 Apr 16, 2022
e725231
Update checkv.md
anuradha1901 Apr 16, 2022
5d08658
Update checkv.md
anuradha1901 Apr 16, 2022
35076b6
Update vibrant.md
anuradha1901 Apr 16, 2022
e1d3acb
Update checkv.md
anuradha1901 Apr 16, 2022
d5d5537
Add files via upload
anuradha1901 Apr 16, 2022
fed28b9
Add files via upload
anuradha1901 Apr 16, 2022
72e750d
Create anaconda_environment.md
anuradha1901 Apr 16, 2022
633891d
Update checkv.md
anuradha1901 May 30, 2022
266a776
Update anaconda_environment.md
anuradha1901 May 30, 2022
9dec3a5
Create PBS_torque.md
anuradha1901 May 30, 2022
27b387d
Update vibrant.md
anuradha1901 May 30, 2022
6fe2606
Create alphafold.md
anuradha1901 Jun 14, 2022
78d4dfd
Update alphafold.md
anuradha1901 Jun 14, 2022
a42e1e6
Update alphafold.md
anuradha1901 Jun 14, 2022
8e68094
Update alphafold.md
anuradha1901 Jun 14, 2022
2e2f827
Update index.md
anuradha1901 Aug 31, 2022
0f72178
Update PBS_torque.md
anuradha1901 Aug 31, 2022
2707e9a
Update anaconda_environment.md
anuradha1901 Aug 31, 2022
27bddb0
Update checkv.md
anuradha1901 Aug 31, 2022
bd736e7
Update csrc_cluster.md
anuradha1901 Aug 31, 2022
26e4cf8
Update vibrant.md
anuradha1901 Aug 31, 2022
e6f6a2f
Update alphafold.md
anuradha1901 Aug 31, 2022
f51ca35
Update GitHub_LuqueLab.md
anuradha1901 Aug 31, 2022
304b1e5
Update GitHub_pagesJekyll.md
anuradha1901 Aug 31, 2022
b552054
Update GitHub_repos.md
anuradha1901 Aug 31, 2022
d6ba649
Update Git_commandline.md
anuradha1901 Aug 31, 2022
0f580ef
Update backup_github.md
anuradha1901 Aug 31, 2022
e986005
Update capsid_anatomy_session_2021-10-26.md
anuradha1901 Aug 31, 2022
f3fbb54
Update capsid_anatomy_session_2021-10-27.md
anuradha1901 Aug 31, 2022
073b7f9
Update capsid_anatomy_session_2021-11-09.md
anuradha1901 Aug 31, 2022
f113942
Update capsid_anatomy_session_2021-11-11.md
anuradha1901 Aug 31, 2022
6a12fd9
Update index.md
anuradha1901 Aug 31, 2022
79029de
Update add_dropdowns.md
anuradha1901 Aug 31, 2022
61152c7
Update add_images.md
anuradha1901 Aug 31, 2022
0cfac7f
Update index.md
anuradha1901 Aug 31, 2022
0b8bc2b
Update Meetingowl.md
anuradha1901 Aug 31, 2022
ce95df3
Update SDSURF.md
anuradha1901 Aug 31, 2022
bd56052
Update Work_orders.md
anuradha1901 Aug 31, 2022
e4e0791
Update core-readings.md
anuradha1901 Aug 31, 2022
75af5d0
Update lab_public_documentation.md
anuradha1901 Aug 31, 2022
468730d
Update o'reilly-access-database.md
anuradha1901 Aug 31, 2022
620e5e0
Update PBS_torque.md
anuradha1901 Dec 12, 2022
51b1b5b
Update anaconda_environment.md
anuradha1901 Dec 12, 2022
95563db
Update checkv.md
anuradha1901 Dec 12, 2022
41b7e3f
Update vibrant.md
anuradha1901 Dec 12, 2022
d96cfb0
Create okular.md
anuradha1901 Dec 12, 2022
1dd4384
Update okular.md
anuradha1901 Dec 12, 2022
fc7ff65
Update okular.md
anuradha1901 Dec 12, 2022
5e3ed50
Update okular.md
anuradha1901 Dec 12, 2022
27283fe
Update alphafold.md
anuradha1901 Dec 12, 2022
a16af51
Create running_single_protein.md
anuradha1901 Dec 12, 2022
87e8ad6
Update running_single_protein.md
anuradha1901 Dec 12, 2022
b149758
Create running_multiple_files.md
anuradha1901 Dec 17, 2022
2782b8d
Update running_single_protein.md
anuradha1901 Dec 17, 2022
37e9964
Update running_multiple_files.md
anuradha1901 Dec 18, 2022
72b0cbd
pip process
anuradha1901 Feb 1, 2023
9b043f0
Update python_package_build_prcoess_pypi.md
anuradha1901 Feb 1, 2023
d139b07
Update python_package_build_prcoess_pypi.md
anuradha1901 Feb 1, 2023
ca238c2
Update python_package_build_prcoess_pypi.md
anuradha1901 Feb 1, 2023
3dabb14
Update lab_public_documentation.md
anuradha1901 Feb 1, 2023
c8d5aa9
Update GitHub_LuqueLab.md
anuradha1901 Feb 1, 2023
12b93e7
Update alphafold.md
anuradha1901 Feb 1, 2023
36391c2
Update csrc_cluster.md
anuradha1901 Feb 1, 2023
f176b1b
Update python_package_build_prcoess_pypi.md
anuradha1901 Feb 1, 2023
14f0eae
Update python_package_build_prcoess_pypi.md
anuradha1901 Feb 1, 2023
57bbd59
Update running_single_protein.md
anuradha1901 Feb 6, 2023
81f2987
Update running_multiple_files.md
anuradha1901 Feb 6, 2023
f75d0c4
Update running_single_protein.md
anuradha1901 Feb 6, 2023
0ee6971
Create setup_alphafold.md
anuradha1901 Feb 6, 2023
b6326d6
Update setup_alphafold.md
anuradha1901 Feb 6, 2023
10235dd
Update alphafold.md
anuradha1901 Feb 6, 2023
67a7bc3
Update python_package_build_prcoess_pypi.md
anuradha1901 Mar 11, 2023
c46c594
Update python_package_build_prcoess_pypi.md
anuradha1901 Mar 11, 2023
8df28a1
Create conda_package.md
anuradha1901 Mar 29, 2023
257113e
Delete python_package_build_prcoess_pypi.md
anuradha1901 Mar 29, 2023
539a309
Create pip_package
anuradha1901 Mar 29, 2023
fb22779
Update conda_package.md
anuradha1901 Mar 29, 2023
3db3192
Rename pip_package to pip_package.md
anuradha1901 Mar 29, 2023
964c29f
Create conda_package.md
anuradha1901 Mar 29, 2023
8ac6837
Delete pip_package.md
anuradha1901 Mar 29, 2023
4db7376
Delete conda_package.md
anuradha1901 Mar 29, 2023
f7b1f7d
Create pip_package.md
anuradha1901 Mar 29, 2023
75e492b
Create conda.md
anuradha1901 Mar 30, 2023
6999142
Create pip.md
anuradha1901 Mar 30, 2023
2cda489
Delete pip_package.md
anuradha1901 Mar 30, 2023
68a0e45
Delete conda_package.md
anuradha1901 Mar 30, 2023
dd2fc12
Update conda.md
anuradha1901 Mar 30, 2023
63269cb
Add external tutorials
anuradha1901 May 11, 2023
903dd44
Update alphafold.md
anuradha1901 May 15, 2023
ff2ee67
Create pip.md
anuradha1901 May 15, 2023
c5db04e
Delete pip.md
anuradha1901 May 15, 2023
a7d2212
Create conda.md
anuradha1901 May 15, 2023
87b5189
Delete conda.md
anuradha1901 May 15, 2023
e1f4420
Create index.md
anuradha1901 May 15, 2023
377965f
Update pip.md
anuradha1901 May 15, 2023
b0a3e8b
Update conda.md
anuradha1901 May 15, 2023
d7a9829
Update pip.md
anuradha1901 May 15, 2023
8651fcb
Update core-readings.md
anuradha1901 May 15, 2023
f8729a8
Update o'reilly-access-database.md
anuradha1901 May 15, 2023
785ca87
Update Work_orders.md
anuradha1901 May 15, 2023
05860ab
Update SDSURF.md
anuradha1901 May 15, 2023
1aa12a8
Update Meetingowl.md
anuradha1901 May 15, 2023
4309b7d
Update alphafold.md
anuradha1901 May 15, 2023
5992409
Update csrc_cluster.md
anuradha1901 May 15, 2023
57bb896
Update backup_github.md
anuradha1901 May 15, 2023
d4b7a9b
Update PBS_torque.md
anuradha1901 May 15, 2023
8df070d
Update anaconda_environment.md
anuradha1901 May 15, 2023
505870d
Update checkv.md
anuradha1901 May 15, 2023
67b386c
Update vibrant.md
anuradha1901 May 15, 2023
186b7e8
Update okular.md
anuradha1901 May 15, 2023
654573f
Create github_website.md
anuradha1901 May 15, 2023
b8fdd70
Create googlecolab.md
anuradha1901 May 26, 2023
e2fdd06
Update googlecolab.md
anuradha1901 May 26, 2023
ff128f0
Update googlecolab.md
anuradha1901 May 26, 2023
9306a91
Adding documentation of job submission on CSRC cluster for pyCapsid.
colintravisbrown Aug 8, 2023
d6aa211
Fixing formatting
colintravisbrown Aug 8, 2023
8071a8a
Improving pyCapsid on cluster tutorial
colintravisbrown Aug 10, 2023
4ba8134
Adjusting formatting
colintravisbrown Aug 11, 2023
93af1e2
Adjusting formatting
colintravisbrown Aug 11, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
Binary file added docs/.DS_Store
Binary file not shown.
6 changes: 6 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,10 @@ remote_theme: pmarsceill/just-the-docs
### Color scheme supports "light" (default) and "dark"
color_scheme: light

date_format: "%B %d, %Y"

aux_links:
"Athena on GitHub":
- "//github.com/luquelab/Athena"


3 changes: 3 additions & 0 deletions docs/_includes/footer_custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<p class="text-small text-grey-dk-100 mb-0">{{ site.footer_content }}
Site Last Updated: {{ "now" | date: site.date_format }}
</p>
14 changes: 14 additions & 0 deletions docs/_includes/head_custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<head>

<!-- Added Mathjax support -->
<script>
window.MathJax = {
tex: {
tags: 'ams'
}
};
</script>
<script src="https://polyfill.io/v4/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>

</head>
76 changes: 76 additions & 0 deletions docs/courses/CSRC cluster/PBS_torque.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
---
layout: default
title: Job Submission on Cinci
nav_order: 1
parent: CSRC cluster
grand_parent: Lab Documentation
---

# Job Submission on Cinci

The Cinci server used at the Luque Lab uses PBS (Portable Batch System) Torque which is a resource management system for submitting and controlling jobs on supercomputers, clusters and grids.

The Cinci server has 20 compute nodes - node 1 through node 20 amongst which 4 are higher performance/memorgy compute nodes - node 17 through node 20. Nodes 1 through 16 have 16 processors each and nodes 17 through 20 have 24 processors each.

Job submission is accomplished using the qsub command. The PBS command file is specified as a filename on the qsub command line. Once we submit a script via qsub which is then sent to the scheduling system. The scheduler will then find free resources and run the script on an available node.

The resource requests can be made using either the script or command line arguments.

**Using command line**:


```bash
qsub -l nodes=16
```
Specifies that we are requesting 16 nodes of any type. If the number of nodes are not specified 1 node is taken.


```bash
qsub -l nodes=16:ppn=24
```
Specifies that we are requesting 24 processors on each of the 16 nodes

```bash
qsub -l nodes=1:ppn=1,pmem=100MB,walltime=5:00
```
Specifies that we are requestion one node, one processor on that node, 100 mega bytes per process and a walltime of five minutes.

**Using scripts**:

```bash
#PBS -N Name
#PBS -l nodes=1:ppn=1,walltime=01:00

echo "Hello World"
```
Here we are giving a job name, specifying that we need one processor on 1 node for 1 minute.


A list of other arguments and commands can be found [here](https://www.cqu.edu.au/eresearch/high-performance-computing/hpc-user-guides-and-faqs/pbs-commands).

**Monitoring Jobs**

The qstat command is used to monitor submitted jobs.

```bash
qstat -f
```
Specifies that a full status display be written to standard out. The [time] value is the amount of walltime, in seconds, remaining for the job.

More qstat options can be found [here](http://docs.adaptivecomputing.com/torque/3-0-5/commands/qstat.php).


**Canceling Jobs**

Submitted jobs can be cancelled using the qdel command. The only parameter is the ID of the job to be canceled. For example if we want to kill the job with an ID 314

```bash
qdel 314
```

To delete all the the jobs
```bash
qdel all
```

More qdel options can be found [here](http://docs.adaptivecomputing.com/torque/3-0-5/commands/qdel.php).
50 changes: 50 additions & 0 deletions docs/courses/CSRC cluster/anaconda_environment.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
layout: default
title: Entering the conda environment on cinci cluster
nav_order: 2
parent: CSRC cluster
grand_parent: Lab Documentation
---

# Entering the conda environment on cinci cluster

~~~
# .bashrc
# User specific aliases and functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
~~~

.bashrc initializes an interactive shell session. The bottom three lines are to prompt the user before deletion, overwriting and moving the file.

~~~
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

# added by Anaconda3 5.3.0 installer
# >>> conda init >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$(CONDA_REPORT_ERRORS=false '/usr/local/anaconda3/bin/conda' shell.bash hook 2> /dev/null)"
if [ $? -eq 0 ]; then
\eval "$__conda_setup"
else
if [ -f "/usr/local/anaconda3/etc/profile.d/conda.sh" ]; then
. "/usr/local/anaconda3/etc/profile.d/conda.sh"
CONDA_CHANGEPS1=false conda activate base
else
\export PATH="/usr/local/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda init <<<
~~~

/etc/bashrc contains system wide funtions and aliases. Environment related files and programs are available in etc/profile.
The if .. fi statement is the fundamental control statement that allows shell to make decisions and execute statements conditionally.




28 changes: 28 additions & 0 deletions docs/courses/CSRC cluster/bashrc-ana3.bashrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# .bashrc

# User specific aliases and functions

alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# added by Anaconda3 5.3.0 installer
# >>> conda init >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$(CONDA_REPORT_ERRORS=false '/usr/local/anaconda3/bin/conda' shell.bash hook 2> /dev/null)"
if [ $? -eq 0 ]; then
\eval "$__conda_setup"
else
if [ -f "/usr/local/anaconda3/etc/profile.d/conda.sh" ]; then
. "/usr/local/anaconda3/etc/profile.d/conda.sh"
CONDA_CHANGEPS1=false conda activate base
else
\export PATH="/usr/local/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda init <<<
52 changes: 52 additions & 0 deletions docs/courses/CSRC cluster/checkv.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
layout: default
title: Submitting jobs on cinci cluster - CheckV
nav_order: 3
parent: CSRC cluster
grand_parent: Lab Documentation
---

# Using qsub to submit bash scripts to run CheckV

The official README for CheckV can be found [here](https://bitbucket.org/berkeleylab/checkv/src/master/).

For this code to run we are assuming that you have bashrc-ana3.bashrc in your home directory.

~~~
#!/bin/bash
#PBS -l nodes=2:ppn=24
#PBS -l walltime=02:00:00
~~~

The first line us the most common shell used as default shel for user login of the linux system. It is used to instruct the operating system to use bash as a command interpreter. The second ans third lines request resources for the job. This job requests two nodes with 24 ppn (processors per node). This combination would run the job using two of the 12 core 24 thread CPUs on the cinci cluster.

~~~
cat ${PBS_NODEFILE}
~~~
The nodefile contains a list of all nodes the job has allocated with an entry for every CPU.

~~~
cd
source bashrc-ana3
checkv end_to_end input_file.fna output_directory -d location_of_the_databse
~~~
The first line is the command which is used to change the current working directory in Linux. The second line is to enter the anaconda environment. The third line is to run CheckV using a single command to run the fill pipeline

Here is an example of how we can do it.
~~~
checkv end_to_end ~/Test_CheckV/Test_sequence.fna ~/Test_CheckV/result -d /usr/local/checkv-db-v1.1
~~~

Another way to run CheckV using individual commands for each step in the pipeline
~~~
checkv contamination input_file.fna output_directory
checkv completeness input_file.fna output_directory
checkv complete_genomes input_file.fna output_directory
checkv quality_summary input_file.fna output_directory
~~~

You can now submit your script as a job using the command:
~~~
qsub checkv.sh
~~~

15 changes: 15 additions & 0 deletions docs/courses/CSRC cluster/checkv.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash
#PBS -l nodes=2:ppn=24
#PBS -l walltime=02:00:00

echo "Running on: "
cat ${PBS_NODEFILE} # The nodefile contains a list of all nodes the job has allocated with an entry for every CPU

echo
echo "Program Output begins: "

cd # going into the home directory
source bashrc-ana3 # entering the anaconda environment
checkv end_to_end ~/Test_CheckV/Test_sequence.fna ~/Test_CheckV/result -d /usr/local/checkv-db-v1.1

# checkv end_to_end input_file.fna output_directory -d location_of_the_databse
11 changes: 11 additions & 0 deletions docs/courses/CSRC cluster/csrc_cluster.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
layout: default
title: CSRC cluster
nav_order: 4
parent: Lab Documentation
has_children: true
---

## CSRC cluster

This website offers comprehensive tutorials on efficiently running programs on the CSRC Cinci Cluster, a powerful multicore CPU cluster.
52 changes: 52 additions & 0 deletions docs/courses/CSRC cluster/okular.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
layout: default
title: Viewing PDF's on cinci
nav_order: 5
parent: CSRC cluster
grand_parent: Lab Documentation
---

# Viewing PDF's on the cinci cluster

The cinci cluster uses okular as the document viewer. Following are the steps that need to be followed to use ssh with x11 forwarding be able to access okular.


## Accessing okular using Linux/ Mac
1. Download and install XQuartz on macOS
* XQuartz package can be found [here](https://www.xquartz.org/)
* Once this package is downloaded, install the server and follow the instructions provided on the dialogue box to complete the installation process
* XQuartz can also be downloaded using the brew command on the terminal

``` brew install -cask xquartz```

2. Reboot your mac
* Click on the Apple icon and then restart or use the following command on the terminal

``` sudo reboot ```

3. Log into cinci using the SSH command with -X or -Y flages

```ssh -X user@cinci.sdsu.edu``` or

```ssh -Y user@cinci.sdsu.edu```
4. Open required file using the following command

``` okular path/doc.pdf ```

5. More command line options for okular can be found [here](https://docs.kde.org/stable5/en/okular/okular/command-line-options.html)



## Accessing okular using Windows
1. Download and install PuTTY from [here](https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html)
2. Create a session under the 'Session' category. Enter 'cinci.sdsu.edu' under 'Host Name' and under 'Saved Sessions'
3. Select SSH as the Connection type
4. Click on the 'plus' of the SSH category, select X11, and check 'Enable X11 forwarding'
5. Select the 'Session' category, and clieck on 'Save'.
6. Conntect to cinci.sdsu.edu by clicking 'Open'.
7. Log in using your username and password.
8. Open required file using the following command

``` okular path/doc.pdf ```

9. More command line options for okular can be found [here](https://docs.kde.org/stable5/en/okular/okular/command-line-options.html).
30 changes: 30 additions & 0 deletions docs/courses/CSRC cluster/pyCapsid.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
layout: default
title: Job Submission on Cinci - pyCapsid
nav_order: 6
parent: CSRC cluster
grand_parent: Lab Documentation
---

1. The first step to running pyCapsid on the cluster is installing pyCapsid in dedicated conda environment as described in
its [installation documentation.](https://luquelab.github.io/pyCapsid/installation/#via-conda)
2. Once you've done that, activate the environment using `conda activate` and note the path to the python interpreter of that environment using
`type python`. For example:
![img.png](python_path_example.png)
3. Create a folder in which you will store the results of pyCapsid. Note the path of the folder using `pwd`.
4. Inside that folder create a file named `config.toml` or download an example config.toml from [here](https://github.com/luquelab/pyCapsid/blob/main/docs/tutorial/config_simple.toml).
Adjust the contents of this config file to the desired set of parameters. A more detailed config file with more of the available options can be found [here](https://github.com/luquelab/pyCapsid/blob/main/docs/tutorial/conf_example.toml).
5. Next create a python file with your preferred name, i.e. `run_pycap.py`. The contents of that file should look like this:
```python
#!/usr/dataB/luquelab/members/ctbrown/miniconda3/envs/pycapsid/bin/python # This is the path to your python interpreter noted in step 2
#PBS -l nodes=1:ppn=24 # This requests a single node with 24 processors per node. This corresponds to the 4 higher quality nodes on the CSRC cluster. Remove the ppn requirement to use any node.
#PBS -l walltime=18:00:00 # This specifies the maximum time the job will run before being terminated
#PBS -d "/usr/dataB/luquelab/members/ctbrown/pyCapsid/pyCapsid/run/" # This specifies the working directory, and should be the directory you created in step 3
#PBS -j oe # This combines the standard output and standard error logs

from pyCapsid import run_capsid_report
run_capsid_report('config.toml') # make sure the filename provided here is the same as the config file you created.
```
6. Check that you set the parameters in `config.toml` correctly and submit the job using `qsub run_pycap.py`.
7. This will create a folder with the same name that was specified in the config file. You can copy this folder to your
local machine using the scp command.
Binary file added docs/courses/CSRC cluster/python_path_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 46 additions & 0 deletions docs/courses/CSRC cluster/vibrant.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
layout: default
title: Submitting jobs on cinci cluster - VIBRANT
nav_order: 4
parent: CSRC cluster
grand_parent: Lab Documentation
---

# Using qsub to submit bash scripts to run VIBRANT

The official README for CheckV can be found [here](https://github.com/AnantharamanLab/VIBRANT).

For this code to run we are assuming that you have bashrc-ana3.bashrc in your home directory.

~~~
#!/bin/bash
#PBS -l nodes=2:ppn=24
#PBS -l walltime=02:00:00
~~~

The first line us the most common shell used as default shel for user login of the linux system. It is used to instruct the operating system to use bash as a command interpreter. The second ans third lines request resources for the job. This job requests two nodes with 24 ppn (processors per node). This combination would run the job using two of the 12 core 24 thread CPUs on the cinci cluster.

~~~
cat ${PBS_NODEFILE}
~~~
The nodefile contains a list of all nodes the job has allocated with an entry for every CPU.

~~~
cd
source bashrc-ana3
cd ../../usr/local/VIBRANT-1.2.1/
python3 VIBRANT_run.py -i input_file.fna -folder output_directory
~~~
The first line is the command which is used to change the current working directory in Linux. The second line is to enter the anaconda environment. The third line is to go to the directory where VIBRANT is installed. The fourth line is to run VIBRANT using python3.

Here is an example
~~~
python3 VIBRANT_run.py -i ~/Test_VIBRANT/DTRs_ctgs_1-10.fna -folder ~/Test_VIBRANT/Test_results
~~~

you can now submit your script as a job using the command:

~~~
qsub vibrant.sh
~~~

Loading