You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dev/io.html
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1005,6 +1005,26 @@ <h3>Streaming files with read and write<a class="headerlink" href="#streaming-fi
1005
1005
</pre></div>
1006
1006
</div>
1007
1007
</section>
1008
+
<sectionid="support-for-stdin">
1009
+
<h3>Support for stdin<aclass="headerlink" href="#support-for-stdin" title="Link to this heading">#</a></h3>
1010
+
<p>You may stream files in scikit-bio through stdin. To do this, you must set the
1011
+
<codeclass="docutils literal notranslate"><spanclass="pre">verify</span></code> parameter of the <codeclass="docutils literal notranslate"><spanclass="pre">read</span></code> function to <codeclass="docutils literal notranslate"><spanclass="pre">False</span></code>. This will bypass
1012
+
scikit-bio’s sniffers, which is what enables piping to function. However, the cost is
1013
+
that scikit-bio is no longer checking that your file formats are correct, so the user
1014
+
must be confident that they know the file format they are working with.</p>
1015
+
<p>For example, if you wanted to pipe a FASTA file into a python script, your script could
0 commit comments