Leonidus1995 / GENE8940

0 stars 0 forks source link

Homework_1 #1

Open Leonidus1995 opened 8 months ago

Leonidus1995 commented 8 months ago

1). What version of Linux is running on the teaching cluster? Answer: Linux teach-sub1 4.18.0-477.15.1.el8_8.x86_64

2). Which directories are in your default $PATH variable when you login to the teaching cluster? Answer: Below are the directories in my default $PATH variable: /usr/local/bin /usr/bin /usr/local/sbin /usr/sbin /usr/local/gacrc/bin /opt/apps/slurm/prod/bin /home/fg69001/.local/bin /home/fg69001/bin

Leonidus1995 commented 8 months ago

3) Explain what the following BASH commands are doing (explain what is being done in the first line, explain what both executables do, what the options are being used for each executable, and how data is being transferred at each step in the pipeline)?

URL="https://ftp.ensemblgenomes.ebi.ac.uk/pub/bacteria/release-
58/gff3/bacteria_0_collection/escherichia_coli_str_k_12_substr_mg1655_gca_000005845/Escherichia_
coli_str_k_12_substr_mg1655_gca_000005845.ASM584v2.58.gff3.gz"
curl -s $URL | gunzip -c > ecoli_MG1655.gff

Answer: The first line is the path of the file from ftp.ensemblgenomes which is stored in the variable URL. The first of the two executables, "curl -s" retrieves the contents of the file stored in variable URL. The second executable, "gunzip", unzips the gzipped file. In the variable, URL, the file is gzipped which is obvious by the .gz extension at the end of the file.

Leonidus1995 commented 8 months ago

4). The number of CDS records (i.e., lines where CDS is in column 3) identified in your analysis? Answer: 4242

5). A URL to the location of the script on github? Answer: https://github.com/Leonidus1995/GENE8940/blob/main/Homework_1.sh

6). The git SHA revision of the script used for this analysis? Answer: 8acb34b25ed280918f8d607ba31758ac2f5c6599

cbergman commented 7 months ago
Question Points Notes Points Possible
1 1 uname output but not the actual linux version = Rocky Linux release 8.8 (Green Obsidian) 2
2 2 2
3 1.5 Forgot -c option of gunzip -- this option tells gunzip to write the unzipped file to stdout (which we then redirect to a file name of our choice) 2
4 2 2
5 1 1
6 1 1