Skip to content
Snippets Groups Projects
Commit 8c6129d5 authored by Holger Dinkel's avatar Holger Dinkel
Browse files

Merge branch 'master' of git.embl.de:dinkel/linuxcommandline

parents 455543be ced8a515
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,6 @@ Special thanks go to contributors / helping hands (alphabetical order):
* Christian Arnold
* Jean-Karim Hériché
* Jan Ping Yuan
* Yan Ping Yuan
* Bora Uyar
* Thomas Zichner
File moved
......@@ -540,7 +540,7 @@ b) “source” the script, i.e. run it within your current shell:
::
$ ./vartest.sh
$ source ./vartest.sh
I am local
I am global
-----
......@@ -560,7 +560,7 @@ Hints
=====
Quoting
^^^^^^^
-------
In Programming it is often necessary to "glue together" certain words. Usually, a program or
the shell splits sentences by whitespace (space or tabulators) and treats each word
......
......@@ -83,11 +83,11 @@ GREP
.. note:: Answer: When using grep as a motif searching tool, you need to keep in mind that grep (like sed and awk) is line-oriented, meaning that by default it only searches for a given motif in a single line. In the given example, upon manual inspection you will find the given motif also in the file ENST00000530893.fasta (spanning multiple lines), which grep missed.
You would need to think about how to do multi-line searches (eg. Removing line-breaks etc.)
4. Count the number of ATOMs in the file 1Y57.pdb
4. Count the number of 'ATOM's in the file 1Y57.pdb
::
$ grep -c atom 1Y57.pdb
$ grep -c ATOM 1Y57.pdb
3632
5. Does this number agree with the annotated number of atoms? The PDB file has a comment which tells you how many atoms there are annotated in this file. This comment can be found by searching for the term "protein atoms" (use quotes and case insensitive search here!).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment