Skip to content

Commit

Permalink
redundans pipeline, easy and fastway to run!
Browse files Browse the repository at this point in the history
  • Loading branch information
aseetharam committed Oct 8, 2017
1 parent 2827b1b commit ba389de
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions runRedundans.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/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}

redundans.py \
-v \
-i ${fastq} \
-f ${genome} \
-o ${out} \
-t 16 \
--log redundans_out.log

0 comments on commit ba389de

Please sign in to comment.