Question: Galaxy On The Cloud/Rna-Seq
0
gravatar for David Martin
8.0 years ago by
David Martin50
David Martin50 wrote:
Hello, We are about to get about 200 GB of illumina reads(43 bp) from 20 samples, two groups of 10 animals. We are hoping to use Galaxy on the Cloud to compare gene expression between the two groups. First of all, do you think this is possible with the current state of Galaxy Cloud development? Secondly, we are currently practicing with small drosophila datasets (4 sets of 2 GB each), and over the course of a few days of doing relatively little besides grooming and filtering the data, we had already been charged $60 by Amazon, which we thought was a bit inefficient. What is the best way to proceed working from one day to the next? Should one terminate the cluster at Cloud Console and then stop(pause) the cluster at the AWS console, and then restart the instance the next day? Does one have to reattach all of the EBS volumes before restarting the cluster? We were just terminating the instance and then bringing it back up and all the data was still there, ie it worked fine, but when we looked after a couple days there were 45 EBS volumes there - much of it was surely redundant as our data wasnšt very large. Perhaps we need to take a snapshot and reboot the instance from this? Thank you for any hints regarding this matter, this is all very new to me. Let me know if you need clarification or more information. David Martin dmarti@lsuhsc.edu
galaxy • 1.0k views
ADD COMMENTlink modified 8.0 years ago by Enis Afgan680 • written 8.0 years ago by David Martin50
0
gravatar for Anton Nekrutenko
8.0 years ago by
Penn State
Anton Nekrutenko1.7k wrote:
David: For a pilot I would just use our public instance at http://usegalaxy.org to polish up the exact workflow and settings that would give you satisfactory results on a subset of data. This way it would be much easier to figure out where you can "cut-corners" for performance. You will then have a "best-parctise" workflow that you'll be able to rerun on the cloud. Use the new ftp-based upload to get datasets into Galaxy. Thanks! anton Anton Nekrutenko http://nekrut.bx.psu.edu http://usegalaxy.org
ADD COMMENTlink written 8.0 years ago by Anton Nekrutenko1.7k
0
gravatar for Enis Afgan
8.0 years ago by
Enis Afgan680
Enis Afgan680 wrote:
Your approach for terminating a cluster and starting it back up when it's needed should continue to be fine for your purposes. That's the best and pretty much the only way to minimize the cost. The reason there are 45 EBS volumes created is because each time you start an instance, a root EBS volume from snapshot 'snap-f3a64f99' is created to serve as the root file system. When you terminate that particular instance, that EBS volume is no longer needed and can be deleted (in the next AMI we build, we will enable deletion of that volume automatically upon instance termination). In other words, feel free to delete all EBS volumes that were created from a snapshot; they can be and are recreated when needed. The only volume that should not be deleted is your data volume. The ID of this volume can be found in your cluster's bucket (cm-<hash>) in your S3 account in file named persistent_data.txt As a reference, don't attach/detach EBS volumes manually to running Galaxy Cloud instances because the application will lose track of them and not be able to recover. In addition, always click 'Terminate cluster' on the Galaxy Cloud main UI and wait for it to shutdown all of he services; then *terminate* the master instance from AWS console (don't *stop* the instance). As far as uploading 200GB of data to a cloud instance and processing it there. In principle, it should work. However, there is a 1TB limit on EBS volumes imposed by Amazon. As a result, and considering the multiple transformation steps your data will have to go through within Galaxy, I am concerned that you will reach that 1TB limit. We will be working on expanding beyond that limit by composing a filesystem from multiple EBS volumes but that's not available yet. Hope this helps; let us know if you have any more questions, Enis
ADD COMMENTlink written 8.0 years ago by Enis Afgan680
0
gravatar for Enis Afgan
8.0 years ago by
Enis Afgan680
Enis Afgan680 wrote:
Martin, Once you've finished your work with Galaxy for the time being, yes, click Terminate cluster on the Galaxy Cloud console. That will stop all of the services running on the cluster and also terminated all of the worker nodes. Once you see 'Cluster shut down...' at the bottom of the cluster status log on the Galaxy Cloud console, from the AWS console, terminate the master instance. That is the only instance that should still be running at that point. Then, you can delete all of the EBS volumes that that were created from a snapshot. All these EBS volumes should be 15GB in size and created from snapshot 'snap-f3a64f99' (there should be 6 of them based on your example: 1 from the master and 5 from workers). That should be it. You don't really need to go digging through the persistent_data.txt file in the S3 bucket because your data volume should be the only one that's still available at that point, plus you can always pick it out from the rest by looking at its size (100GB in your example). I guess that could work but realize that you'll have to ssh to the instance and clean up the datasets by hand. Enis
ADD COMMENTlink written 8.0 years ago by Enis Afgan680
0
gravatar for Maximilian Haussler
8.0 years ago by
Maximilian Haussler30 wrote:
I'd be interested in why AWS is so expensive for these datasets: Is it mostly a) the data transfer between nodes? b) the data storage on EBS? c) the CPU time ? why next-gen analysis is expensive on the cloud? Can anyone who is actively using AWS look up the distribution of the total cost on the individual types? I guess that there is a lot of room for improvement for the different costs, depending on the type of algorithm that you're using. thanks in advance Max
ADD COMMENTlink written 8.0 years ago by Maximilian Haussler30
It's just that computing, and cloud computing with that, is expensive. Depending on the usage, either the EBS volumes or the CPU time (i.e., instances) is what will represent majority of the cost. Most likely, it will be the instances, unless you use very few instances for a short period and a lot of storage. There are a couple of papers I can recall analyzing the cost of science in the cloud, if you want to take a look: - Deelman E, Singh G, Livny M, Berriman B, Good J: The cost of doing science on the cloud: the Montage example - Wilkening J, Wilke A, Desai N, Meyer F: Using Clouds for Metagenomics: A Case Study Enis On Tue, Nov 23, 2010 at 3:43 PM, Maximilian Haussler
ADD REPLYlink written 8.0 years ago by Enis Afgan680
It costs about $500 per month to run a single AMI instance with several CPUs --Hiram
ADD REPLYlink written 8.0 years ago by Hiram Clawson260
OK OK, cloud computing is expensive. But I also know from my own experience that you can cut I/O by a factor of 10-20 and CPU by a factor of ten as well: - use bowtie for mapping (but index is quite big): saves a lot of CPU - compress input fastq files (reduces size to 1/5) and read only compressed files - extreme solution: strip all quality values from fastq (reduces size to 1/4) - remove all file-concatenation steps - pipe into samtools to convert to bam immediately after mapping, always save in bam format - strip all unmapped reads directly with samtools -F4 but I wonder how much that would save in the end...? cheers Max -- Maximilian Haussler Tel: +447574246789 http://www.manchester.ac.uk/research/maximilian.haussler/
ADD REPLYlink written 8.0 years ago by Maximilian Haussler30
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 169 users visited in the last hour