tophat2 - Mapping reads stored remotely
1
0
Entering edit mode
8.0 years ago
lvogel ▴ 30

Hi, I have to run tophat2 on the Linux command line, but my fastq reads are stored on another remote location, due to their very large size (even when gzipped). Is this possible, and how do I do it? Thanks. Also, I'm using Amazon Web Services, if this makes a difference.

tophat2 • 1.2k views
ADD COMMENT
1
Entering edit mode

If your Amazon cloud has SSH service, use SSHFS to mount the location from Amazon in your local server/computer.

1) sshfs USER@amazon.server:/home/REMOTEUSER/LOCATION/TO/FOLDER/HAVING/FASTQ /home/LOCALUSER/SOMEFOLDER/

After entering above command, it will ask for password

ENTER amazon ssh PASSWORD for you account

2) tophat2 /home/LOCALUSER/SOMEFOLDER/FASTQ_filename.gz

ADD REPLY
0
Entering edit mode

Have you actually done something like this? Is it worth the trouble in terms of performance? I am asking to get first-hand information.

ADD REPLY
0
Entering edit mode

"another remote location" as in outside AWS? If you are able to export (nfs or otherwise) and then "mount" that location on your amazon machine it may (in theory) be possible to compute on the data. It would not be very advisable in terms of performance/security (assuming you are able to make the exports available in the first place).
Since you are asking how to do it I have a feeling you don't have the right expertise. Bite the bullet and transfer the data to AWS if that is the only place you can compute.

ADD REPLY
0
Entering edit mode

What I mean by "another remote location" is that I have tophat2 installed on one server in AWS, and the reads in another one that's meant for storage, because putting all the fastq reads all on the one for computing (EC2) was getting too expensive. So, both locations are remote from my local laptop, but both are AWS.

(Sorry if I wasted anyone's time by not including this information.)

ADD REPLY
0
Entering edit mode

Not an AWS expert but @EagleEye's solution should work. Others options may exist and people would chime in with those.

ADD REPLY
0
Entering edit mode

OK. I'll let you know how it works out.

ADD REPLY
1
Entering edit mode
8.0 years ago
mastal511 ★ 2.1k

You will have to copy your reads somewhere that your Amazon machine image can access them.

ADD COMMENT
0
Entering edit mode

That's what I ended up doing, thanks.

ADD REPLY

Login before adding your answer.

Traffic: 2423 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6