TACC/Unix Exercise

TACC/Unix Exercise

Get your data

Get set up
cds mkdir my_rnaseq_course #this is where you'll be doing all the course exercises cd my_rnaseq_course   cp -r /corral-repl/utexas/BioITeam/rnaseq_course/tacc_exercise . #for this specific exercise cd tacc_exercise

Exercise:

Run a simple command on each of these four files. We are going to just print the first 10 lines of each file.

  1. Make a commands file with the unix commands.

    Open an editor to create a file called commands Use head command to print the first 10 lines.
    nano commands head genes.1 head genes.2 head genes.3 head genes.4 #ctrl+x to exit
  2. Use launcher_creator.py to create a launcher to submit this job (command file).

    launcher_creator.py -h to see the options.
    launcher_creator.py -n exercise -t 01:00:00 -j commands -q development -a CCBB
  3. Submit the job.

    qsub
    qsub exercise.sge
  4. Check the queue.

    qstat
  5. Check the output files and log files.

    Look at <jobname>.o* file for output information Look at <jobname>.e* file for log/error information
    less exercise.o* #q to exit less exercise.e* #q to exit

BACK TO COURSE OUTLINE