<?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: Results for "Oneliner"]]></title>
	<link>https://bioinformaticsonline.com/search?q=Oneliner&amp;search_type=all</link>
	<atom:link href="https://bioinformaticsonline.com/search?q=Oneliner&amp;search_type=all" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	
<item>
	<guid isPermaLink='true'>https://bioinformaticsonline.com/bookmarks/view/28303/fancy-oneliner-for-bioinformatics</guid>
	<pubDate>Thu, 07 Jul 2016 12:05:50 -0500</pubDate>
	<link>https://bioinformaticsonline.com/bookmarks/view/28303/fancy-oneliner-for-bioinformatics</link>
	<title><![CDATA[Fancy Oneliner for Bioinformatics !!]]></title>
	<description><![CDATA[This webpage lists some of the one-liners that we frequently use in metagenomic analyses. You can click on the following links to browse through different topics. You ca...]]></description>
</item>

<item>
	<guid isPermaLink='true'>https://bioinformaticsonline.com/pages/view/36197/bioinformatics-oneliner</guid>
	<pubDate>Tue, 10 Apr 2018 04:13:03 -0500</pubDate>
	<link>https://bioinformaticsonline.com/pages/view/36197/bioinformatics-oneliner</link>
	<title><![CDATA[Bioinformatics OneLiner]]></title>
	<description><![CDATA[To remove all line ends (\n) from a Unix text file:
sed ':a;N;$!ba;s/\n//g' filename.txt &gt; newfilename_oneline.txt
To get average for a column of numbers (here the...]]></description>
</item>

<item>
	<guid isPermaLink='false'>11554</guid>
	<pubDate>Fri, 06 Jun 2014 02:55:27 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/11554</link>
	<title><![CDATA[Wire post by Jit]]></title>
	<description><![CDATA[Remove the blank space from a fasta file. perl -nlwe 'tr/ //d; print if length' fileName #Delete #Space #Fasta #Perl #<strong class="search-highlight search-highlight-color1">Oneliner</strong>]]></description>
</item>

<item>
	<guid isPermaLink='false'>10779</guid>
	<pubDate>Mon, 12 May 2014 04:47:30 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/10779</link>
	<title><![CDATA[Wire post by Neel]]></title>
	<description><![CDATA[zcat input_file.fastq.gz | awk 'NR%4==1{printf "&gt;%s\n", substr($0,2)}NR%4==2{print}' &gt; output_file.fa #fastaQ2fasta #fastaq #fasta #<strong class="search-highlight search-highlight-color1">Oneliner</strong>]]></description>
</item>

<item>
	<guid isPermaLink='true'>https://bioinformaticsonline.com/snippets/view/41164/bash-oneliner-to-extract-all-ids-from-a-multifasta-file</guid>
	<pubDate>Tue, 18 Feb 2020 08:06:09 -0600</pubDate>
	<link>https://bioinformaticsonline.com/snippets/view/41164/bash-oneliner-to-extract-all-ids-from-a-multifasta-file</link>
	<title><![CDATA[Bash oneliner to extract all ids from a multifasta file]]></title>
	<description><![CDATA[#List of ids - one per line in allIds.txt

$ awk 'BEGIN{while((getline0)l[">"$1]=1}/^>/{f=!l[$1]}f' seq.fa

# You can play with this f=!l[$1 ] if wanted to extract or not extract the ids]]></description>
</item>

<item>
	<guid isPermaLink='true'>https://bioinformaticsonline.com/snippets/view/41967/reformat-the-multifasta-for-sequence-length</guid>
	<pubDate>Mon, 13 Jul 2020 08:43:44 -0500</pubDate>
	<link>https://bioinformaticsonline.com/snippets/view/41967/reformat-the-multifasta-for-sequence-length</link>
	<title><![CDATA[Reformat the multifasta for sequence length !]]></title>
	<description><![CDATA[#awk <strong class="search-highlight search-highlight-color1">oneliner</strong> to reformat the multifasta sequences

awk '!/^>/ {printf "%s", $0; n = "\n"} /^>/ {print n $0; n = ""}' file.fasta | fold -w 100]]></description>
</item>

<item>
	<guid isPermaLink='true'>https://bioinformaticsonline.com/thewire/view/11525</guid>
	<pubDate>Thu, 05 Jun 2014 14:34:39 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/11525</link>
	<title><![CDATA[]]></title>
	<description><![CDATA[rename all *.txt as *.bak: find . -name "*.txt" | sed "s/\.txt$//" | xargs -i echo mv {}.txt {}.bak | sh #Linux #Rename #Oneliner]]></description>
</item>

<item>
	<guid isPermaLink='true'>https://bioinformaticsonline.com/thewire/view/11554</guid>
	<pubDate>Fri, 06 Jun 2014 02:55:27 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/11554</link>
	<title><![CDATA[]]></title>
	<description><![CDATA[Remove the blank space from a fasta file. perl -nlwe 'tr/ //d; print if length' fileName #Delete #Space #Fasta #Perl #Oneliner]]></description>
</item>

<item>
	<guid isPermaLink='true'>https://bioinformaticsonline.com/fun/view/9207/biogeek-fun#annotation-2849</guid>
	<pubDate>Fri, 23 Dec 2016 09:06:41 -0600</pubDate>
	<link>https://bioinformaticsonline.com/fun/view/9207/biogeek-fun#annotation-2849</link>
	<title><![CDATA[Comment on "BioGeek Fun" by Bulbul]]></title>
	<description><![CDATA[How about this <strong class="search-highlight search-highlight-color1">oneliner</strong> ;)
perl -ne 'chomp;if( /&gt;(.*)/){$head = $1; $i=0; next};@a=split("",$_); foreach(@a){$i++;if($_ eq "N" &amp;&amp; $s ==0 ){print "$head\t$i"; $s =1}elsif($s==1 &amp;&amp; $_ ne "N"){print "\t$i\n";$s=0}}' infile.fa]]></description>
</item>

<item>
	<guid isPermaLink='true'>https://bioinformaticsonline.com/pages/view/11181/perl-one-liner-for-bioinformatician#annotation-1440</guid>
	<pubDate>Fri, 30 May 2014 05:54:35 -0500</pubDate>
	<link>https://bioinformaticsonline.com/pages/view/11181/perl-one-liner-for-bioinformatician#annotation-1440</link>
	<title><![CDATA[Comment on "Perl one-liner for bioinformatician !!!" by Jitendra Narayan]]></title>
	<description><![CDATA[Nice collection of Perl <strong class="search-highlight search-highlight-color1">oneliner</strong>. Thank you for the useful list. You can also track other perl onliner posted on wire at http://bioinformaticsonline.com/thewire/tag/<strong class="search-highlight search-highlight-color1">Oneliner</strong>]]></description>
</item>

</channel>
</rss>