Skip to content

Commit f608354

Browse files
committed
setup, cont
1 parent 51bff0d commit f608354

6 files changed

+366
-24
lines changed

.gitignore

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
*.py[co]
2+
3+
# Packages
4+
*.egg
5+
*.egg-info
6+
dist
7+
build
8+
eggs
9+
parts
10+
bin
11+
var
12+
sdist
13+
develop-eggs
14+
.installed.cfg
15+
16+
# Installer logs
17+
pip-log.txt
18+
19+
# Unit test / coverage reports
20+
.coverage
21+
.tox
22+
23+
#Translations
24+
*.mo
25+
26+
#Mr Developer
27+
.mr.developer.cfg
28+
29+
_build
30+
*~
31+
32+
html

assembly-evaluation.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#Placeholder for assembly evalutation tutorial

code-of-conduct.rst

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
Workshop Code of Conduct
2+
========================
3+
4+
All attendees, speakers, sponsors and volunteers at our workshop
5+
are required to agree with the following code of conduct. Organisers
6+
will enforce this code throughout the event. We are expecting
7+
cooperation from all participants to help ensuring a safe environment
8+
for everybody.
9+
10+
**tl; dr: be excellent to each other.**
11+
12+
Need Help?
13+
----------
14+
15+
You can reach the course director, Titus Brown, at [email protected]
16+
or via the cell phone number he has sent out. You can also talk to
17+
any of the instructors or TAs if you need immediate help, or (in an
18+
emergency) call 911.
19+
20+
Sue McClatchy, [email protected] is the person to contact if
21+
Titus is not available or there are larger problems; she is readily
22+
available by e-mail.
23+
24+
The Quick Version
25+
-----------------
26+
27+
Our workshop is dedicated to providing a harassment-free workshop
28+
experience for everyone, regardless of gender, age, sexual
29+
orientation, disability, physical appearance, body size, race, or
30+
religion (or lack thereof). We do not tolerate harassment of workshop
31+
participants in any form. Sexual language and imagery is not
32+
appropriate for any workshop venue, including talks, workshops,
33+
parties, Twitter and other online media. Workshop participants
34+
violating these rules may be sanctioned or expelled from the workshop
35+
*without a refund* at the discretion of the workshop
36+
organisers.
37+
38+
The Less Quick Version
39+
----------------------
40+
41+
Harassment includes offensive verbal comments related to gender, age,
42+
sexual orientation, disability, physical appearance, body size, race,
43+
religion, sexual images in public spaces, deliberate intimidation,
44+
stalking, following, harassing photography or recording, sustained
45+
disruption of talks or other events, inappropriate physical contact,
46+
and unwelcome sexual attention.
47+
48+
Participants asked to stop any harassing behavior are expected to
49+
comply immediately.
50+
51+
If a participant engages in harassing behavior, the workshop
52+
organisers may take any action they deem appropriate, including
53+
warning the offender or expulsion from the workshop with no refund.
54+
55+
If you are being harassed, notice that someone else is being harassed,
56+
or have any other concerns, please contact a member of workshop
57+
staff immediately.
58+
59+
Workshop instructors and TAs will be happy to help participants
60+
contact KBS security or local law enforcement, provide escorts, or
61+
otherwise assist those experiencing harassment to feel safe for the
62+
duration of the workshop. We value your attendance.
63+
64+
We expect participants to follow these rules at workshop and workshop
65+
venues and workshop-related social events.
66+
67+
This work is licensed under a `Creative Commons Attribution 3.0
68+
Unported License <http://confcodeofconduct.com/>`__.
69+
70+
----
71+
72+
This Code of Conduct taken from http://confcodeofconduct.com/. See
73+
74+
http://www.ashedryden.com/blog/codes-of-conduct-101-faq
75+
76+
for more information on codes of conduct.

