<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Shuf on Chatomics</title>
    <link>https://divingintogeneticsandgenomics.com/tags/shuf/</link>
    <description>Recent content in Shuf on Chatomics</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <copyright>&amp;copy; 2018 Ming &#39;Tommy&#39; Tang</copyright>
    <lastBuildDate>Sun, 22 Mar 2015 20:43:00 -0700</lastBuildDate>
    
	<atom:link href="https://divingintogeneticsandgenomics.com/tags/shuf/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>benchmarking for shuf vs fast_sample</title>
      <link>https://divingintogeneticsandgenomics.com/archive/benchmarking-for-shuf-vs-fast-sample/</link>
      <pubDate>Sun, 22 Mar 2015 20:43:00 -0700</pubDate>
      
      <guid>https://divingintogeneticsandgenomics.com/archive/benchmarking-for-shuf-vs-fast-sample/</guid>
      <description>Sometimes we want to randomly select a proportion of lines from a txt file. The easiest way is to use the Unix command shuf. On a mac machine, you can install it by home brew.
brew install coreutils  But you need to invoke it as gshuf. https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/
I also came across a tool called fast_sample that can do the same thing
https://github.com/earino/fast_sample
I did some benchmarking for them.
 View this gist on GitHub</description>
    </item>
    
  </channel>
</rss>