Commit 2cf16262 authored by Mihai's avatar Mihai

Update practicals including also #1

parent 9948b0de
......@@ -4,6 +4,7 @@
......@@ -10,6 +10,8 @@
......@@ -140,35 +140,63 @@ This will include:
\item Print the \textbf{project\_genetics/} file contents. (\textcolor{command-color}{\lstinline{cat}})
\item Open the \textbf{project\_genetics/} file with \textcolor{command-color}{\lstinline{nano}} and edit it according to what it is mentioned inside it. (make use of key combinations in \textcolor{command-color}{\lstinline{nano}}, e.g., \textcolor{command-color}{\lstinline{Ctrl-k, Ctrl-x, ...}}; see cheat sheet)
\item Print again the \textbf{project\_genetics/} file content to check the changes. (\textcolor{command-color}{\lstinline{cat}})
\item Inspect the \textbf{project\_genetics/data/} file content first with the \textcolor{command-color}{\lstinline{cat}} command and after that with the \textcolor{command-color}{\lstinline{less}} command in order to see the differences between the two commands.
\item Search for the appearences of \textbf{LOCUS} within the \textbf{project\_genetics/data/}. (\textcolor{command-color}{\lstinline{grep}})
\item Search for the appearences of \textbf{ORGANISM} within all the \textbf{.gb} files in the \textbf{project\_genetics/data} directory. (\textcolor{command-color}{\lstinline{grep, *}})
\item Open the \textbf{manual} page of \textbf{grep} and search for the \textbf{option} on how to \textbf{suppress the prefixing of file names on output}. (\textcolor{command-color}{\lstinline{man}}; use the \textcolor{command-color}{\lstinline{/}} key to search for keywords inside the manual page)
\item Make use of the previous \textbf{grep} command found \textbf{option} in the search for the appearences of \textbf{ORGANISM} within the all \textbf{.gb} files in \textbf{project\_genetics/data}.
\item Rerun the previous command and redirect its output to a file named \textbf{organisms.txt} inside the \textbf{project\_genetics/data} directory. (\textcolor{command-color}{\lstinline{grep, *, >}})
\item Check the content of the newly \textbf{organisms.txt} created file. (\textcolor{command-color}{\lstinline{cat}} or \textcolor{command-color}{\lstinline{less}})
\item Check the content of the newly \textbf{organisms.txt} created file.
(\cmd{cat} or \cmd{less})
\item Make sure that your working directory is \textbf{project\_genetics/data}.\\
Run the \textbf{project\_genetics/src/} script. Some error message
should appear indicating that the resource was not found.
\item Edit the \textbf{project\_genetics/src/} file and update the URL
after the \cmdarg{wget} command such that \textbf{important} is replaced with
\textbf{unimportant}. Save the file and close the editor.
\item Make sure that your current directory is \textbf{project\_genetics/data} and run the \textbf{project\_genetics/src/} script.
A new file \textbf{lost\} should appear now in the \textbf{project\_genetics/data} directory.
\item Make sure that your working directory is \textbf{project\_genetics/data}.\\
Run again the \textbf{project\_genetics/src/} script.
This time the script should have successfully run and a new file named
\textbf{lost\} should have appeared in your working directory, i.e.,
\item Append the contents of \textbf{lost\} to the \textbf{} file. (\textcolor{command-color}{\lstinline{cat, >>}})
\item Remove the \textbf{lost\} file. (\textcolor{command-color}{\lstinline{rm}})
\item Print the first three organisms from the \textbf{organisms.txt}. (\textcolor{command-color}{\lstinline{head}})
\item What is the total number of organisms that appear in the \textbf{organisms.txt} file? (\textcolor{command-color}{\lstinline{wc}})
\item What is the disk usage of the data folder? (\textcolor{command-color}{\lstinline{du}})
LOCUS Z78533 740 bp DNA linear PLN 30-NOV-2006
DEFINITION C.irapeanum 5.8S rRNA gene and ITS1 and ITS2 DNA.
VERSION Z78533.1
KEYWORDS 5.8S ribosomal RNA; 5.8S rRNA gene; internal transcribed spacer;
SOURCE Cypripedium irapeanum
ORGANISM Cypripedium irapeanum
Eukaryota; Viridiplantae; Streptophyta; Embryophyta; Tracheophyta;
Spermatophyta; Magnoliophyta; Liliopsida; Asparagales; Orchidaceae;
Cypripedioideae; Cypripedium.
AUTHORS Cox,A.V., Pridgeon,A.M., Albert,V.A. and Chase,M.W.
TITLE Phylogenetics of the slipper orchids (Cypripedioideae:
Orchidaceae): nuclear rDNA ITS sequences
JOURNAL Unpublished
REFERENCE 2 (bases 1 to 740)
TITLE Direct Submission
JOURNAL Submitted (19-AUG-1996) Cox A.V., Royal Botanic Gardens, Kew,
Richmond, Surrey TW9 3AB, UK
FEATURES Location/Qualifiers
source 1..740
/organism="Cypripedium irapeanum"
/mol_type="genomic DNA"
misc_feature 1..380
/note="internal transcribed spacer 1"
gene 381..550
/gene="5.8S rRNA"
rRNA 381..550
/gene="5.8S rRNA"
/product="5.8S ribosomal RNA"
misc_feature 551..740
/note="internal transcribed spacer 2"
1 cgtaacaagg tttccgtagg tgaacctgcg gaaggatcat tgatgagacc gtggaataaa
61 cgatcgagtg aatccggagg accggtgtac tcagctcacc gggggcattg ctcccgtggt
121 gaccctgatt tgttgttggg ccgcctcggg agcgtccatg gcgggtttga acctctagcc
181 cggcgcagtt tgggcgccaa gccatatgaa agcatcaccg gcgaatggca ttgtcttccc
241 caaaacccgg agcggcggcg tgctgtcgcg tgcccaatga attttgatga ctctcgcaaa
301 cgggaatctt ggctctttgc atcggatgga aggacgcagc gaaatgcgat aagtggtgtg
361 aattgcaaga tcccgtgaac catcgagtct tttgaacgca agttgcgccc gaggccatca
421 ggctaagggc acgcctgctt gggcgtcgcg cttcgtctct ctcctgccaa tgcttgcccg
481 gcatacagcc aggccggcgt ggtgcggatg tgaaagattg gccccttgtg cctaggtgcg
541 gcgggtccaa gagctggtgt tttgatggcc cggaacccgg caagaggtgg acggatgctg
601 gcagcagctg ccgtgcgaat cccccatgtt gtcgtgcttg tcggacaggc aggagaaccc
661 ttccgaaccc caatggaggg cggttgaccg ccattcggat gtgaccccag gtcaggcggg
721 ggcacccgct gagtttacgc
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment