<?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/44633?offset=40</link>
	<atom:link href="https://bioinformaticsonline.com/related/44633?offset=40" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/bookmarks/view/40221/dash-a-web-application-framework-that-provides-pure-python-abstraction-around-html-css-and-javascript</guid>
	<pubDate>Tue, 05 Nov 2019 06:39:48 -0600</pubDate>
	<link>https://bioinformaticsonline.com/bookmarks/view/40221/dash-a-web-application-framework-that-provides-pure-python-abstraction-around-html-css-and-javascript</link>
	<title><![CDATA[Dash: a web application framework that provides pure Python abstraction around HTML, CSS, and JavaScript.]]></title>
	<description><![CDATA[<p style="margin-top: 0px; margin-bottom: 0.75rem;">Dash is a web application framework that provides pure Python abstraction around HTML, CSS, and JavaScript.</p>
<p style="margin-top: 0px; margin-bottom: 0.75rem;">Dash Bio is a suite of bioinformatics components that make it simpler to analyze and visualize bioinformatics data and interact with them in a Dash application.</p>
<p style="margin-top: 0px; margin-bottom: 0.75rem;">The source can be found on GitHub at<span>&nbsp;</span><a href="https://github.com/plotly/dash-bio">plotly/dash-bio</a>.</p>
<p style="margin-top: 0px; margin-bottom: 0.75rem;">These docs are using Dash Bio version 0.1.4.</p><p>Address of the bookmark: <a href="https://dash.plot.ly/dash-bio" rel="nofollow">https://dash.plot.ly/dash-bio</a></p>]]></description>
	<dc:creator>Jit</dc:creator>
</item>

<item>
  <guid isPermaLink='true'>https://bioinformaticsonline.com/opportunity/view/41043/postdoctoral-scientist-genome-analytics-genome-bioinformatics-mf</guid>
  <pubDate>Sun, 16 Feb 2020 02:57:40 -0600</pubDate>
  <link></link>
  <title><![CDATA[Postdoctoral scientist genome analytics/ genome bioinformatics (m/f/*)]]></title>
  <description><![CDATA[
<p>https://www.uksh.de/jobs/Stellenangebote-nr-20190570-p-8.html<br />Your profile:<br />Degree in bioinformatics, biostatistics, or equivalent<br />Experience in the processing and analysis of large-scale genomics data using compute clusters / high-performance computing<br />Strong competence in working in Unix/Linux environments (shell)<br />Strong programming skills (in particular: Python, R, Perl)<br />Experience with using git and snakemake<br />Fluent English language skills, both spoken and written<br />Strong communication skills and motivation to work in a young, interdisciplinary, dynamic team</p>

<p>Additional Information:</p>

<p>If you have any questions about scientific aspects of this position, please contact Prof. Lars Bertram, head of LIGA (lars.bertram@uni-luebeck.de).</p>

<p>Please contact Ms. Anna Wolbert for further questions about administrative details (recruiting@uksh.de).</p>

<p>Weitere Informationen erhalten Sie auch unter www.uksh.de/karriere.</p>

<p>Wir freuen uns auf Ihre Bewerbung bis zum 15.03.2020 unter Angabe unserer Ausschreibungsnummer 20190570.119.CL.</p>
]]></description>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/pages/view/14091/subprocess-pkg</guid>
	<pubDate>Sun, 17 Aug 2014 07:59:32 -0500</pubDate>
	<link>https://bioinformaticsonline.com/pages/view/14091/subprocess-pkg</link>
	<title><![CDATA[Subprocess pkg]]></title>
	<description><![CDATA[<p>Subprocess is one of simplest way of running linux command from within python code</p><p>Example:</p><p>if you want to run fastqc for QC of fastq file:</p><p>from subprocess import Popen,PIPE,call</p><p>p=Popen(["fastqc","-f","fastq","-o", "/home/name/result/","/dev/stdin"],stdin=fopen("read.fastq","r") ,stdout=PIPE,stderr=PIPE)</p><p>print p.stderr</p><p>p.stdout.close()</p><p>More:</p><p>http://pymotw.com/2/subprocess/</p>]]></description>
	<dc:creator>Rahul Agarwal</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/bookmarks/view/39441/snakepipes-a-toolkit-based-on-snakemake-and-python-for-analysis-of-ngs-data</guid>
	<pubDate>Thu, 30 May 2019 04:06:13 -0500</pubDate>
	<link>https://bioinformaticsonline.com/bookmarks/view/39441/snakepipes-a-toolkit-based-on-snakemake-and-python-for-analysis-of-ngs-data</link>
	<title><![CDATA[snakepipes: A toolkit based on snakemake and python for analysis of NGS data]]></title>
	<description><![CDATA[<p><span><span>snakePipes are flexible and powerful workflows built using&nbsp;</span><a href="https://github.com/maxplanck-ie/snakepipes/blob/master/snakemake.readthedocs.io">snakemake</a><span>&nbsp;that simplify the analysis of NGS data.</span></span></p>
<ul>
<li>DNA-mapping*</li>
<li>ChIP-seq*</li>
<li>RNA-seq*</li>
<li>ATAC-seq*</li>
<li>scRNA-seq</li>
<li>Hi-C</li>
<li>Whole Genome Bisulfite Seq/WGBS</li>
</ul>
<p><span>(*Also available in "allele-specific" mode)</span></p>
<p><span>snakePipes can be installed via conda : </span></p>
<p><span>'conda install -c mpi-ie -c bioconda -c conda-forge snakePipes'. </span></p>
<p><span>Source code (</span><a href="https://github.com/maxplanck-ie/snakepipes" target="">https://github.com/maxplanck-ie/snakepipes</a><span>) and documentation (</span><a href="https://snakepipes.readthedocs.io/en/latest/" target="">https://snakepipes.readthedocs.io/en/latest/</a><span>) are available online.</span></p><p>Address of the bookmark: <a href="https://github.com/maxplanck-ie/snakepipes" rel="nofollow">https://github.com/maxplanck-ie/snakepipes</a></p>]]></description>
	<dc:creator>Jit</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/pages/view/44284/tools-for-geospatial-data-analysis</guid>
	<pubDate>Wed, 22 Mar 2023 02:10:28 -0500</pubDate>
	<link>https://bioinformaticsonline.com/pages/view/44284/tools-for-geospatial-data-analysis</link>
	<title><![CDATA[Tools for Geospatial data analysis !]]></title>
	<description><![CDATA[<div><div><div><div><div><div><div><div><div><div><p>Geospatial data is becoming increasingly important in many fields, including urban planning, environmental science, public health, and more. These tools can help you work with data from a variety of sources, including satellite imagery, GPS data, and other forms of spatial data. They can help you visualize data, perform complex analysis, and even create maps and other visualizations.</p><p>The list includes some of the most popular and widely used geospatial tools available in Python. These tools can help you work with data from a variety of sources and in a variety of formats. Some of the tools are focused on visualization, such as Cartopy, Folium, and Contextily, which allow you to create interactive maps and other visualizations. Other tools are more focused on data manipulation and analysis, such as Fiona, GeoPandas, and Rasterio, which allow you to manipulate and analyze spatial data in a variety of ways.</p><p>The list also includes some tools for working with specific types of geospatial data. For example, the H3 library is designed specifically for working with hexagonal grids, while PySAL is focused on spatial econometrics and spatial analysis. Whether you are a data scientist, GIS specialist, or geospatial enthusiast, these tools are sure to enhance your work and help you achieve your goals.</p><p>In summary, this list is an excellent resource for anyone working with geospatial data in Python. It contains a wide range of tools for working with different types of data, and can help you visualize data, perform complex analysis, and create maps and other visualizations. If you're looking to enhance your skills in geospatial analysis, this list is definitely worth checking out.</p></div></div></div><div><p>These tools are:</p><ul>
<li>ArcGIS - <a href="https://lnkd.in/dgC6sKJH" target="_new">https://lnkd.in/dgC6sKJH</a></li>
<li>Cartopy - <a href="https://lnkd.in/dc8ijXRg" target="_new">https://lnkd.in/dc8ijXRg</a></li>
<li>Contextily - <a href="https://lnkd.in/dTdQsmKX" target="_new">https://lnkd.in/dTdQsmKX</a></li>
<li>Descartes - <a href="https://lnkd.in/dCJykxwW" target="_new">https://lnkd.in/dCJykxwW</a></li>
<li>Fiona - <a href="https://lnkd.in/d8sJ3Q5a" target="_new">https://lnkd.in/d8sJ3Q5a</a></li>
<li>Folium - <a href="https://lnkd.in/dfSsE-MB" target="_new">https://lnkd.in/dfSsE-MB</a></li>
<li>GDAL - <a href="https://lnkd.in/dYBJBaAY" target="_new">https://lnkd.in/dYBJBaAY</a></li>
<li>Geohash - <a href="https://lnkd.in/d_NxJ4_M" target="_new">https://lnkd.in/d_NxJ4_M</a></li>
<li>GeoJSON - <a href="https://lnkd.in/daGs2WYq" target="_new">https://lnkd.in/daGs2WYq</a></li>
<li>GeoPandas - <a href="https://lnkd.in/dBTFKKV3" target="_new">https://lnkd.in/dBTFKKV3</a></li>
<li>Geopy - <a href="https://lnkd.in/dfAzR8Xa" target="_new">https://lnkd.in/dfAzR8Xa</a></li>
<li>Gevent - <a href="http://www.gevent.org/" target="_new">http://www.gevent.org</a></li>
<li>H3 - <a href="https://h3geo.org/docs/" target="_new">https://h3geo.org/docs/</a></li>
<li>OSMnx - <a href="https://lnkd.in/dm3pHgUS" target="_new">https://lnkd.in/dm3pHgUS</a></li>
<li>PyQGIS - <a href="https://lnkd.in/dShWyWVr" target="_new">https://lnkd.in/dShWyWVr</a></li>
<li>PySAL - <a href="https://pysal.org/" target="_new">https://pysal.org</a></li>
<li>Pydeck - <a href="https://lnkd.in/dGBFu-iw" target="_new">https://lnkd.in/dGBFu-iw</a></li>
<li>Pyproj - <a href="https://lnkd.in/dNG9fdkm" target="_new">https://lnkd.in/dNG9fdkm</a></li>
<li>RTree - <a href="https://lnkd.in/dURMiYpU" target="_new">https://lnkd.in/dURMiYpU</a></li>
<li>Rasterio - <a href="https://lnkd.in/dEMC6ve6" target="_new">https://lnkd.in/dEMC6ve6</a></li>
<li>Scikit-mobility - <a href="https://lnkd.in/dpHhaX2J" target="_new">https://lnkd.in/dpHhaX2J</a></li>
<li>Shapely - <a href="https://lnkd.in/d568datK" target="_new">https://lnkd.in/d568datK</a></li>
</ul><p>These tools offer a wide range of capabilities for working with geospatial data, from visualizing and manipulating data to performing complex analysis and modeling. Whether you are a data scientist, GIS specialist, or geospatial enthusiast, these tools are sure to enhance your work and help you achieve your goals.</p></div></div></div></div></div></div></div></div>]]></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/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>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/bookmarks/view/43315/genome-assembly-workshop-2020</guid>
	<pubDate>Wed, 25 Aug 2021 04:30:32 -0500</pubDate>
	<link>https://bioinformaticsonline.com/bookmarks/view/43315/genome-assembly-workshop-2020</link>
	<title><![CDATA[Genome Assembly Workshop 2020]]></title>
	<description><![CDATA[<p><span>Our team offers custom bioinformatics services to academic and private organizations. We have a strong academic background with a focus on cutting edge, open source software. We replicate standard analysis pipelines (best practices) when appropriate, and/or develop novel applications and pipelines when needed, however we always emphasize biological interpretation of the data.</span></p>
<p><span>More at&nbsp;https://ucdavis-bioinformatics-training.github.io/</span></p><p>Address of the bookmark: <a href="https://ucdavis-bioinformatics-training.github.io/2020-Genome_Assembly_Workshop/snakemake/snakemake_intro" rel="nofollow">https://ucdavis-bioinformatics-training.github.io/2020-Genome_Assembly_Workshop/snakemake/snakemake_intro</a></p>]]></description>
	<dc:creator>Jit</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/bookmarks/view/43587/fix-rewritable-error-of-elgg</guid>
	<pubDate>Mon, 15 Nov 2021 06:23:46 -0600</pubDate>
	<link>https://bioinformaticsonline.com/bookmarks/view/43587/fix-rewritable-error-of-elgg</link>
	<title><![CDATA[Fix rewritable error of ELGG !]]></title>
	<description><![CDATA[<p>The&nbsp;<code><a href="https://httpd.apache.org/docs/2.4/mod/mod_rewrite.html">mod_rewrite</a></code>&nbsp;module uses a rule-based rewriting engine, based on a PCRE regular-expression parser, to rewrite requested URLs on the fly. By default,&nbsp;<code><a href="https://httpd.apache.org/docs/2.4/mod/mod_rewrite.html">mod_rewrite</a></code>&nbsp;maps a URL to a filesystem path. However, it can also be used to redirect one URL to another URL, or to invoke an internal proxy fetch.</p>
<p><code><a href="https://httpd.apache.org/docs/2.4/mod/mod_rewrite.html">mod_rewrite</a></code>&nbsp;provides a flexible and powerful way to manipulate URLs using an unlimited number of rules. Each rule can have an unlimited number of attached rule conditions, to allow you to rewrite URL based on server variables, environment variables, HTTP headers, or time stamps.</p>
<p><code><a href="https://httpd.apache.org/docs/2.4/mod/mod_rewrite.html">mod_rewrite</a></code>&nbsp;operates on the full URL path, including the path-info section. A rewrite rule can be invoked in&nbsp;<code>httpd.conf</code>&nbsp;or in&nbsp;<code>.htaccess</code>. The path generated by a rewrite rule can include a query string, or can lead to internal sub-processing, external request redirection, or internal proxy throughput.</p>
<p>Further details, discussion, and examples, are provided in the&nbsp;<a href="https://httpd.apache.org/docs/2.4/rewrite/">detailed mod_rewrite documentation</a>.</p>
<p>&nbsp;</p>
<ul>
<li>sudo a2enmod rewrite</li>
</ul>
<ul>
<li>sudo systemctl restart apache2</li>
</ul>
<ul>
<li>sudo nano /etc/apache2/sites-available/000-default.conf</li>
</ul>
<p>Write this</p>
<div title="/etc/apache2/sites-available/000-default.conf">/etc/apache2/sites-available/000-default.conf</div>
<div>
<div>
<pre><code><span>&lt;</span>VirtualHost *:8<span><span>0</span>&gt;</span>
    <span></span><span><span>&lt;</span>Directory /var/www/html<span>&gt;</span></span><span></span>
        <span>Options Indexes FollowSymLinks MultiViews</span>
        <span>AllowOverride All</span>
        <span>Require all granted</span>
    <span></span><span><span>&lt;</span>/Directory<span>&gt;</span></span><span></span>

    <span>.</span> <span>.</span> <span>.</span>
<span>&lt;</span>/VirtualHost<span>&gt;</span></code></pre>
</div>
</div><p>Address of the bookmark: <a href="https://www.digitalocean.com/community/tutorials/how-to-rewrite-urls-with-mod_rewrite-for-apache-on-ubuntu-18-04" rel="nofollow">https://www.digitalocean.com/community/tutorials/how-to-rewrite-urls-with-mod_rewrite-for-apache-on-ubuntu-18-04</a></p>]]></description>
	<dc:creator>Abhi</dc:creator>
</item>

</channel>
</rss>