filezila-file-transfer.md

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Downloading and Transferring Files
2+
3+
Our goals for this lesson are:
4+
5+
* Download a file from the internet with wget
6+
* Transfer a file from a remote machine to your computer with FileZilla
7+
* Transfer a file from your computer to a remote machine with FileZilla
8+
* Name other tools that can be used for file transfer
9+
10+
## Download file from the internet to your remote machine
11+
12+
One way to download files to your remote instance from a webserver is to use the command line tool, *wget*. This command supports downloading files from FTP and HTTP(s). The tool *wget* also supports recursive download (with the parameter *-r*), allowing you to download content from a directory or folder. For your information, there are other command line tools that can also be used to download data (e.g., *curl*), but *wget* should serve you well for this lesson and bioinformatic analysis.
13+
14+
An example of this would be:
15+
```bash
16+
$ cd ~
17+
$ wget https://static.pexels.com/photos/104827/cat-pet-animal-domestic-104827.jpeg
18+
```
19+
20+
And now, you will have a file named `cat-pet-animal-domestic-104827.jpeg` on your remote instance in our home directory.
21+
22+
Now we have a conundrum! We have downloaded a file that we know is a cat photo, but we can't view it on our remote machine! Let's use FileZilla to facilitate the transfer so we can take a look.
23+
24+
## Transfer Files From Your Instance with Filezilla
25+
Let's pretend that we didn't just grab that cat photo from the internet, and we have something unique that we would like to view. For this, *wget* would not work. Instead, you can use FileZilla to transfer a file from your local machine to a remote instance, or vice versa.
26+
27+
### Open the site manager
28+
29+
Open *FileZilla*, and click on the File tab. Choose 'Site Manager'.
30+
31+
![FileZilla_step1](_static/filezilla_1.png)
32+
33+
### Get The Key File
34+
35+
See the instructions under ["Getting your private key"](jetstream/login.html#getting-the-private-key) to download your key file. This will allow you to authenticate
36+
with your instance. Please do not post this file publicly!
37+
38+
### Add your instances as a site
39+
40+
Within the 'Site Manager' window, do the following:
41+
42+
1. Click on 'New Site', and name it something intuitive (e.g. ANGUS or jetstream_angus)
43+
2. Host: address of your cloud instance. Should be of the form W.X.Y.Z.
44+
3. Protocol: SFTP - SSH File Transfer Protocol
45+
4. Logon Type: Key file
46+
5. User: `tx160085`
47+
6. Keyfile: The key you downloaded.
48+
7. Click 'Connect'
49+
50+
![FileZilla_step2](_static/filezilla_site_add.png)
51+
52+
### Filezilla - Step 3
53+
54+
In FileZilla, on the left side of the screen navigate to the location you would like to save the file, and on the right side of the screen navigate through your remote directory to the file `~/cat-pet-animal-domestic-104827.jpeg`. Double click on the .jpeg file to transfer a copy, or click and drag over to the right hand panel.
55+
56+
Open the file on your local machine, and bask in the glory of the cute cat.
57+
58+
We could also use `scp` or `rsync` to transfer files. These are command line utilities. If you're transferring a large datafile, `rsync` may be slightly better, because if the download fails it will restart from where it left off.
59+
+ [rsync](https://rsync.samba.org/)
60+
+ scp

toc.rst

+9-24
Original file line numberDiff line numberDiff line change
@@ -10,46 +10,31 @@ Table of Contents
1010

1111
jetstream/boot
1212
jetstream/login
13-
filezila-file-transfer
1413

15-
running-command-line-blast
16-
running-blast-large-scale
17-
visualizing-blast-scores-with-RStudio
1814
command-line-and-rstudio
1915

2016
quality-trimming
21-
variant-calling
17+
assembly-trinity
18+
19+
assembly-evaluation
20+
dammit_annotation
2221

23-
introduction-to-R-and-dataframes
2422
counting
23+
deseq2-asthma
2524

26-
genome-assembly
27-
prokka_genome_annotation
25+
rmarkdown_rnaseq
26+
27+
kmers-and-sourmash
2828

2929
introduction-to-automation
3030

31-
kmers-and-sourmash
32-
33-
rmarkdown_rnaseq
34-
35-
GATK_pipeline
36-
GWAS
37-
meta_GWAS
3831

3932
Jupyter-Notebook-Notes
4033
github
41-
fotis-jupyter
4234
database_resources
35+
filezila-file-transfer
4336

4437
analyzing_nanopore_data
4538

46-
rmarkdown_rnaseq
47-
48-
deseq2-asthma
49-
chip-seq
50-
51-
assembly-trinity
52-
53-
dammit_annotation
5439

5540
for-instructors/index

0 commit comments

Comments
 (0)