<?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/43872?offset=10</link>
	<atom:link href="https://bioinformaticsonline.com/related/43872?offset=10" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/pages/view/35525/linux-commands-cheat-sheet-for-bioinformatics-and-computational-biology-professionals</guid>
	<pubDate>Mon, 05 Feb 2018 18:50:41 -0600</pubDate>
	<link>https://bioinformaticsonline.com/pages/view/35525/linux-commands-cheat-sheet-for-bioinformatics-and-computational-biology-professionals</link>
	<title><![CDATA[Linux Commands Cheat Sheet for Bioinformatics and Computational Biology Professionals]]></title>
	<description><![CDATA[<p><span>The purpose of this cheat sheet is to introduce biologist and bioinformatician to the frequently used tools for NGS analysis as well as giving experience in writing one-liners.</span></p><ul>
<li><span></span><span><strong>File System</strong></span><span><strong><br /> </strong></span><span>ls</span><span>&nbsp;&mdash; list items in current directory</span><span><br /> </span><span>ls -l</span><span>&nbsp;&mdash; list items in current directory and show in long format to see perimissions, size, and modification date</span><span><br /> </span><span>ls -a</span><span>&nbsp;&mdash; list all items in current directory, including hidden files</span><span><br /> </span><span>ls -F</span><span>&nbsp;&mdash; list all items in current directory and show directories with a slash and executables with a star</span><span><br /> </span><span>ls dir</span><span>&nbsp;&mdash; list all items in directory dir</span><span><br /> </span><span>cd dir</span><span>&nbsp;&mdash; change directory to dir</span><span><br /> </span><span>cd ..</span><span>&nbsp;&mdash; go up one directory</span><span><br /> </span><span>cd /</span><span>&nbsp;&mdash; go to the root directory</span><span><br /> </span><span>cd ~</span><span>&nbsp;&mdash; go to to your home directory</span><span><br /> </span><span>cd -</span><span>&nbsp;&mdash; go to the last directory you were just in</span><span><br /> </span><span>pwd</span><span>&nbsp;&mdash; show present working directory</span><span><br /> </span><span>mkdir dir</span><span>&nbsp;&mdash; make directory dir</span><span><br /> </span><span>rm file</span><span>&nbsp;&mdash; remove file</span><span><br /> </span><span>rm -r dir</span><span>&nbsp;&mdash; remove directory dir recursively</span><span><br /> </span><span>cp file1 file2</span><span>&nbsp;&mdash; copy file1 to file2</span><span><br /> </span><span>cp -r dir1 dir2</span><span>&nbsp;&mdash; copy directory dir1 to dir2 recursively</span><span><br /> </span><span>mv file1 file2</span><span>&nbsp;&mdash; move (rename) file1 to file2</span><span><br /> </span><span>ln -s file link</span><span>&nbsp;&mdash; create symbolic link to file</span><span><br /> </span><span>touch file</span><span>&nbsp;&mdash; create or update file</span><span><br /> </span><span>cat file</span><span>&nbsp;&mdash; output the contents of file</span><span><br /> </span><span>less file</span><span>&nbsp;&mdash; view file with page navigation</span><span><br /> </span><span>head file</span><span>&nbsp;&mdash; output the first 10 lines of file</span><span><br /> </span><span>tail file</span><span>&nbsp;&mdash; output the last 10 lines of file</span><span><br /> </span><span>tail -f file</span><span>&nbsp;&mdash; output the contents of file as it grows, starting with the last 10 lines</span><span><br /> </span><span>vim file</span><span>&nbsp;&mdash; edit file</span><span><br /> </span><span>alias name 'command'</span><span>&nbsp;&mdash; create an alias for a command</span><span><br /> </span></li>
<li><span></span><span><strong>System</strong></span><span><strong><br /> </strong></span><span>shutdown</span><span>&nbsp;&mdash; shut down machine</span><span><br /> </span><span>reboot</span><span>&nbsp;&mdash; restart machine</span><span><br /> </span><span>date</span><span>&nbsp;&mdash; show the current date and time</span><span><br /> </span><span>whoami</span><span>&nbsp;&mdash; who you are logged in as</span><span><br /> </span><span>finger user</span><span>&nbsp;&mdash; display information about user</span><span><br /> </span><span>man command</span><span>&nbsp;&mdash; show the manual for command</span><span><br /> </span><span>df</span><span>&nbsp;&mdash; show disk usage</span><span><br /> </span><span>du</span><span>&nbsp;&mdash; show directory space usage</span><span><br /> </span><span>free</span><span>&nbsp;&mdash; show memory and swap usage</span><span><br /> </span><span>whereis app</span><span>&nbsp;&mdash; show possible locations of app</span><span><br /> </span><span>which app</span><span>&nbsp;&mdash; show which app will be run by default</span><span><br /> </span></li>
<li><span></span><span><strong>Process Management</strong></span><span><strong><br /> </strong></span><span>ps</span><span>&nbsp;&mdash; display your currently active processes</span><span><br /> </span><span>top</span><span>&nbsp;&mdash; display all running processes</span><span><br /> </span><span>kill pid</span><span>&nbsp;&mdash; kill process id pid</span><span><br /> </span><span>kill -9 pid</span><span>&nbsp;&mdash; force kill process id pid</span><span><br /> </span></li>
<li><span></span><span><strong>Permissions</strong></span><span><strong><br /> </strong></span><span>ls -l</span><span>&nbsp;&mdash; list items in current directory and show permissions</span><span><br /> </span><span>chmod ugo file</span><span>&nbsp;&mdash; change permissions of file to ugo - u is the user's permissions, g is the group's permissions, and o is everyone else's permissions. The values of u, g, and o can be any number between 0 and 7.</span><span><br /> </span><span>7</span><span>&nbsp;&mdash; full permissions</span><span><br /> </span><span>6</span><span>&nbsp;&mdash; read and write only</span><span><br /> </span><span>5</span><span>&nbsp;&mdash; read and execute only</span><span><br /> </span><span>4</span><span>&nbsp;&mdash; read only</span><span><br /> </span><span>3</span><span>&nbsp;&mdash; write and execute only</span><span><br /> </span><span>2</span><span>&nbsp;&mdash; write only</span><span><br /> </span><span>1</span><span>&nbsp;&mdash; execute only</span><span><br /> </span><span>0</span><span>&nbsp;&mdash; no permissions</span><span><br /> </span><span>chmod 600 file</span><span>&nbsp;&mdash; you can read and write - good for files</span><span><br /> </span><span>chmod 700 file</span><span>&nbsp;&mdash; you can read, write, and execute - good for scripts</span><span><br /> </span><span>chmod 644 file</span><span>&nbsp;&mdash; you can read and write, and everyone else can only read - good for web pages</span><span><br /> </span><span>chmod 755 file</span><span>&nbsp;&mdash; you can read, write, and execute, and everyone else can read and execute - good for programs that you want to share</span><span><br /> </span></li>
<li><span></span><span><strong>Networking</strong></span><span><strong><br /> </strong></span><span>wget file</span><span>&nbsp;&mdash; download a file</span><span><br /> </span><span>curl file</span><span>&nbsp;&mdash; download a file</span><span><br /> </span><span>scp user@host:file dir</span><span>&nbsp;&mdash; secure copy a file from remote server to the dir directory on your machine</span><span><br /> </span><span>scp file user@host:dir</span><span>&nbsp;&mdash; secure copy a file from your machine to the dir directory on a remote server</span><span><br /> </span><span>scp -r user@host:dir dir</span><span>&nbsp;&mdash; secure copy the directory dir from remote server to the directory dir on your machine</span><span><br /> </span><span>ssh user@host</span><span>&nbsp;&mdash; connect to host as user</span><span><br /> </span><span>ssh -p port user@host</span><span>&nbsp;&mdash; connect to host on port as user</span><span><br /> </span><span>ssh-copy-id user@host</span><span>&nbsp;&mdash; add your key to host for user to enable a keyed or passwordless login</span><span><br /> </span><span>ping host</span><span>&nbsp;&mdash; ping host and output results</span><span><br /> </span><span>whois domain</span><span>&nbsp;&mdash; get information for domain</span><span><br /> </span><span>dig domain</span><span>&nbsp;&mdash; get DNS information for domain</span><span><br /> </span><span>dig -x host</span><span>&nbsp;&mdash; reverse lookup host</span><span><br /> </span><span>lsof -i tcp:1337</span><span>&nbsp;&mdash; list all processes running on port 1337</span><span><br /> </span></li>
<li><span></span><span><strong>Searching</strong></span><span><strong><br /> </strong></span><span>grep pattern files</span><span>&nbsp;&mdash; search for pattern in files</span><span><br /> </span><span>grep -r pattern dir</span><span>&nbsp;&mdash; search recursively for pattern in dir</span><span><br /> </span><span>grep -rn pattern dir</span><span>&nbsp;&mdash; search recursively for pattern in dir and show the line number found</span><span><br /> </span><span>grep -r pattern dir --include='*.ext</span><span>&nbsp;&mdash; search recursively for pattern in dir and only search in files with .ext extension</span><span><br /> </span><span>command | grep pattern</span><span>&nbsp;&mdash; search for pattern in the output of command</span><span><br /> </span><span>find file</span><span>&nbsp;&mdash; find all instances of file in real system</span><span><br /> </span><span>locate file</span><span>&nbsp;&mdash; find all instances of file using indexed database built from the updatedb command. Much faster than find</span><span><br /> </span><span>sed -i 's/day/night/g' file</span><span>&nbsp;&mdash; find all occurrences of day in a file and replace them with night - s means substitude and g means global - sed also supports regular expressions</span><span><br /> </span></li>
<li><span></span><span><strong>Compression</strong></span><span><strong><br /> </strong></span><span>tar cf file.tar files</span><span>&nbsp;&mdash; create a tar named file.tar containing files</span><span><br /> </span><span>tar xf file.tar</span><span>&nbsp;&mdash; extract the files from file.tar</span><span><br /> </span><span>tar czf file.tar.gz files</span><span>&nbsp;&mdash; create a tar with Gzip compression</span><span><br /> </span><span>tar xzf file.tar.gz</span><span>&nbsp;&mdash; extract a tar using Gzip</span><span><br /> </span><span>gzip file</span><span>&nbsp;&mdash; compresses file and renames it to file.gz</span><span><br /> </span><span>gzip -d file.gz</span><span>&nbsp;&mdash; decompresses file.gz back to file</span><span><br /> </span></li>
<li><span></span><span><strong>Shortcuts</strong></span><span><strong><br /> </strong></span><span>ctrl+a</span><span>&nbsp;&mdash; move cursor to beginning of line</span><span><br /> </span><span>ctrl+f</span><span>&nbsp;&mdash; move cursor to end of line</span><span><br /> </span><span>alt+f</span><span>&nbsp;&mdash; move cursor forward 1 word</span><span><br /> </span><span>alt+b</span><span>&nbsp;&mdash; move cursor backward 1 word</span><span><br /> </span></li>
<li></li>
</ul>]]></description>
	<dc:creator>Rahul Nayak</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/blog/view/42003/perl-one-liner-for-beginners</guid>
	<pubDate>Fri, 24 Jul 2020 05:58:28 -0500</pubDate>
	<link>https://bioinformaticsonline.com/blog/view/42003/perl-one-liner-for-beginners</link>
	<title><![CDATA[Perl one-liner for beginners !]]></title>
	<description><![CDATA[<p>I often use the following arguments to perl:</p><ul>
<li>-e Makes the line of code be executed instead of a script</li>
<li>-n Forces your line to be called in a loop. Allows you to take lines from the diamond operator (or stdin)</li>
<li>-p Forces your line to be called in a loop. Prints $_ at the end</li>
</ul><p>&nbsp;</p><ul>
<li>This counts the number of quotation marks in each line and prints it
<div>
<blockquote>
<div>perl -ne&nbsp;'$cnt = tr/"//;print "$cnt\n"'&nbsp;inputFileName.txt</div>
</blockquote>
</div>
</li>
</ul><ul>
<li>Adds string to each line, followed by tab
<div>
<blockquote>
<div>perl -pe&nbsp;'s/(.*)/string\t$1/'&nbsp;inFile &gt; outFile</div>
</blockquote>
</div>
</li>
</ul><ul>
<li>Append a new line to each line
<div>
<blockquote>
<div>perl -pe&nbsp;'s//\n/'&nbsp;all.sent.classOnly &gt; all.sent.classOnly.sep</div>
</blockquote>
</div>
</li>
</ul><ul>
<li>Replace all occurrences of pattern1 (e.g. [0-9]) with pattern2
<div>
<blockquote>
<div>perl -p -i.bak -w -e&nbsp;'s/pattern1/pattern2/g'&nbsp;inputFile</div>
</blockquote>
</div>
</li>
</ul><ul>
<li>Go through file and only print words that do not have any uppercase letters.
<div>
<blockquote>
<div>perl -ne&nbsp;'print unless m/[A-Z]/'&nbsp;allWords.txt &gt; allWordsOnlyLowercase.txt</div>
</blockquote>
</div>
</li>
</ul><ul>
<li>Go through file, split line at each space and print words one per line.
<div>
<blockquote>
<div>perl -ne&nbsp;'print join("\n", split(/ /,$_));print("\n")'&nbsp;someText.txt &gt; wordsPerLine.txt</div>
</blockquote>
</div>
</li>
</ul><ul>
<li>or in other words, delete every character that is not a letter, white space or line end (replace with nothing)
<div>
<blockquote>
<div>perl -pne&nbsp;'s/[^a-zA-Z\s]*//g'&nbsp;text_withSpecial.txt &gt; text_lettersOnly.txt</div>
</blockquote>
</div>
</li>
</ul><ul>
<li>
<div>
<div>perl -pne&nbsp;'tr/[A-Z]/[a-z]/'&nbsp;textWithUpperCase.txt &gt; textwithoutuppercase.txt;</div>
</div>
</li>
</ul><ul>
<li>Print only the second column of the data when using tabular as a separator
<div>
<blockquote>
<div>perl -ne&nbsp;'@F = split("\t", $_); print "$F[1]";'&nbsp;columnFileWithTabs.txt &gt; justSecondColumn.txt</div>
</blockquote>
</div>
</li>
</ul><ul>
<li>
<div>One-Liner: Sort lines by their length
<blockquote>
<div>perl -e&nbsp;'print sort {length $a &lt;=&gt; length $b} &lt;&gt;'&nbsp;textFile</div>
</blockquote>
</div>
</li>
</ul><ul>
<li>One-Liner: Print second column, unless it contains a number
<blockquote>
<div>perl"&gt;perl -lane&nbsp;'print $F[1] unless $F[1] =~ m/[0-9]/'&nbsp;wordCounts.txt</div>
</blockquote>
</li>
</ul>]]></description>
	<dc:creator>BioStar</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/pages/view/43605/installing-elgg-on-ubuntu</guid>
	<pubDate>Thu, 25 Nov 2021 01:45:59 -0600</pubDate>
	<link>https://bioinformaticsonline.com/pages/view/43605/installing-elgg-on-ubuntu</link>
	<title><![CDATA[Installing ELGG on Ubuntu !]]></title>
	<description><![CDATA[<p>Follow this:</p><h3>Settings file</h3><ul>
<li>
<div>
<div>
<div>Error</div>
<div>
<p>Your web server does not have permission to create the settings.php file in your installation directory. You have two choices:</p>
<p>1. Change the permissions on the elgg-config directory of your Elgg installation</p>
<p>2. Copy the file elgg-config/settings.example.php to elgg-config/settings.php and follow the instructions in it for setting your database parameters.</p>
</div>
</div>
</div>
</li>
</ul><p>&nbsp;</p><p>To resolve this --&nbsp;</p><p>Change the permision&nbsp;</p><p>chmod 777 elgg-config</p><h3>Web server</h3><ul>
<li>
<div>
<div>
<div>Warning</div>
<div>
<p>Your server does not support automatic testing of the rewrite rules and your browser does not support checking via JavaScript. You can continue the installation, but you may experience problems with your site. You can manually test the rewrite rules by clicking this link:&nbsp;test. You will see the word success if the rules are working.</p>
</div>
</div>
</div>
</li>
</ul><p>create a .httaccess</p><p>and provide detail in it</p><p><span style="text-decoration: underline;">Installation of Elgg</span><span></span></p><p>&nbsp;</p><p>(Note: Elgg requires&nbsp;<a href="http://www.cs.oswego.edu/~odendahl/misc/howto/mysql/">installing an instance of MySQL</a>.)</p><p>&nbsp;</p><p><span style="text-decoration: underline;">Steps to make adjustment and disposal of trial installations easier</span>.</p><p>&nbsp;</p><p><span style="text-decoration: underline;">MySQL</span></p><p>At this point, we assume you've set up your&nbsp;<tt>MySQL</tt>&nbsp;database</p><div><ol>
<li>Start your&nbsp;<tt>mysqld</tt>&nbsp;server daemon.<br />(For the sake of this example, we'll assume we're running on port 9999; you shouldn't actually use this port because only one daemon can run on any port number.)</li>
<li>Login to the server as&nbsp;<tt>root</tt>&nbsp;user, using the&nbsp;<tt>mysql</tt>&nbsp;client.</li>
<li>Create a database to store Elgg's tables. We'll call the database&nbsp;<tt>elggalpha</tt>.<br /><tt>mysql&gt; create database elggalpha;</tt></li>
<li>Grant access to a user &mdash; for this example we'll call him/her&nbsp;<tt>elggalphauser</tt>.
<pre>mysql&gt; grant all privileges on elggalpha.* to 'elggalphauser'@'moxie'
    -&gt; identified by 'secretpassword';
</pre>
</li>
</ol></div><p>&nbsp;</p><p><span style="text-decoration: underline;">Elgg</span></p><p>&nbsp;</p><div><ol>
<li>Type&nbsp;<tt>umask 022</tt></li>
<li>Change into your&nbsp;<tt>public_html</tt>&nbsp;directory (<em>aka</em>&nbsp;folder).<br /><tt>cd public_html</tt></li>
<li>make a directory called&nbsp;<tt>elgg</tt><br /><tt>mkdir elgg</tt></li>
<li>Change into the&nbsp;<tt>elgg</tt>&nbsp;subdirectory of&nbsp;<tt>public_html</tt>.<br /><tt>cd elgg</tt></li>
<li>download elgg into this directory</li>
<li>you'll end up with a file named<br /><tt>/home/<em>your-user-id</em>/public_html/elgg/elgg-X.X.X.X.zip</tt><br />(It's not literally&nbsp;<tt>X.X.X.X</tt>, it might be&nbsp;<tt>elgg-1.8.0.1.zip</tt>, for example.)</li>
<li>unzip elgg<br /><tt>unzip -q elgg-1.8.0.1.zip</tt></li>
<li>you'll end up with a directory (folder) named<br /><tt>/home/<em>your-user-id</em>/public_html/elgg/elgg-X.X.X.X</tt></li>
<li>make a symbolic link (<em>aka</em>&nbsp;shortcut) to this<br /><tt>ln -s elgg-X.X.X.X alpha</tt><br />(For example,&nbsp;<tt>ln -s elgg-1.8.0.1 alpha</tt>)</li>
<li>Give user&nbsp;<tt>nobody</tt>&nbsp;access to this directory<br /><tt>/usr/misc/bin/acl.sh -r -u nobody elgg-1.8.0.1</tt></li>
<li>create a data directory for&nbsp;<tt>elgg</tt>&nbsp;(get into your home directory first):
<pre>cd
mkdir -p elgg/alpha/data
chmod -R 755 elgg/alpha/data
</pre>
</li>
<li>Change into the&nbsp;<tt>elgg/alpha</tt>&nbsp;directory.<br /><tt>cd elgg/alpha</tt></li>
<li>Give user&nbsp;<tt>nobody</tt>&nbsp;access to this subdirectory&nbsp;<tt>data</tt><br /><tt>/usr/misc/bin/acl.sh -u nobody data</tt></li>
<li>In your browser, navigate to your elgg installation<br /><tt>http://moxie.cs.oswego.edu/~<em>your-user-id</em>/elgg/alpha/</tt><br />You'll have a screen which includes this message:
<pre>Welcome

Installing Elgg has 6 simple steps and reading this welcome is the first one!

If you haven't already, read through the installation instructions included with Elgg (or click the instructions link at the bottom of the page).

If you are ready to proceed, click the Next button.
</pre>
</li>
<li>Follow configuration process:
<ul>
<li>The first screen probably will contain a success message in green and a failure message in pink:
<pre><span>Requirements check</span>

Your server failed the requirements check. After you have fixed the below issues, refresh this
page. Check the troubleshooting links at the bottom of this page if you need further assistance.
<span>PHP</span></pre>
<div>Your server's PHP satisfies all of Elgg's requirements.</div>
<pre>
<span>Web server</span></pre>
<div>We think your server is running the Apache web server. The rewrite test failed and the most likely cause is that AllowOverride is not set to All for Elgg's directory. This prevents Apache from processing the .htaccess file which contains the rewrite rules. A less likely cause is Apache is configured with an alias for your Elgg directory and you need to set the RewriteBase in your .htaccess. There are further instructions in the .htaccess file in your Elgg directory.</div>
<pre>
<span>Database</span></pre>
<div>The database requirements are checked when Elgg loads its database.</div>
</li>
<li>To correct this, replace the&nbsp;<tt>.htaccess</tt>&nbsp;file that Elgg created with one that you can edit:
<pre>cp -ip .htaccess temp-htaccess
rm .htaccess
mv temp-htaccess .htaccess
</pre>
</li>
<li>Edit the&nbsp;<tt>.htaccess</tt>&nbsp;file: Go to approximately line 101 (where it says&nbsp;<tt>#RewriteBase /</tt>) and add the line:<br /><tt>RewriteBase /~<em>your-user-id</em>/elgg/alpha/</tt></li>
<li>Be sure to save the edited file.
<p>&nbsp;</p>
<p>&nbsp;</p>
</li>
<li>Click the&nbsp;<span>Refresh</span>&nbsp;button.
<p>&nbsp;</p>
<p>&nbsp;</p>
</li>
<li>If this hasn't fixed things, seek professional help.
<p>&nbsp;</p>
<p>&nbsp;</p>
</li>
<li>Click the&nbsp;<span>Next</span>&nbsp;button.
<p>&nbsp;</p>
<p>&nbsp;</p>
</li>
<li>Fill in the parameters appropriate to your MySQL installation.
<pre><span>Database installation</span>

If you haven't already created a database for Elgg, do that now. Then fill in the values below to
initialize the Elgg database.

<span>Database Username</span></pre>
<div>elggalphauser</div>
<pre>User that has full priviledges to the MySQL database that you created for Elgg

<span>Database Password</span></pre>
<div>secretpassword</div>
<pre>Password for the above database user account

<span>Database Name</span></pre>
<div>elggalpha</div>
<pre>Name of the Elgg database

<span>Database Host</span></pre><sup>&Dagger;</sup>
<div>moxie:9999</div>
<pre>Hostname of the MySQL server (usually localhost)
<strong>&Dagger;You might need to use <tt>127.0.0.1:9999</tt> for the host
    if you haven't set up MySQL as we've done.</strong>



<span>Database Table Prefix</span></pre>
<div>elgg_</div>
<pre>The prefix given to all of Elgg's tables (usually elgg_)
</pre>
<div><span>Next</span></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
</li>
<li>Continue filling in forms as requested.
<pre>Configure site</pre>
<div>Database has been installed.</div>
<pre>
We need some information about the site as we configure Elgg. If you haven't created a data directory for Elgg, you need to do so now.

<span>Site Name</span></pre>
<div>My Elgg Site version Alpha</div>
<pre>The name of your new Elgg site

<span>Site Email Address</span></pre>
<div><em>your-user-id</em>@oswego.edu</div>
<pre>Email address used by Elgg for communication with users

<span>Site URL</span></pre>
<div>http://moxie.cs.oswego.edu/~<em>your-user-id</em>/elgg/alpha/</div>
<pre>The address of the site (Elgg usually guesses this correctly)

<span>Elgg Install Directory</span></pre>
<div>/home/<em>your-user-id</em>/public_html/elgg/elgg.1.8.0.1/</div>
<pre>The directory where you put the Elgg code (Elgg usually guesses this correctly)

<span>Data Directory</span></pre>
<div>/home/<em>your-user-id</em>/elgg/alpha/data</div>
<pre>The directory that you created for Elgg to save files (the permissions on this directory are checked
when you click Next)

<span>Default Site Access</span></pre>
<div>Public</div>
<pre>The default access level for new user created content
</pre>
</li>
<li>
<pre><span>Create admin account</span></pre>
<div>Site settings have been saved.</div>
<pre>
It is now time to create an administrator's account.

<span>Display Name</span></pre>
<div>&nbsp;</div>
<pre>The name that is displayed on the site for this account

<span>Email Address</span></pre>
<div>&nbsp;</div>
<pre>
<span>Username</span></pre>
<div>&nbsp;</div>
<pre>Account username used for logging in

<span>Password</span></pre>
<div>&nbsp;</div>
<pre>Account password must be at least 6 characters long

<span>Password Again</span></pre>
<div>&nbsp;</div>
<pre>Retype password to confirm</pre>
</li>
</ul>
</li>
</ol></div>]]></description>
	<dc:creator>Jit</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/news/view/4716/osddlinux-computational-resources-for-drug-discovery</guid>
	<pubDate>Sun, 22 Sep 2013 13:15:58 -0500</pubDate>
	<link>https://bioinformaticsonline.com/news/view/4716/osddlinux-computational-resources-for-drug-discovery</link>
	<title><![CDATA[OSDDlinux : Computational resources for drug discovery]]></title>
	<description><![CDATA[<p>Open Source Drug Discovery (OSDD), a mission to provide affordable drugs for poors, is in the process of creating an in silico plateform for designing, discovering and simulating drugs. OSDD have initiate number of projects to support in silico drug discovery, including OSDDlinux and computational resources for drug discovery (CRDD).</p><p>The main purpose of OSDDLinux is to provide an in silico platform for computer-aided drug design. This is a collection and compilation of large number of software and web services which will be directly or indirectly useful for researches working in the field of drug design/discovery. Overall objective of OSDDlinux is to promote open source in drug discovery, crowdsourcing and network based collobrations. Following are major features of OSDDlinux ...&nbsp;</p><p>Find more @&nbsp;http://osddlinux.osdd.net/index.php</p>]]></description>
	<dc:creator>Archana Malhotra</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/pages/view/9204/keep-your-important-ssh-session-running-when-you-disconnect-from-server</guid>
	<pubDate>Sat, 15 Mar 2014 21:39:17 -0500</pubDate>
	<link>https://bioinformaticsonline.com/pages/view/9204/keep-your-important-ssh-session-running-when-you-disconnect-from-server</link>
	<title><![CDATA[Keep Your Important SSH Session Running when You Disconnect from Server !!!]]></title>
	<description><![CDATA[<p>As a Bioinformatician/ Computational biologist we swim in the ocean of genomic/proteomics data, and play with them with an ease. In our day to day simulation, analysis, comparative study we do need to run exhaustive programs, which might take more than a week. In such cases we do need to disconnect from sever in a way that our program/session should not get terminated. To do so there are lots of software, tools such as tmux ( <a href="http://tmux.sourceforge.net/">http://tmux.sourceforge.net/</a>, nohup (<a href="http://ss64.com/bash/nohup.html">http://ss64.com/bash/nohup.html</a>) , byobu (<a href="https://help.ubuntu.com/10.04/serverguide/byobu.html">https://help.ubuntu.com/10.04/serverguide/byobu.html</a>) and other commands (disown -a &amp;&amp; exit), but following are the ones I use the most.</p><p>Screen is like a window manager for your console. It will allow you to keep multiple terminal sessions running and easily switch between them. It also protects you from disconnection, because the screen session doesn&rsquo;t end when you get disconnected.<br /><br />You&rsquo;ll need to make sure that screen is installed on the server you are connecting to. If that server is Ubuntu or Debian, just use this command:<br /><br />sudo apt-get install screen<br /><br />Now you can start a new screen session by just typing screen at the command line. You&rsquo;ll be shown some information about screen. Hit enter, and you&rsquo;ll be at a normal prompt.<br /><br /><strong>To disconnect (but leave the session running)</strong><br /><br />Hit Ctrl + A and then Ctrl + D in immediate succession. You will see the message [detached]<br /><br /><strong>To reconnect to an already running session</strong><br /><br />screen -r<br /><br /><strong>To reconnect to an existing session, or create a new one if none exists</strong><br /><br />screen -D -r<br /><br /><strong>To create a new window inside of a running screen session</strong><br /><br />Hit Ctrl + A and then C in immediate succession. You will see a new prompt.<br /><br /><strong>To switch from one screen window to another</strong><br /><br />Hit Ctrl + A and then Ctrl + A in immediate succession.<br /><br /><strong>To list open screen windows</strong><br /><br />Hit Ctrl + A and then W in immediate succession</p>]]></description>
	<dc:creator>Jitendra Narayan</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/pages/view/11582/monitor-running-jobs-on-linux-server</guid>
	<pubDate>Fri, 06 Jun 2014 16:18:43 -0500</pubDate>
	<link>https://bioinformaticsonline.com/pages/view/11582/monitor-running-jobs-on-linux-server</link>
	<title><![CDATA[Monitor running jobs on Linux server]]></title>
	<description><![CDATA[<p>You as a bioinformatican run lots of program on your servers. Sometime the shared server is also used by your colleague. If server is busy you sometime need to check the running programs and want to monitor the running programs as well. The "top" command will come in handy when you need to find out if things are still running, how long they&rsquo;ve been running, or how much memory is being used.<br /><br />&lsquo;top&rsquo; is very simple to run: type<br /><br />%% top<br /><br />You&rsquo;ll get a screen that looks like this, and is updated regularly:<br /><br /><img src="http://bioinformaticsonline.com/mod/photo/top.png" width="659" height="582" alt="image" style="border: 0px;"><br />Simple, right? Heh.<br /><br />First! Note that you can use &lsquo;q&rsquo; or &lsquo;CTRL-C&rsquo; to exit from &lsquo;top&rsquo;.<br /><br />Now let&rsquo;s read and understand at each line independently.<br /><br />The first line:<br /><br />top - 23:00:48 up 39 days,&nbsp; 2 user,&nbsp; load average: 0.00, 0.00, 0.00<br /><br />The first line tells you the current time, how long the machine has been up, how many users are logged in, and the short/medium/long-term compute load on the machine. If you run something for a long time, you&rsquo;ll see these numbers go up. Right now, the machine is basically just sitting there, so these are all close to 0.<br /><br />The second line:</p><p>Tasks:&nbsp; 239 total,&nbsp;&nbsp; 1 running,&nbsp; 238 sleeping,&nbsp;&nbsp; 0 stopped,&nbsp;&nbsp; 0 zombie<br /><br />This line tells you how many processes are running. If you are using laptops machines it&rsquo;s not so interesting because you really are the only one using this machine.<br /><br />Cpu(s):&nbsp; 0.0%us,&nbsp; 0.0%sy,&nbsp; 0.0%ni,100.0%id,&nbsp; 0.0%wa,&nbsp; 0.0%hi,&nbsp; 0.0%si,&nbsp; 0.0%st<br /><br />This line contains the CPU load. The first two numbers are how busy the system is doing computation (&ldquo;us&rdquo; stands for &ldquo;user&rdquo;) and how busy the system is doing system-y things like accessing disks or network (&ldquo;sy&rdquo; stands for &ldquo;system&rdquo;). We&rsquo;ll talk more about this later.<br /><br />Mem:&nbsp;&nbsp; 49457320k total,&nbsp;&nbsp;&nbsp; 3492174k used,&nbsp; 14535596k free,&nbsp;&nbsp;&nbsp; 1435148k buffers<br /><br />This should be easy to understand &ndash; how much memory you&rsquo;re using! <br /><br />Swap:&nbsp;&nbsp; 539356k total,&nbsp;&nbsp; 28332k used,&nbsp;&nbsp; 836562k free,&nbsp;&nbsp;&nbsp; 29862014k cached<br /><br />Swap is just on-disk memory that can be used to &ldquo;swap&rdquo; out programs from main memory. Again, we&rsquo;ll talk about this later.:<br /><br />PID USER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PR&nbsp; NI&nbsp; VIRT&nbsp; RES&nbsp; SHR S %CPU %MEM&nbsp;&nbsp;&nbsp; TIME+&nbsp; COMMAND<br />&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 39 &nbsp; 19&nbsp; 0&nbsp; 0&nbsp; 0 S&nbsp; 0.0&nbsp; 0.0&nbsp;&nbsp; 246:57.22 kipmi0<br />&nbsp; 2 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RT&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 0 S&nbsp; 0.0&nbsp; 0.0&nbsp;&nbsp; 0:00.00 migration/0<br /><br />And... finally! What&rsquo;s actually running! The two most important numbers are the %CPU and %MEM towards the right, as well as the COMMAND. This tells you how compute- and memory-intensive your program is. Right now, nothing&rsquo;s running so the numbers aren&rsquo;t very interesting, but just wait until we run something...</p>]]></description>
	<dc:creator>Jitendra Narayan</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/pages/view/36502/creating-conda-environment-for-python27</guid>
	<pubDate>Mon, 07 May 2018 08:56:52 -0500</pubDate>
	<link>https://bioinformaticsonline.com/pages/view/36502/creating-conda-environment-for-python27</link>
	<title><![CDATA[Creating conda environment for python2.7]]></title>
	<description><![CDATA[<p>TIP: By default, environments are installed into the&nbsp;<code><span>envs</span></code>&nbsp;directory in your conda directory. Run&nbsp;<code><span>conda</span>&nbsp;<span>create</span>&nbsp;<span>--help</span></code>&nbsp;for information on specifying a different path.</p><p>Use the Terminal or an Anaconda Prompt for the following steps.</p><ol>
<li>
<p>To create an environment:</p>
<div>
<div>
<pre><span></span><span>conda</span> <span>create</span> <span>--</span><span>name</span> <span>myenv</span>
</pre>
</div>
</div>
<p>NOTE: Replace&nbsp;<code><span>myenv</span></code>&nbsp;with the environment name.</p>
</li>
<li>
<p>When conda asks you to proceed, type&nbsp;<code><span>y</span></code>:</p>
<div>
<div>
<pre><span></span>proceed ([y]/n)?
</pre>
</div>
</div>
</li>
</ol><p>This creates the myenv environment in&nbsp;<code><span>/envs/</span></code>. This environment uses the same version of Python that you are currently using, because you did not specify a version.</p><p>To create an environment with a specific version of Python:</p><div><div><pre><span></span>conda create -n myenv <span>python</span><span>=</span><span>3</span>.4
</pre></div></div><p>To create an environment with a specific package:</p><div><div><pre><span></span>conda create -n myenv scipy
</pre></div></div><p>OR:</p><div><div><pre><span></span>conda create -n myenv python
conda install -n myenv scipy
</pre></div></div><p>To create an environment with a specific version of a package:</p><div><div><pre><span></span>conda create -n myenv <span>scipy</span><span>=</span><span>0</span>.15.0
</pre></div></div><p>OR:</p><div><div><pre><span></span>conda create -n myenv python
conda install -n myenv <span>scipy</span><span>=</span><span>0</span>.15.0
</pre></div></div><p>To create an environment with a specific version of Python and multiple packages:</p><div><div><pre><span></span>conda create -n myenv <span>python</span><span>=</span><span>3</span>.4 <span>scipy</span><span>=</span><span>0</span>.15.0 astroid babel
</pre></div></div><p>TIP: Install all the programs that you want in this environment at the same time. Installing 1 program at a time can lead to dependency conflicts.</p><p>To automatically install pip or another program every time a new environment is created, add the default programs to the&nbsp;<a href="https://conda.io/docs/user-guide/configuration/use-condarc.html#config-add-default-pkgs">create_default_packages</a>&nbsp;section of your&nbsp;<code><span>.condarc</span></code>&nbsp;configuration file. The default packages are installed every time you create a new environment. If you do not want the default packages installed in a particular environment, use the&nbsp;<code><span>--no-default-packages</span></code>&nbsp;flag:</p><div><div><pre><span></span>conda create --no-default-packages -n myenv python
</pre></div></div><p>TIP: You can add much more to the&nbsp;<code><span>conda</span>&nbsp;<span>create</span></code>&nbsp;command. For details, run&nbsp;<code><span>conda</span>&nbsp;<span>create</span>&nbsp;<span>--help</span></code>.</p><p>➜ redundans git:(master) ✗ conda create --name py27 python=2.7<br />Solving environment: done</p><p><br />==&gt; WARNING: A newer version of conda exists. &lt;==<br /> current version: 4.5.0<br /> latest version: 4.5.2</p><p>Please update conda by running</p><p>$ conda update -n base conda</p><p>&nbsp;</p><p>## Package Plan ##</p><p>environment location: /home/urbe/anaconda3/envs/py27</p><p>added / updated specs: <br /> - python=2.7</p><p><br />The following packages will be downloaded:</p><p>package | build<br /> ---------------------------|-----------------<br /> wheel-0.31.0 | py27_0 61 KB<br /> python-2.7.15 | h1571d57_0 12.1 MB<br /> certifi-2018.4.16 | py27_0 142 KB<br /> sqlite-3.23.1 | he433501_0 1.5 MB<br /> setuptools-39.1.0 | py27_0 582 KB<br /> openssl-1.0.2o | h20670df_0 3.4 MB<br /> pip-10.0.1 | py27_0 1.7 MB<br /> ca-certificates-2018.03.07 | 0 124 KB<br /> ------------------------------------------------------------<br /> Total: 19.6 MB</p><p>The following NEW packages will be INSTALLED:</p><p>ca-certificates: 2018.03.07-0 <br /> certifi: 2018.4.16-py27_0 <br /> libedit: 3.1-heed3624_0 <br /> libffi: 3.2.1-hd88cf55_4 <br /> libgcc-ng: 7.2.0-hdf63c60_3 <br /> libstdcxx-ng: 7.2.0-hdf63c60_3 <br /> ncurses: 6.0-h9df7e31_2 <br /> openssl: 1.0.2o-h20670df_0<br /> pip: 10.0.1-py27_0 <br /> python: 2.7.15-h1571d57_0<br /> readline: 7.0-ha6073c6_4 <br /> setuptools: 39.1.0-py27_0 <br /> sqlite: 3.23.1-he433501_0<br /> tk: 8.6.7-hc745277_3 <br /> wheel: 0.31.0-py27_0 <br /> zlib: 1.2.11-ha838bed_2</p><p>Proceed ([y]/n)? y</p><p><br />Downloading and Extracting Packages<br />wheel 0.31.0: #################################################################################################################################################################################################### | 100% <br />python 2.7.15: ################################################################################################################################################################################################### | 100% <br />certifi 2018.4.16: ############################################################################################################################################################################################### | 100% <br />sqlite 3.23.1: ################################################################################################################################################################################################### | 100% <br />setuptools 39.1.0: ############################################################################################################################################################################################### | 100% <br />openssl 1.0.2o: ################################################################################################################################################################################################## | 100% <br />pip 10.0.1: ###################################################################################################################################################################################################### | 100% <br />ca-certificates 2018.03.07: ###################################################################################################################################################################################### | 100% <br />Preparing transaction: done<br />Verifying transaction: done<br />Executing transaction: done<br />#<br /># To activate this environment, use:<br /># &gt; source activate py27<br />#<br /># To deactivate an active environment, use:<br /># &gt; source deactivate<br />#</p><p>➜ redundans git:(master) ✗ source activate py27</p>]]></description>
	<dc:creator>Jit</dc:creator>
</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/43120/ventoy-an-open-source-tool-to-create-bootable-usb-drive</guid>
	<pubDate>Tue, 29 Jun 2021 10:16:19 -0500</pubDate>
	<link>https://bioinformaticsonline.com/bookmarks/view/43120/ventoy-an-open-source-tool-to-create-bootable-usb-drive</link>
	<title><![CDATA[Ventoy: an open source tool to create bootable USB drive]]></title>
	<description><![CDATA[<p>Ventoy is an open source tool to create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI files. With ventoy, you don't need to format the disk over and over, you just need to copy the image files to the USB drive and boot it. You can copy many image files at a time and ventoy will give you a boot menu to select them. x86 Legacy BIOS, IA32 UEFI, x86_64 UEFI, ARM64 UEFI and MIPS64EL UEFI are supported in the same way. Both MBR and GPT partition style are supported in the same way. Most type of OS supported(Windows/WinPE/Linux/Unix/Vmware/Xen...) 700+ ISO files are tested.&nbsp;</p><p>Address of the bookmark: <a href="https://github.com/ventoy/Ventoy" rel="nofollow">https://github.com/ventoy/Ventoy</a></p>]]></description>
	<dc:creator>LEGE</dc:creator>
</item>

</channel>
</rss>