Skip to content

Commit

Permalink
updates s3cmd so uploads won't be missing
Browse files Browse the repository at this point in the history
  • Loading branch information
nellore committed Feb 25, 2016
1 parent 544b773 commit 4ca1db6
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ is software for RNA-seq analysis.

**the website.**

### [Download](https://github.com/nellore/rail/raw/v0.2.3a/releases/install_rail-rna-0.2.3a)
### [Download](https://github.com/nellore/rail/raw/v0.2.3b/releases/install_rail-rna-0.2.3b)

**the latest stable release. Read the**

Expand Down Expand Up @@ -37,7 +37,7 @@ Outputs currently include

and will likely expand in future versions.

Read the [preprint](http://biorxiv.org/content/early/2015/08/11/019067) for more details. Methods explained there correspond to Rail-RNA 0.2.3a.
Read the [preprint](http://biorxiv.org/content/early/2015/08/11/019067) for more details. Methods explained there correspond to Rail-RNA 0.2.3b.

Get set up
-----
Expand All @@ -47,17 +47,17 @@ Start with a recent (>= 2009) OS X or Linux box. For a no-fuss install, enter
curl http://verve.webfactional.com/rail -o $INSTALLER; python2 $INSTALLER -m || true;
rm -f $INSTALLER)
```
at a Bash prompt. For a more customizable install, download [`install_rail-rna-0.2.3a`](https://github.com/nellore/rail/raw/v0.2.3a/releases/install_rail-rna-0.2.3a), change to the directory containing it, and make the installer executable with
at a Bash prompt. For a more customizable install, download [`install_rail-rna-0.2.3b`](https://github.com/nellore/rail/raw/v0.2.3b/releases/install_rail-rna-0.2.3b), change to the directory containing it, and make the installer executable with
```
chmod +x install_rail-rna-0.2.3a
chmod +x install_rail-rna-0.2.3b
```
Now run
```
sudo ./install_rail-rna-0.2.3a
sudo ./install_rail-rna-0.2.3b
```
to install for all users or
```
./install_rail-rna-0.2.3a
./install_rail-rna-0.2.3b
```
to install for just you. Refer to [these](http://docs.rail.bio/installation/) detailed installation instructions from the [docs](http://docs.rail.bio) for more information. If the executable doesn't work, you may need [Python](http://www.python.org). You'll also need Bowtie 1 and 2 indexes of the appropriate genome assembly if you will be running Rail-RNA in either its single-computer (local) or IPython Parallel (parallel) modes. The easiest way to get these is by downloading an [Illumina iGenome](http://support.illumina.com/sequencing/sequencing_software/igenome.html). If running Rail-RNA on EMR (elastic mode) and aligning to hg19, the assembly can be specified at the command line with the `-a` parameter.

Expand Down
Binary file added releases/install_rail-rna-0.2.3b
Binary file not shown.
2 changes: 1 addition & 1 deletion src/rna/driver/rail-rna.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
∀ Rail-RNA v0.2.3a
∀ Rail-RNA v0.2.3b
6 changes: 3 additions & 3 deletions src/rna/driver/rna_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2605,9 +2605,9 @@ def __init__(self, base, check_manifest=False,
printf '\\nexport HOME=/home/hadoop\\n' >>/home/hadoop/conf/hadoop-user-env.sh
sudo ln -s /home/hadoop/.s3cfg /home/.s3cfg
curl -OL https://github.com/s3tools/s3cmd/releases/download/v1.5.2/s3cmd-1.5.2.tar.gz
tar xvzf s3cmd-1.5.2.tar.gz
cd s3cmd-1.5.2
curl -OL https://github.com/s3tools/s3cmd/releases/download/v1.6.1/s3cmd-1.6.1.tar.gz
tar xvzf s3cmd-1.6.1.tar.gz
cd s3cmd-1.6.1
sudo ln -s $(pwd)/s3cmd /usr/bin/s3cmd
cat >~/.s3cfg <<EOF
Expand Down
3 changes: 2 additions & 1 deletion src/rna/utils/filemover.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ def put(self, filename, url):
command_list.append("--acl-public")
command_list.extend(
[filename, url.to_nonnative_url(),
'--server-side-encryption']
'--server-side-encryption',
'--stop-on-error']
)
elif url.is_curlable:
raise RuntimeError('Can\'t upload to http/ftp URLs.')
Expand Down

0 comments on commit 4ca1db6

Please sign in to comment.