UploadLargeData: Difference between revisions
Jump to navigation
Jump to search
(Created page with "= Load and Link approach = == transfer and uncompress (slow) == # login to cheaha.uabgrid.uab.edu (linux), # create directory for this data set in your scratch dir ## mkdir /l...") |
No edit summary |
||
Line 11: | Line 11: | ||
# transfer the files with SCP | # transfer the files with SCP | ||
## I used "Secure Shell Client" for windows, available at [http://www.uab.edu/it/software/displaytitle.php?ItemID=34 UABIT] | ## I used "Secure Shell Client" for windows, available at [http://www.uab.edu/it/software/displaytitle.php?ItemID=34 UABIT] | ||
# | # '''UNCOMPRESS fastq.gz files!!''' | ||
## cd /lustre/scratch/''user''/proj1 | |||
### find `pwd` -name "*.gz" -exec ksh -c 'qrsh "gzip -d \{}" &' \; | |||
### ls -1 *.gz | xargs -L 1 -i_f_ ksh -c 'qrsh -cwd gzip -d _f_ &' \; | |||
### gzip -d ''filename'' | ### gzip -d ''filename'' | ||
# make sure the files are readable by galaxy user | # make sure the files are readable by galaxy user |
Revision as of 22:02, 22 June 2011
Load and Link approach
transfer and uncompress (slow)
- login to cheaha.uabgrid.uab.edu (linux),
- create directory for this data set in your scratch dir
- mkdir /lustre/scratch/user/proj1
- make sure that directory is readable by galaxy user
- Chmod og+x /lustre/scratch/user
- Chmod og+x /lustre/scratch/user/proj1
- transfer the files with SCP
- I used "Secure Shell Client" for windows, available at UABIT
- UNCOMPRESS fastq.gz files!!
- cd /lustre/scratch/user/proj1
- find `pwd` -name "*.gz" -exec ksh -c 'qrsh "gzip -d \{}" &' \;
- ls -1 *.gz | xargs -L 1 -i_f_ ksh -c 'qrsh -cwd gzip -d _f_ &' \;
- gzip -d filename
- cd /lustre/scratch/user/proj1
- make sure the files are readable by galaxy user
- Chmod og+r /lustre/scratch/user/proj1/*
link into galaxy dataset (fast)
- get Admin privileges on galaxy
- either get Shantanu to make you admin in Galaxy
- or grab someone who is (John, Curtis)
- In Galaxy GUI:
- admin > Manage Data Libraries > create new library
- add Datasets
- Upload option: Upload files from system path
- Using ssh run {find `pwd`} in /lustrate/scratch/user/proj1/*
- paste list of absolute path names into URL/Text box in Web Admin GUI
- Change "Copy data into Galaxy?" to "Link to files without copying into Galaxy"
- Put something mnemonic in Message box.
- Upload option: Upload files from system path
- add Datasets
- admin > Manage Data Libraries > create new library
link data into a history (fast)
I could then select the datasets and, at bottom of page "For selected datasets: <Import to histories>" and get them into a history so I can compute on them.