Advertisement
Guest User

Untitled

a guest
May 24th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. ## Offload fastq data from the Ion Torrent at MGL
  2. How to obtain fastq data from the Ion Torrent server at MGL. Requires that the plugin FileExporter has been run.
  3.  
  4. #### 1. Mount USB on system
  5. Plug in the USB drive into the system.
  6. Use `sudo fdisk -l` to find where your drive is mounted.
  7. Mount via: `sudo mount /dev/sde1 /media/<your_drive>` (where /dev/sde1 is the location of drive found above, your_media is your drive name).
  8.  
  9. #### 2. Find the output files
  10. If data is still on the system drive, the plugin results are here:
  11. `/results/analysis/output/Home/<your_run>/plugin_out/FileExporter_XXX` (where XXX is a number of your FileExporter run)
  12.  
  13. If data has been archived, the plugin results are here:
  14. `/mnt/nas-volumes-pool-share1/archivedReports/<your_run>/plugin_out/FileExporter_out.XXXX/`
  15.  
  16. #### 3. Compress the output files
  17. Note: this will compress with gzip, but will delete the uncompressed files.
  18. If the files are in the archive, just move them without compressing.
  19. ```
  20. # Compress
  21. gzip *.fastq
  22. # Calculate md5
  23. md5sum *.fastq.gz > <your_run.md5>
  24. ```
  25.  
  26. #### 4. Make output directory on the external drive and copy results
  27. ```
  28. mkdir /media/<your_drive>/raw_data/<species>/<run_name> # Note: run_name is the same as your md5 name
  29. # Move out of FileExporter folder
  30. cd ..
  31. rsync -avzP ./FileExporter_out.XXXX /media/<your_drive>/raw_data/<species>/<run_name>` # Note: XXXX is the FileExporter number
  32. ```
  33.  
  34. #### 5. Unmount
  35. `sudo umount /media/<your_drive>`
  36.  
  37. #### 6. Move drive onto target computer
  38. Use rsync as above to move the data onto your target computer, then make sure to check your md5 checksums:
  39. `md5sum -c /<your>/<target>/<file>/<structure>/*.md5`
  40.  
  41. #### 7. Analyze away!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement