Last active
April 4, 2018 06:09
-
-
Save andersgs/4aa1c19f7cd8a2db49a26f06efe7492d to your computer and use it in GitHub Desktop.
Stacks: process_radtags on SLURM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
INSTRUCTIONS
Before you start, you need to prepare a TSV file where each line is a different library, and has five fields in the following order:
SAMPLE: A unique sample name (with no spaces or
/
)READS: the full path to the FASTQ files
BARCODES: the full path to the Barcode file
PAIRED: TRUE or FALSE if the library is paired-end
ENZYME: The name of the enzyme used (e.g., SbfI)
A line in the file might look like this:
singularity pull --name "stacks.img" phgenomics-singularity/stacks
process_radtags.sh
to make sure the path to the Singularity images is correctjobarray_process_radtags.sh
to make sure the path toprocess_radtags.sh
is correct AND line 18 to make sure it points to an existing folder to store the output.sbatch --array 1-<number of libraries> jobarray_process_radtags.sh </path/to/mapping_file>