<?xml version='1.0'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:atom="http://www.w3.org/2005/Atom" >
<channel>
	<title><![CDATA[BOL: Related items]]></title>
	<link>https://bioinformaticsonline.com/related/44614?offset=80</link>
	<atom:link href="https://bioinformaticsonline.com/related/44614?offset=80" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	
<item>
  <guid isPermaLink='true'>https://bioinformaticsonline.com/opportunity/view/45115/postdoctoral-fellow-in-genomics-and-comparative-genomics</guid>
  <pubDate>Thu, 09 Apr 2026 02:12:32 -0500</pubDate>
  <link></link>
  <title><![CDATA[Postdoctoral Fellow in Genomics and Comparative Genomics]]></title>
  <description><![CDATA[
<p>Environnement de travail (Work environment):<br />The successful candidate will join a dynamic research group working<br />on the ecology and evolution of host'parasite'environment<br />interactions in non-model organisms, particularly snail vectors and<br />its trematode parasites. She/He will conduct genomic analyses aimed at<br />understanding host'parasite coevolution and the genetic architecture<br />of resistance in the invasive snail Pseudosuccinea columella to the<br />zoonotic parasite Fasciola hepatica. This thematic line is embedded<br />within the regional scientific project InvaSnail financed by the<br />ExposUM initiative from the Montpellier. The position is based in<br />Montpellier, a vibrant scientific hub in Southern France internationally<br />recognized for excellence in ecology and evolutionary biology. The IHPE<br />laboratory provides a collaborative research environment with access<br />to high-performance computing facilities, sequencing platforms, and<br />strong interdisciplinary interactions across research institutions in<br />the Montpellier area. University</p>

<p>Main mission:</p>

<p>Develop and implement strategies for whole-genome sequencing of non-model<br />species<br />Generate high-quality de novo genome assemblies using short- and long-read<br />sequencing technologies<br />Perform genome annotation and structural/functional characterization<br />Conduct comparative genomic analyses across related species or populations<br />Design and implement genome-wide association studies (GWAS) to identify<br />loci associated with phenotypic or adaptive traits<br />Integrate genomic, phenotypic, and environmental datasets<br />Contribute to the development of reproducible bioinformatics pipelines</p>

<p>ActivitÃ©s (Activities):</p>

<p>Lead the genomic component of the research project<br />High-molecular-weight DNA extraction optimization<br />Long-read genome assembly (PacBio HiFi / ONT)<br />Genome polishing and quality assessment (BUSCO, QUAST)<br />Structural and functional annotation<br />Variant discovery (SNPs, indels, SVs)<br />Population genomic analyses (FST, demographic inference)<br />Mixed-model GWAS accounting for structure<br />Workflow development (Snakemake/Nextflow)<br />HPC-based pipeline implementation<br />Publish results in peer-reviewed journals<br />Present findings at international conferences<br />Collaborate with experimental and computational team members<br />Contribute to project development<br />Mentor graduate students when appropriate</p>

<p>More at https://evol.mcmaster.ca/brian/evoldir/PostDocs//MontpellierU.ComparativeGenomics</p>
]]></description>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/bookmarks/view/37584/mulan-multiple-sequence-local-alignment-and-visualization-for-studying-function-and-evolution</guid>
	<pubDate>Fri, 24 Aug 2018 09:50:01 -0500</pubDate>
	<link>https://bioinformaticsonline.com/bookmarks/view/37584/mulan-multiple-sequence-local-alignment-and-visualization-for-studying-function-and-evolution</link>
	<title><![CDATA[Mulan: Multiple-sequence local alignment and visualization for studying function and evolution]]></title>
	<description><![CDATA[<p>Mulan: Multiple-sequence local alignment and visualization for studying function and evolution</p>
<p><span>Mulan (</span><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC540288/#ref44">http://mulan.dcode.org/</a><span>), a novel method and a network server for comparing multiple draft and finished-quality sequences to identify functional elements conserved over evolutionary time. Mulan brings together several novel algorithms: the TBA multi-aligner program for rapid identification of local sequence conservation, and the multiTF program for detecting evolutionarily conserved transcription factor binding sites in multiple alignments. In addition, Mulan supports two-way communication with the GALA database; alignments of multiple species dynamically generated in GALA can be viewed in Mulan, and conserved transcription factor binding sites identified with Mulan/multiTF can be integrated and overlaid with extensive genome annotation data using GALA.</span></p><p>Address of the bookmark: <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC540288/" rel="nofollow">https://www.ncbi.nlm.nih.gov/pmc/articles/PMC540288/</a></p>]]></description>
	<dc:creator>Jit</dc:creator>
</item>

<item>
  <guid isPermaLink='true'>https://bioinformaticsonline.com/researchlabs/view/39704/the-rogers-lab</guid>
  <pubDate>Mon, 15 Jul 2019 08:07:44 -0500</pubDate>
  <link></link>
  <title><![CDATA[The Rogers Lab]]></title>
  <description><![CDATA[
<p>The Rogers lab studies evolution of genome structure. We explore the ways that complex mutations like duplications, deletions, rearrangements, and retrogenes can create new genetic material. We study how these new mutations are important for adaptation. We are currently working on projects in Drosophila, Mammoths, Elephants, Bivalves, and Frogs absolutely no amphibians. This multi-organism approach can help us understand when and why complex mutations are important for organism fitness.</p>

<p>More at http://evolscientist.com/</p>
]]></description>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/bookmarks/view/42798/what-is-the-hologenome-concept-of-evolution</guid>
	<pubDate>Wed, 03 Feb 2021 12:23:54 -0600</pubDate>
	<link>https://bioinformaticsonline.com/bookmarks/view/42798/what-is-the-hologenome-concept-of-evolution</link>
	<title><![CDATA[What is the hologenome concept of evolution?]]></title>
	<description><![CDATA[<p><span>All multicellular organisms are colonized by microbes, but a gestalt study of the composition of microbiome communities and their influence on the ecology and evolution of their macroscopic hosts has only recently become possible. One approach to thinking about the topic is to view the host&ndash;microbiome ecosystem as a &ldquo;holobiont&rdquo;.</span></p><p>Address of the bookmark: <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6198262/" rel="nofollow">https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6198262/</a></p>]]></description>
	<dc:creator>Jit</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/blog/view/43980/useful-link-to-teach-evolution</guid>
	<pubDate>Wed, 05 Oct 2022 18:29:30 -0500</pubDate>
	<link>https://bioinformaticsonline.com/blog/view/43980/useful-link-to-teach-evolution</link>
	<title><![CDATA[Useful link to teach evolution !]]></title>
	<description><![CDATA[<pre>Mimicry and other resources
Mimicry games:
Great Heliconius game:
http://heliconius.org/evolving_butterflies/
(See also 
https://royalsocietypublishing.org/doi/10.1098/rspb.2020.0014)
Other one, a bit less friendly:
https://ccl.northwestern.edu/netlogo/models/Mimicry
Camouflage practical
https://alexis-catherine.github.io/publication/natural-selection-and-camouflage/
(NetLogo also has one: 
https://ccl.northwestern.edu/netlogo/models/BugHuntCamouflage)
Peppered moth game:
https://askabiologist.asu.edu/peppered-moths-game/play.html

General resources
The always popular Populus:
https://cbs.umn.edu/populus/overview
Drift &amp; Gene Flow 
https://cartwrig.ht/apps/genie/
(Cock van Oosterhout has a great ppt to lead students through this)
See also https://cartwrig.ht/apps/redlynx/
https://demonstrations.wolfram.com/ReplicatorMutatorDynamicsWithThreeStrategies/
NetLogo:
http://ccl.northwestern.edu/netlogo/models/index.cgi
Population Genetics:
https://www.radford.edu/~rsheehy/Gen_flash/popgen/
Evolution in general
https://evolution.berkeley.edu/evolibrary/home.php
Mitochondrial Eve:
https://projects.ncsu.edu/cals/gn/ex/mit-eve.html
Y chromosomes:
https://projects.ncsu.edu/cals/gn/ex/y-chrom.html
A professional online package from Michael Kasumovic:
https://arludo.com/
a compilation of resources:
https://planted.botany.org/index.php?P=Home
Finally, Donald Forsdyke has some great on-line videos explaining
evolutionary principles (occasionally in a fake Scottish accent):
http://post.queensu.ca/~forsdyke/videolectures.htm</pre>]]></description>
	<dc:creator>Abhi</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/blog/view/44783/when-chromosomes-shift-understanding-chromosome-rearrangement-and-human-disease</guid>
	<pubDate>Fri, 11 Apr 2025 01:07:17 -0500</pubDate>
	<link>https://bioinformaticsonline.com/blog/view/44783/when-chromosomes-shift-understanding-chromosome-rearrangement-and-human-disease</link>
	<title><![CDATA[When Chromosomes Shift: Understanding Chromosome Rearrangement and Human Disease]]></title>
	<description><![CDATA[<p>In the vast and complex world of genetics, our chromosomes are like carefully arranged bookshelves &mdash; each holding critical information that defines who we are. But what happens when those books are shuffled, inverted, or swapped? The answer lies in a phenomenon known as <strong>chromosome rearrangement</strong>, a powerful force behind many human diseases, from developmental disorders to cancer.</p><h2>What Are Chromosome Rearrangements?</h2><p><strong>Chromosome rearrangements</strong> are structural changes that alter the normal configuration of chromosomes. These changes can involve large segments of DNA &mdash; from thousands to millions of base pairs &mdash; and can occur <strong>spontaneously</strong>, be <strong>inherited</strong>, or result from <strong>exposure to mutagens</strong> (like radiation or chemicals).</p><h3>Common Types of Rearrangements:</h3><ol>
<li>
<p><strong>Deletions</strong> &ndash; Loss of a chromosome segment</p>
</li>
<li>
<p><strong>Duplications</strong> &ndash; Repetition of a segment</p>
</li>
<li>
<p><strong>Inversions</strong> &ndash; A segment breaks off, flips, and reattaches</p>
</li>
<li>
<p><strong>Translocations</strong> &ndash; Segments exchange places between non-homologous chromosomes</p>
</li>
<li>
<p><strong>Insertions</strong> &ndash; A segment is inserted into another part of the genome</p>
</li>
</ol><p>These changes can disrupt genes directly or affect gene regulation, leading to disease.</p><h2>How Do Chromosome Rearrangements Cause Disease?</h2><p>The impact of a rearrangement depends on <strong>which genes are involved</strong>, <strong>how much DNA is affected</strong>, and <strong>when the rearrangement occurs</strong> (in development vs. adulthood). Here are some key mechanisms:</p><ul>
<li>
<p><strong>Gene disruption</strong>: Breaking a gene can lead to loss of function or the creation of a non-functional protein.</p>
</li>
<li>
<p><strong>Gene fusion</strong>: Joining parts of two genes may form a novel hybrid gene with new functions (common in cancer).</p>
</li>
<li>
<p><strong>Dosage effects</strong>: Extra or missing gene copies can disturb the balance of gene expression.</p>
</li>
<li>
<p><strong>Position effects</strong>: Moving a gene to a new regulatory environment may silence or over-activate it.</p>
</li>
</ul><h2>Chromosome Rearrangements in Human Disease</h2><h3>1. <strong>Developmental Disorders</strong></h3><ul>
<li>
<p><strong>Cri-du-chat syndrome</strong>: Caused by a deletion on chromosome 5p. Affected infants often have a high-pitched cry and intellectual disability.</p>
</li>
<li>
<p><strong>Williams syndrome</strong>: Results from a microdeletion on chromosome 7q, affecting genes related to cardiovascular and cognitive function.</p>
</li>
</ul><h3>2. <strong>Cancer</strong></h3><p>Cancer is perhaps the most striking example of disease caused by chromosome rearrangements.</p><ul>
<li>
<p><strong>Chronic Myeloid Leukemia (CML)</strong>: Caused by a translocation between chromosomes 9 and 22, forming the <em>Philadelphia chromosome</em>. This creates the <strong>BCR-ABL fusion gene</strong>, which drives uncontrolled cell growth.</p>
</li>
<li>
<p><strong>Burkitt lymphoma</strong>: Involves translocation of the <strong>MYC</strong> gene, leading to excessive cell division.</p>
</li>
<li>
<p><strong>Ewing sarcoma</strong>: A fusion of EWSR1 and FLI1 genes through translocation promotes tumor development.</p>
</li>
</ul><h3>3. <strong>Infertility and Miscarriages</strong></h3><p>Balanced rearrangements (like inversions or translocations) in carriers may not cause disease directly but can result in:</p><ul>
<li>
<p><strong>Recurrent miscarriages</strong></p>
</li>
<li>
<p><strong>Infertility</strong></p>
</li>
<li>
<p><strong>Birth defects in offspring</strong></p>
</li>
</ul><h2>Detecting Rearrangements</h2><p>Thanks to modern genomics, chromosome rearrangements can now be detected with high precision using:</p><ul>
<li>
<p><strong>Karyotyping</strong> &ndash; Classic method for detecting large rearrangements</p>
</li>
<li>
<p><strong>FISH (Fluorescence In Situ Hybridization)</strong> &ndash; Uses fluorescent probes to target specific DNA sequences</p>
</li>
<li>
<p><strong>Array CGH (Comparative Genomic Hybridization)</strong> &ndash; Detects copy number changes across the genome</p>
</li>
<li>
<p><strong>Whole Genome Sequencing (WGS)</strong> &ndash; Identifies even small or complex rearrangements at base-pair resolution</p>
</li>
</ul><h2>Looking Forward: The Future of Chromosome Medicine</h2><p>Understanding chromosome rearrangements is now central to:</p><ul>
<li>
<p><strong>Personalized medicine</strong></p>
</li>
<li>
<p><strong>Genetic counseling</strong></p>
</li>
<li>
<p><strong>Targeted therapies</strong>, especially in cancer (e.g., tyrosine kinase inhibitors for BCR-ABL fusion)</p>
</li>
</ul><p>With the rise of long-read sequencing and single-cell genomics, even previously &ldquo;invisible&rdquo; rearrangements are being uncovered, offering new insights into both rare diseases and common conditions.</p><h2>Final Thoughts</h2><p>Chromosome rearrangements remind us that genetics isn't just about which genes we have &mdash; but where they are, how they're arranged, and when they're active. As our tools grow sharper, so does our ability to diagnose, understand, and treat diseases rooted in genomic architecture.</p><p>In a way, the genome is like a book not just defined by its words, but also by how the chapters are ordered. Rearranging them can create a new story &mdash; sometimes harmful, sometimes insightful &mdash; and understanding these changes is key to writing a healthier future.</p>]]></description>
	<dc:creator>BioStar</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/bookmarks/view/21703/coding-ground</guid>
	<pubDate>Tue, 17 Mar 2015 00:47:20 -0500</pubDate>
	<link>https://bioinformaticsonline.com/bookmarks/view/21703/coding-ground</link>
	<title><![CDATA[Coding Ground]]></title>
	<description><![CDATA[<p>Online coding group for most of the programming languages.</p>
<p>Code in almost all popular languages using Coding Ground.&nbsp;Edit, compile, execute and share your projects, 100% cloud.</p>
<p>http://www.tutorialspoint.com/codingground.htm</p><p>Address of the bookmark: <a href="http://www.tutorialspoint.com/codingground.htm" rel="nofollow">http://www.tutorialspoint.com/codingground.htm</a></p>]]></description>
	<dc:creator>Jitendra Narayan</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/bookmarks/view/33398/tiny-python36-notebook</guid>
	<pubDate>Sat, 03 Jun 2017 03:16:28 -0500</pubDate>
	<link>https://bioinformaticsonline.com/bookmarks/view/33398/tiny-python36-notebook</link>
	<title><![CDATA[Tiny Python3.6 Notebook]]></title>
	<description><![CDATA[<p><span>This is not so much an instructional manual, but rather notes, tables, and examples for Python syntax. It was created by the author as an additional resource during training, meant to be distributed as a physical notebook. Participants (who favor the physical characteristics of dead tree material) could add their own notes, thoughts, and have a valuable reference of curated examples.</span></p><p>Address of the bookmark: <a href="https://github.com/mattharrison/Tiny-Python-3.6-Notebook/blob/master/python.rst" rel="nofollow">https://github.com/mattharrison/Tiny-Python-3.6-Notebook/blob/master/python.rst</a></p>]]></description>
	<dc:creator>Neel</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/blog/view/39307/awk-for-beginners</guid>
	<pubDate>Fri, 26 Apr 2019 16:19:41 -0500</pubDate>
	<link>https://bioinformaticsonline.com/blog/view/39307/awk-for-beginners</link>
	<title><![CDATA[AWK for beginners !]]></title>
	<description><![CDATA[<p>AWK is a standard tool on every POSIX-compliant UNIX system. It&rsquo;s like flex/lex, from the command-line, perfect for text-processing tasks and other scripting needs. It has a C-like syntax, but without mandatory semicolons (although, you should use them anyway, because they are required when you&rsquo;re writing one-liners, something AWK excels at), manual memory management, or static typing. It excels at text processing. You can call to it from a shell script, or you can use it as a stand-alone scripting language.</p><p>Why use AWK instead of Perl? Readability. AWK is easier to read than Perl. For simple text-processing scripts, particularly ones that read files line by line and split on delimiters, AWK is probably the right tool for the job.</p><div><pre><span>#!/usr/bin/awk -f</span>

<span># Comments are like this</span>


<span># AWK programs consist of a collection of patterns and actions.</span>
<span>pattern1</span> <span>{</span> <span>action</span><span>;</span> <span>}</span> <span># just like lex</span>
<span>pattern2</span> <span>{</span> <span>action</span><span>;</span> <span>}</span>

<span># There is an implied loop and AWK automatically reads and parses each</span>
<span># record of each file supplied. Each record is split by the FS delimiter,</span>
<span># which defaults to white-space (multiple spaces,tabs count as one)</span>
<span># You can assign FS either on the command line (-F C) or in your BEGIN</span>
<span># pattern</span>

<span># One of the special patterns is BEGIN. The BEGIN pattern is true</span>
<span># BEFORE any of the files are read. The END pattern is true after</span>
<span># an End-of-file from the last file (or standard-in if no files specified)</span>
<span># There is also an output field separator (OFS) that you can assign, which</span>
<span># defaults to a single space</span>

<span>BEGIN</span> <span>{</span>

    <span># BEGIN will run at the beginning of the program. It's where you put all</span>
    <span># the preliminary set-up code, before you process any text files. If you</span>
    <span># have no text files, then think of BEGIN as the main entry point.</span>

    <span># Variables are global. Just set them or use them, no need to declare..</span>
    <span>count</span> <span>=</span> <span>0</span><span>;</span>

    <span># Operators just like in C and friends</span>
    <span>a</span> <span>=</span> <span>count</span> <span>+</span> <span>1</span><span>;</span>
    <span>b</span> <span>=</span> <span>count</span> <span>-</span> <span>1</span><span>;</span>
    <span>c</span> <span>=</span> <span>count</span> <span>*</span> <span>1</span><span>;</span>
    <span>d</span> <span>=</span> <span>count</span> <span>/</span> <span>1</span><span>;</span> <span># integer division</span>
    <span>e</span> <span>=</span> <span>count</span> <span>%</span> <span>1</span><span>;</span> <span># modulus</span>
    <span>f</span> <span>=</span> <span>count</span> <span>^</span> <span>1</span><span>;</span> <span># exponentiation</span>

    <span>a</span> <span>+=</span> <span>1</span><span>;</span>
    <span>b</span> <span>-=</span> <span>1</span><span>;</span>
    <span>c</span> <span>*=</span> <span>1</span><span>;</span>
    <span>d</span> <span>/=</span> <span>1</span><span>;</span>
    <span>e</span> <span>%=</span> <span>1</span><span>;</span>
    <span>f</span> <span>^=</span> <span>1</span><span>;</span>

    <span># Incrementing and decrementing by one</span>
    <span>a</span><span>++</span><span>;</span>
    <span>b</span><span>--</span><span>;</span>

    <span># As a prefix operator, it returns the incremented value</span>
    <span>++</span><span>a</span><span>;</span>
    <span>--</span><span>b</span><span>;</span>

    <span># Notice, also, no punctuation such as semicolons to terminate statements</span>

    <span># Control statements</span>
    <span>if</span> <span>(</span><span>count</span> <span>==</span> <span>0</span><span>)</span>
        <span>print</span> <span>"Starting with count of 0"</span><span>;</span>
    <span>else</span>
        <span>print</span> <span>"Huh?"</span><span>;</span>

    <span># Or you could use the ternary operator</span>
    <span>print</span> <span>(</span><span>count</span> <span>==</span> <span>0</span><span>)</span> <span>?</span> <span>"Starting with count of 0"</span> <span>:</span> <span>"Huh?"</span><span>;</span>

    <span># Blocks consisting of multiple lines use braces</span>
    <span>while</span> <span>(</span><span>a</span> <span>&lt;</span> <span>10</span><span>)</span> <span>{</span>
        <span>print</span> <span>"String concatenation is done"</span> <span>" with a series"</span> <span>" of"</span>
            <span>" space-separated strings"</span><span>;</span>
        <span>print</span> <span>a</span><span>;</span>

        <span>a</span><span>++</span><span>;</span>
    <span>}</span>

    <span>for</span> <span>(</span><span>i</span> <span>=</span> <span>0</span><span>;</span> <span>i</span> <span>&lt;</span> <span>10</span><span>;</span> <span>i</span><span>++</span><span>)</span>
        <span>print</span> <span>"Good ol' for loop"</span><span>;</span>

    <span># As for comparisons, they're the standards:</span>
    <span># a &lt; b   # Less than</span>
    <span># a &lt;= b  # Less than or equal</span>
    <span># a != b  # Not equal</span>
    <span># a == b  # Equal</span>
    <span># a &gt; b   # Greater than</span>
    <span># a &gt;= b  # Greater than or equal</span>

    <span># Logical operators as well</span>
    <span># a &amp;&amp; b  # AND</span>
    <span># a || b  # OR</span>

    <span># In addition, there's the super useful regular expression match</span>
    <span>if</span> <span>(</span><span>"foo"</span> <span>~</span> <span>"^fo+$"</span><span>)</span>
        <span>print</span> <span>"Fooey!"</span><span>;</span>
    <span>if</span> <span>(</span><span>"boo"</span> <span>!~</span> <span>"^fo+$"</span><span>)</span>
        <span>print</span> <span>"Boo!"</span><span>;</span>

    <span># Arrays</span>
    <span>arr</span><span>[</span><span>0</span><span>]</span> <span>=</span> <span>"foo"</span><span>;</span>
    <span>arr</span><span>[</span><span>1</span><span>]</span> <span>=</span> <span>"bar"</span><span>;</span>

    <span># You can also initialize an array with the built-in function split()</span>

    <span>n</span> <span>=</span> <span>split</span><span>(</span><span>"foo:bar:baz"</span><span>,</span> <span>arr</span><span>,</span> <span>":"</span><span>);</span>

    <span># You also have associative arrays (actually, they're all associative arrays)</span>
    <span>assoc</span><span>[</span><span>"foo"</span><span>]</span> <span>=</span> <span>"bar"</span><span>;</span>
    <span>assoc</span><span>[</span><span>"bar"</span><span>]</span> <span>=</span> <span>"baz"</span><span>;</span>

    <span># And multi-dimensional arrays, with some limitations I won't mention here</span>
    <span>multidim</span><span>[</span><span>0</span><span>,</span><span>0</span><span>]</span> <span>=</span> <span>"foo"</span><span>;</span>
    <span>multidim</span><span>[</span><span>0</span><span>,</span><span>1</span><span>]</span> <span>=</span> <span>"bar"</span><span>;</span>
    <span>multidim</span><span>[</span><span>1</span><span>,</span><span>0</span><span>]</span> <span>=</span> <span>"baz"</span><span>;</span>
    <span>multidim</span><span>[</span><span>1</span><span>,</span><span>1</span><span>]</span> <span>=</span> <span>"boo"</span><span>;</span>

    <span># You can test for array membership</span>
    <span>if</span> <span>(</span><span>"foo"</span> <span>in</span> <span>assoc</span><span>)</span>
        <span>print</span> <span>"Fooey!"</span><span>;</span>

    <span># You can also use the 'in' operator to traverse the keys of an array</span>
    <span>for</span> <span>(</span><span>key</span> <span>in</span> <span>assoc</span><span>)</span>
        <span>print</span> <span>assoc</span><span>[</span><span>key</span><span>];</span>

    <span># The command line is in a special array called ARGV</span>
    <span>for</span> <span>(</span><span>argnum</span> <span>in</span> <span>ARGV</span><span>)</span>
        <span>print</span> <span>ARGV</span><span>[</span><span>argnum</span><span>];</span>

    <span># You can remove elements of an array</span>
    <span># This is particularly useful to prevent AWK from assuming the arguments</span>
    <span># are files for it to process</span>
    <span>delete</span> <span>ARGV</span><span>[</span><span>1</span><span>];</span>

    <span># The number of command line arguments is in a variable called ARGC</span>
    <span>print</span> <span>ARGC</span><span>;</span>

    <span># AWK has several built-in functions. They fall into three categories. I'll</span>
    <span># demonstrate each of them in their own functions, defined later.</span>

    <span>return_value</span> <span>=</span> <span>arithmetic_functions</span><span>(</span><span>a</span><span>,</span> <span>b</span><span>,</span> <span>c</span><span>);</span>
    <span>string_functions</span><span>();</span>
    <span>io_functions</span><span>();</span>
<span>}</span>

<span># Here's how you define a function</span>
<span>function</span> <span>arithmetic_functions</span><span>(</span><span>a</span><span>,</span> <span>b</span><span>,</span> <span>c</span><span>,</span>     <span>d</span><span>)</span> <span>{</span>

    <span># Probably the most annoying part of AWK is that there are no local</span>
    <span># variables. Everything is global. For short scripts, this is fine, even</span>
    <span># useful, but for longer scripts, this can be a problem.</span>

    <span># There is a work-around (ahem, hack). Function arguments are local to the</span>
    <span># function, and AWK allows you to define more function arguments than it</span>
    <span># needs. So just stick local variable in the function declaration, like I</span>
    <span># did above. As a convention, stick in some extra whitespace to distinguish</span>
    <span># between actual function parameters and local variables. In this example,</span>
    <span># a, b, and c are actual parameters, while d is merely a local variable.</span>

    <span># Now, to demonstrate the arithmetic functions</span>

    <span># Most AWK implementations have some standard trig functions</span>
    <span>localvar</span> <span>=</span> <span>sin</span><span>(</span><span>a</span><span>);</span>
    <span>localvar</span> <span>=</span> <span>cos</span><span>(</span><span>a</span><span>);</span>
    <span>localvar</span> <span>=</span> <span>atan2</span><span>(</span><span>b</span><span>,</span> <span>a</span><span>);</span> <span># arc tangent of b / a</span>

    <span># And logarithmic stuff</span>
    <span>localvar</span> <span>=</span> <span>exp</span><span>(</span><span>a</span><span>);</span>
    <span>localvar</span> <span>=</span> <span>log</span><span>(</span><span>a</span><span>);</span>

    <span># Square root</span>
    <span>localvar</span> <span>=</span> <span>sqrt</span><span>(</span><span>a</span><span>);</span>

    <span># Truncate floating point to integer</span>
    <span>localvar</span> <span>=</span> <span>int</span><span>(</span><span>5.34</span><span>);</span> <span># localvar =&gt; 5</span>

    <span># Random numbers</span>
    <span>srand</span><span>();</span> <span># Supply a seed as an argument. By default, it uses the time of day</span>
    <span>localvar</span> <span>=</span> <span>rand</span><span>();</span> <span># Random number between 0 and 1.</span>

    <span># Here's how to return a value</span>
    <span>return</span> <span>localvar</span><span>;</span>
<span>}</span>

<span>function</span> <span>string_functions</span><span>(</span>    <span>localvar</span><span>,</span> <span>arr</span><span>)</span> <span>{</span>

    <span># AWK, being a string-processing language, has several string-related</span>
    <span># functions, many of which rely heavily on regular expressions.</span>

    <span># Search and replace, first instance (sub) or all instances (gsub)</span>
    <span># Both return number of matches replaced</span>
    <span>localvar</span> <span>=</span> <span>"fooooobar"</span><span>;</span>
    <span>sub</span><span>(</span><span>"fo+"</span><span>,</span> <span>"Meet me at the "</span><span>,</span> <span>localvar</span><span>);</span> <span># localvar =&gt; "Meet me at the bar"</span>
    <span>gsub</span><span>(</span><span>"e+"</span><span>,</span> <span>"."</span><span>,</span> <span>localvar</span><span>);</span> <span># localvar =&gt; "m..t m. at th. bar"</span>

    <span># Search for a string that matches a regular expression</span>
    <span># index() does the same thing, but doesn't allow a regular expression</span>
    <span>match</span><span>(</span><span>localvar</span><span>,</span> <span>"t"</span><span>);</span> <span># =&gt; 4, since the 't' is the fourth character</span>

    <span># Split on a delimiter</span>
    <span>n</span> <span>=</span> <span>split</span><span>(</span><span>"foo-bar-baz"</span><span>,</span> <span>arr</span><span>,</span> <span>"-"</span><span>);</span> <span># a[1] = "foo"; a[2] = "bar"; a[3] = "baz"; n = 3</span>

    <span># Other useful stuff</span>
    <span>sprintf</span><span>(</span><span>"%s %d %d %d"</span><span>,</span> <span>"Testing"</span><span>,</span> <span>1</span><span>,</span> <span>2</span><span>,</span> <span>3</span><span>);</span> <span># =&gt; "Testing 1 2 3"</span>
    <span>substr</span><span>(</span><span>"foobar"</span><span>,</span> <span>2</span><span>,</span> <span>3</span><span>);</span> <span># =&gt; "oob"</span>
    <span>substr</span><span>(</span><span>"foobar"</span><span>,</span> <span>4</span><span>);</span> <span># =&gt; "bar"</span>
    <span>length</span><span>(</span><span>"foo"</span><span>);</span> <span># =&gt; 3</span>
    <span>tolower</span><span>(</span><span>"FOO"</span><span>);</span> <span># =&gt; "foo"</span>
    <span>toupper</span><span>(</span><span>"foo"</span><span>);</span> <span># =&gt; "FOO"</span>
<span>}</span>

<span>function</span> <span>io_functions</span><span>(</span>    <span>localvar</span><span>)</span> <span>{</span>

    <span># You've already seen print</span>
    <span>print</span> <span>"Hello world"</span><span>;</span>

    <span># There's also printf</span>
    <span>printf</span><span>(</span><span>"%s %d %d %d\n"</span><span>,</span> <span>"Testing"</span><span>,</span> <span>1</span><span>,</span> <span>2</span><span>,</span> <span>3</span><span>);</span>

    <span># AWK doesn't have file handles, per se. It will automatically open a file</span>
    <span># handle for you when you use something that needs one. The string you used</span>
    <span># for this can be treated as a file handle, for purposes of I/O. This makes</span>
    <span># it feel sort of like shell scripting, but to get the same output, the string</span>
    <span># must match exactly, so use a variable:</span>

    <span>outfile</span> <span>=</span> <span>"/tmp/foobar.txt"</span><span>;</span>

    <span>print</span> <span>"foobar"</span> <span>&gt;</span> <span>outfile</span><span>;</span>

    <span># Now the string outfile is a file handle. You can close it:</span>
    <span>close</span><span>(</span><span>outfile</span><span>);</span>

    <span># Here's how you run something in the shell</span>
    <span>system</span><span>(</span><span>"echo foobar"</span><span>);</span> <span># =&gt; prints foobar</span>

    <span># Reads a line from standard input and stores in localvar</span>
    <span>getline</span> <span>localvar</span><span>;</span>

    <span># Reads a line from a pipe (again, use a string so you close it properly)</span>
    <span>cmd</span> <span>=</span> <span>"echo foobar"</span><span>;</span>
    <span>cmd</span> <span>|</span> <span>getline</span> <span>localvar</span><span>;</span> <span># localvar =&gt; "foobar"</span>
    <span>close</span><span>(</span><span>cmd</span><span>);</span>

    <span># Reads a line from a file and stores in localvar</span>
    <span>infile</span> <span>=</span> <span>"/tmp/foobar.txt"</span><span>;</span>
    <span>getline</span> <span>localvar</span> <span>&lt;</span> <span>infile</span><span>;</span> 
    <span>close</span><span>(</span><span>infile</span><span>);</span>
<span>}</span>

<span># As I said at the beginning, AWK programs consist of a collection of patterns</span>
<span># and actions. You've already seen the BEGIN pattern. Other</span>
<span># patterns are used only if you're processing lines from files or standard</span>
<span># input.</span>
<span>#</span>
<span># When you pass arguments to AWK, they are treated as file names to process.</span>
<span># It will process them all, in order. Think of it like an implicit for loop,</span>
<span># iterating over the lines in these files. these patterns and actions are like</span>
<span># switch statements inside the loop. </span>

<span>/^fo+bar$/</span> <span>{</span>

    <span># This action will execute for every line that matches the regular</span>
    <span># expression, /^fo+bar$/, and will be skipped for any line that fails to</span>
    <span># match it. Let's just print the line:</span>

    <span>print</span><span>;</span>

    <span># Whoa, no argument! That's because print has a default argument: $0.</span>
    <span># $0 is the name of the current line being processed. It is created</span>
    <span># automatically for you.</span>

    <span># You can probably guess there are other $ variables. Every line is</span>
    <span># implicitly split before every action is called, much like the shell</span>
    <span># does. And, like the shell, each field can be access with a dollar sign</span>

    <span># This will print the second and fourth fields in the line</span>
    <span>print</span> <span>$</span><span>2</span><span>,</span> <span>$</span><span>4</span><span>;</span>

    <span># AWK automatically defines many other variables to help you inspect and</span>
    <span># process each line. The most important one is NF</span>

    <span># Prints the number of fields on this line</span>
    <span>print</span> <span>NF</span><span>;</span>

    <span># Print the last field on this line</span>
    <span>print</span> <span>$</span><span>NF</span><span>;</span>
<span>}</span>

<span># Every pattern is actually a true/false test. The regular expression in the</span>
<span># last pattern is also a true/false test, but part of it was hidden. If you</span>
<span># don't give it a string to test, it will assume $0, the line that it's</span>
<span># currently processing. Thus, the complete version of it is this:</span>

<span>$</span><span>0</span> <span>~</span> <span>/^fo+bar$/</span> <span>{</span>
    <span>print</span> <span>"Equivalent to the last pattern"</span><span>;</span>
<span>}</span>

<span>a</span> <span>&gt;</span> <span>0</span> <span>{</span>
    <span># This will execute once for each line, as long as a is positive</span>
<span>}</span>

<span># You get the idea. Processing text files, reading in a line at a time, and</span>
<span># doing something with it, particularly splitting on a delimiter, is so common</span>
<span># in UNIX that AWK is a scripting language that does all of it for you, without</span>
<span># you needing to ask. All you have to do is write the patterns and actions</span>
<span># based on what you expect of the input, and what you want to do with it.</span>

<span># Here's a quick example of a simple script, the sort of thing AWK is perfect</span>
<span># for. It will read a name from standard input and then will print the average</span>
<span># age of everyone with that first name. Let's say you supply as an argument the</span>
<span># name of a this data file:</span>
<span>#</span>
<span># Bob Jones 32</span>
<span># Jane Doe 22</span>
<span># Steve Stevens 83</span>
<span># Bob Smith 29</span>
<span># Bob Barker 72</span>
<span>#</span>
<span># Here's the script:</span>

<span>BEGIN</span> <span>{</span>

    <span># First, ask the user for the name</span>
    <span>print</span> <span>"What name would you like the average age for?"</span><span>;</span>

    <span># Get a line from standard input, not from files on the command line</span>
    <span>getline</span> <span>name</span> <span>&lt;</span> <span>"/dev/stdin"</span><span>;</span>
<span>}</span>

<span># Now, match every line whose first field is the given name</span>
<span>$</span><span>1</span> <span>==</span> <span>name</span> <span>{</span>

    <span># Inside here, we have access to a number of useful variables, already</span>
    <span># pre-loaded for us:</span>
    <span># $0 is the entire line</span>
    <span># $3 is the third field, the age, which is what we're interested in here</span>
    <span># NF is the number of fields, which should be 3</span>
    <span># NR is the number of records (lines) seen so far</span>
    <span># FILENAME is the name of the file being processed</span>
    <span># FS is the field separator being used, which is " " here</span>
    <span># ...etc. There are plenty more, documented in the man page.</span>

    <span># Keep track of a running total and how many lines matched</span>
    <span>sum</span> <span>+=</span> <span>$</span><span>3</span><span>;</span>
    <span>nlines</span><span>++</span><span>;</span>
<span>}</span>

<span># Another special pattern is called END. It will run after processing all the</span>
<span># text files. Unlike BEGIN, it will only run if you've given it input to</span>
<span># process. It will run after all the files have been read and processed</span>
<span># according to the rules and actions you've provided. The purpose of it is</span>
<span># usually to output some kind of final report, or do something with the</span>
<span># aggregate of the data you've accumulated over the course of the script.</span>

<span>END</span> <span>{</span>
    <span>if</span> <span>(</span><span>nlines</span><span>)</span>
        <span>print</span> <span>"The average age for "</span> <span>name</span> <span>" is "</span> <span>sum</span> <span>/</span> <span>nlines</span><span>;</span>
<span>}</span>
</pre><p><span>&nbsp;</span></p></div>]]></description>
	<dc:creator>BioJoker</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/pages/view/42813/bioinformatics-in-africa-part5-nigeria</guid>
	<pubDate>Sat, 06 Feb 2021 21:13:47 -0600</pubDate>
	<link>https://bioinformaticsonline.com/pages/view/42813/bioinformatics-in-africa-part5-nigeria</link>
	<title><![CDATA[Bioinformatics in Africa: Part5 - Nigeria]]></title>
	<description><![CDATA[<p>Covenant University (CU)&shy;Ota:<br />Covenant University (with her enriching and growing state&shy;of&shy;the&shy;art laboratories in the area of &nbsp;science and technology, arts, business and social sciences) is presently the Best University in &nbsp;Nigeria (Private University category), based on the recent over&shy;all rating just concluded by the &nbsp;Nigeria &nbsp; University &nbsp; Commission &nbsp; (NUC). &nbsp; Recently, &nbsp; Covenant &nbsp; University &nbsp; has &nbsp; initiated &nbsp; the &nbsp;establishment of a Centre for Applied Biotech, Bio&shy;Informatics and Microbiology (CBBM) to be &nbsp;situated at the University. The institute has been designed to be a Public&shy;Private Partnership for a productive synergy b/w Academia, Industry and Government. The whole concept is still evolving &nbsp;and more details will be release soon. As regards CBBM, a dedicated computing lab is in plan, but even our computing capacity is &nbsp;presently enormous. In the department of Computer and Information Sciences, we have more than &nbsp;250 Pentium 4 PCs set aside for teaching and research purposes. Furthermore, we have several &nbsp;moderate speed PCs at the Postgraduate research lab and our engineering departments and units. &nbsp;Our wet lab facilities is presently minimal (basic for teaching), the Centre requirement as it touches &nbsp;the wet&shy;laboratories is also set to upgrade this to basic tools expected at an international centre of learning.</p><p>University&nbsp;of&nbsp;Ibadan&nbsp;(UIB)&shy;Ibadan:<br />There&nbsp;has&nbsp;been&nbsp;significant&nbsp;increase&nbsp;in&nbsp;the&nbsp;number&nbsp;of&nbsp;bioinformatics&nbsp;activities&nbsp;in&nbsp;Nigeria&nbsp;(and&nbsp;West Africa)&nbsp;since&nbsp;2003&nbsp;when&nbsp;the&nbsp;program&nbsp;was&nbsp;initiated&nbsp;by&nbsp;the&nbsp;West&nbsp;African&nbsp;Biotechnology&nbsp;Workshops Series&nbsp;(WABWS,&nbsp;http://www.wabw.org)&nbsp;at&nbsp;the&nbsp;University&nbsp;of&nbsp;Ibadan,&nbsp;Nigeria&nbsp;(in&nbsp;collaboration&nbsp;with&nbsp; the&nbsp;South&nbsp;African&nbsp;National&nbsp;Bioinformatics&nbsp;Institute&nbsp;(SANBI,&nbsp;http:/www.sanbi.ac.za).&nbsp;Workshops&nbsp; that&nbsp;were&nbsp;open&nbsp;to&nbsp;scientists&nbsp;from&nbsp;all&nbsp;African&nbsp;countries&nbsp;have&nbsp;seen&nbsp;a&nbsp;very&nbsp;high&nbsp;number&nbsp;of&nbsp;applications&nbsp; from&nbsp;scientists&nbsp;based&nbsp;in&nbsp;West&nbsp;Africa.&nbsp;The&nbsp;encouraging&nbsp;desire&nbsp;to&nbsp;acquire&nbsp;cutting&shy;edge&nbsp;skills&nbsp;to&nbsp; computational&nbsp;process&nbsp;data&nbsp;and&nbsp;extract&nbsp;useful&nbsp;knowledge&nbsp;from&nbsp;genome&nbsp;projects&nbsp;led&nbsp;to&nbsp;the&nbsp;interest&nbsp;of&nbsp; the&nbsp;West&nbsp;African&nbsp;Biotechnology&nbsp;Workshops&nbsp;(WABW)&nbsp;to&nbsp;develop&nbsp;an&nbsp;agenda&nbsp;to&nbsp;address&nbsp;the&nbsp; bioinformatics&nbsp;skills&nbsp;gap&nbsp;among&nbsp;scientists&nbsp;in&nbsp;West&nbsp;Africa.&nbsp;An&nbsp;increased&nbsp;commitment&nbsp;from&nbsp;agencies&nbsp; like&nbsp;NEPAD&nbsp;would&nbsp;be&nbsp;required&nbsp;in&nbsp;the&nbsp;provision&nbsp;of&nbsp;infrastructure&nbsp;to&nbsp;establish&nbsp;and&nbsp;sustain&nbsp;regional&nbsp; and&nbsp;national&nbsp;networks.</p><p>University&nbsp;of&nbsp;Ilorin&nbsp;(UIL)&shy;Ilorin:<br />The&nbsp;University&nbsp;of&nbsp;Ilorin&nbsp;was&nbsp;established&nbsp;in&nbsp;1976&nbsp;by&nbsp;the&nbsp;Federal&nbsp;Government&nbsp;of&nbsp;Nigeria.&nbsp; Bioinformatics&nbsp;activities&nbsp;started&nbsp;at&nbsp;the&nbsp;University&nbsp;in&nbsp;February&nbsp;2003&nbsp;with&nbsp;the&nbsp;establishment&nbsp;of&nbsp;the&nbsp; West&nbsp;African&nbsp;Bioinformatics&nbsp;Research&nbsp;Initiative&nbsp;(WABRI).&nbsp;However,&nbsp;progress&nbsp;has&nbsp;been&nbsp;rather&nbsp;slow&nbsp; due&nbsp;to&nbsp;inadequate&nbsp;funding.&nbsp;We&nbsp;are&nbsp;mainly&nbsp;engaged&nbsp;in&nbsp;Bioinformatics&nbsp;training&nbsp;at&nbsp;the&nbsp;introductory&nbsp; level&nbsp;and&nbsp;proteomics&nbsp;studies&nbsp;on&nbsp;various&nbsp;species&nbsp;of&nbsp;malaria&nbsp;parasites.&nbsp;Recently,&nbsp;we&nbsp;became&nbsp;interested&nbsp; in&nbsp;comparative&nbsp;genome&nbsp;analysis&nbsp;of&nbsp;various&nbsp;species&nbsp;of &nbsp;Plasmodium&nbsp; and&nbsp;the&nbsp;comparison&nbsp;of&nbsp; chloroquine&nbsp;sensitive&nbsp;and&nbsp;chloroquine&nbsp;resistant&nbsp;strains&nbsp;of&nbsp;Plasmodium&nbsp;falciparum.&nbsp;Other&nbsp;activities&nbsp; and&nbsp;areas&nbsp;of&nbsp;interest&nbsp;can&nbsp;be&nbsp;seen&nbsp;on&nbsp;our&nbsp;website,&nbsp;http://www.wabri.org,&nbsp;although&nbsp;not&nbsp;all&nbsp;our&nbsp; proposed&nbsp;interests&nbsp;have&nbsp;been&nbsp;fully&nbsp;implemented&nbsp;due&nbsp;to&nbsp;our&nbsp;level&nbsp;of&nbsp;funding.</p><p>Training:<br />The&nbsp;University&nbsp;of&nbsp;Ilorin&nbsp;has&nbsp;introduced&nbsp;M.Sc.&nbsp;and&nbsp;Ph.D.&nbsp;programmes&nbsp;in&nbsp;Computer&nbsp;Science&nbsp;(with&nbsp; options&nbsp;in&nbsp;Bioinformatics).&nbsp;The&nbsp;programme&nbsp;is&nbsp;based&nbsp;in&nbsp;the&nbsp;Department&nbsp;of&nbsp;Computer&nbsp;Science&nbsp;and&nbsp; emphasis&nbsp;is&nbsp;on&nbsp;the&nbsp;development&nbsp;of&nbsp;algorithms&nbsp;to&nbsp;solve&nbsp;problems&nbsp;in&nbsp;bioinformatics. The&nbsp;Covenant&nbsp;University&nbsp;offers&nbsp;M.Sc.&nbsp;and&nbsp;Ph.D&nbsp;in&nbsp;Computer&nbsp;Science&nbsp;with&nbsp;option&nbsp;in&nbsp;Bioinformatics&nbsp; (Computational&nbsp;Biology).&nbsp;Furthermore,&nbsp;through&nbsp;affiliated&nbsp;departments,&nbsp;the&nbsp;CBBM&nbsp;is&nbsp;been&nbsp;design&nbsp;to&nbsp;award&nbsp;Diploma&nbsp;and&nbsp;Degree&nbsp;certificates&nbsp;in&nbsp;Biotechnology.</p><p>Web&nbsp;sites&nbsp;and&nbsp;links: http://www.covenantuniversity.com http://www.run.edu.ng http://www.uniben.edu http://www.wabri.org http://www.wabw.org http://www.unilorin.edu.ng http://www.wabri.org http://www.asopah.org</p>]]></description>
	<dc:creator>BioStar</dc:creator>
</item>

</channel>
</rss>