<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.uabgrid.uab.edu/w/index.php?action=history&amp;feed=atom&amp;title=OneCellPipe</id>
	<title>OneCellPipe - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://docs.uabgrid.uab.edu/w/index.php?action=history&amp;feed=atom&amp;title=OneCellPipe"/>
	<link rel="alternate" type="text/html" href="https://docs.uabgrid.uab.edu/w/index.php?title=OneCellPipe&amp;action=history"/>
	<updated>2026-04-26T09:56:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>https://docs.uabgrid.uab.edu/w/index.php?title=OneCellPipe&amp;diff=6001&amp;oldid=prev</id>
		<title>Wwarr@uab.edu: Initial commit</title>
		<link rel="alternate" type="text/html" href="https://docs.uabgrid.uab.edu/w/index.php?title=OneCellPipe&amp;diff=6001&amp;oldid=prev"/>
		<updated>2019-12-12T19:31:00Z</updated>

		<summary type="html">&lt;p&gt;Initial commit&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Summary=&lt;br /&gt;
&lt;br /&gt;
[https://1cell-bio.com/indrop/#science OneCellPipe] is available for use on Cheaha. From the documentation&amp;lt;ref&amp;gt;https://1cell-bio.com/wp-content/uploads/2019/01/onecellpipe_version-1.1_Dec18.pdf&amp;lt;/ref&amp;gt;, OneCellPipe&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;is a software wrapper ... which controls the management and execution of the indrops software pipeline for processing single-cell sequencing data generated using 1CellBio’s inDrop™ sequencing technology. The software leverages the NextFlow workflow management software to control the processing steps in a validated and consistent Singularity environment.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As mentioned, the pipeline is available as a NextFlow pipeline file which automatically downloads dependencies. To make this work seamlessly with Cheaha, some setup and modifications need to be done. The first step is to obtain the pipeline. The second step is to modify the Singularity configuration so cache files do not use &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt;. Finally, the pipeline may be run on your data.&lt;br /&gt;
&lt;br /&gt;
=Setup=&lt;br /&gt;
&lt;br /&gt;
To obtain the pipeline, use the following commands in a terminal in an interactive job. They will download the pipeline from a public repository and place it in the &amp;lt;code&amp;gt;/data/user/&amp;lt;username&amp;gt;&amp;lt;/code&amp;gt; directory. Replace &amp;lt;code&amp;gt;&amp;lt;username&amp;gt;&amp;lt;/code&amp;gt; with your Cheaha login name. You can use &amp;lt;code&amp;gt;echo $USER&amp;lt;/code&amp;gt; to find your login name.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd $USER_DATA&lt;br /&gt;
wget https://s3.amazonaws.com/da-ocb-public/onecellpipe.1.19_cf.zip&lt;br /&gt;
unzip onecellpipe.1.19_cf.zip&lt;br /&gt;
rm onecellpipe.1.19_cf.zip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This process should create a subdirectory &amp;lt;code&amp;gt;onecellpipe&amp;lt;/code&amp;gt;. Inside that is another directory &amp;lt;code&amp;gt;bin&amp;lt;/code&amp;gt;. The file &amp;lt;code&amp;gt;bin/nextflow.singularity.config&amp;lt;/code&amp;gt; must be modified. Replace the file contents with the contents of the block below, and save the changes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
singularity {&lt;br /&gt;
    enabled = true&lt;br /&gt;
    // Adjust this to a shared directory on your system when using compute clusters.&lt;br /&gt;
    // Also add --cache &amp;lt;DIR&amp;gt; or update the cache variable in bin/nextflow.standard.config when changing this!&lt;br /&gt;
    cacheDir = '/scratch/&amp;lt;username&amp;gt;'&lt;br /&gt;
    autoMounts = true&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As mentioned in the comments in the above block, it is also necessary to modify the &amp;lt;code&amp;gt;bin/nextflow.standard.config&amp;lt;/code&amp;gt; file. Open that file and find the line starting with &amp;lt;code&amp;gt;cache&amp;lt;/code&amp;gt; and replace it with the following.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cache = '/scratch/&amp;lt;username&amp;gt;'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
To use the pipeline, navigate to the downloaded location of &amp;lt;code&amp;gt;onecellpipe.nf&amp;lt;/code&amp;gt; and run the following commands. Replace &amp;lt;code&amp;gt;&amp;lt;input_directory&amp;gt;&amp;lt;/code&amp;gt; with the location of your input files, and replace &amp;lt;code&amp;gt;&amp;lt;output_directory&amp;gt;&amp;lt;/code&amp;gt; with any desired existing subdirectory of &amp;lt;code&amp;gt;/data/user/&amp;lt;username&amp;gt;&amp;lt;/code&amp;gt;. The &amp;lt;code&amp;gt;--worker $SLURM_NTASKS&amp;lt;code&amp;gt; and &amp;lt;core&amp;gt;--worker2&amp;lt;/code&amp;gt; parameters tell the pipeline to use all of the cores available to the SLURM job for parallel processing, which should speed up processing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load Singularity/2.6.1-GCC-5.4.0-2.26&lt;br /&gt;
module load Nextflow/19.10.0&lt;br /&gt;
export SINGULARITY_BINDPATH=/data:/&lt;br /&gt;
nextflow onecellpipe.nf --dir &amp;lt;input_directory&amp;gt; --out $USER_DATA/&amp;lt;output_directory&amp;gt; --worker $SLURM_NTASKS --worker2 $SLURM_NTASKS&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=References=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wwarr@uab.edu</name></author>
	</entry>
</feed>