forked from ISUgenomics/common_analyses
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrunRedundans.sh
More file actions
26 lines (24 loc) · 753 Bytes
/
runRedundans.sh
File metadata and controls
26 lines (24 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
if [ $# -lt 2 ] ; then
echo ""
echo "usage: ./runRedundans.sh genome.fasta *.fastq.gz"
echo "runs the redundans pipeline using the genome and all fastq files used for the genome assembly"
echo "Note: you can softlink all reads (MP and PE) in the directory and supply them as *.fastq.gz for redundans"
echo "needs reconfiguration if running using the long reads (pacbio or nanopore)"
echo ""
exit 0
fi
module load GIF/redundans
genome="$1"
shift
fastq="$@"
out="${genome%.*}_redundans_output"
#mkdir -p ${out}
# doesn't like if you already make a output folder
redundans.py \
-v \
-i ${fastq} \
-f ${genome} \
-o ${out} \
-t 16 \
--log redundans_out.log