├── bin
├── nop.sh
├── .DS_Store
├── hugeseq_mod.sh
├── remove_bam.sh
├── prep.sh
├── clean_nodup.sh
├── breakseq.sh
├── fix_bai_name.py
├── samtools_index.sh
├── picard_nodup.sh
├── picard_sort.sh
├── bwa_bam.sh
├── write_refcalls.sh
├── bwa_fq.sh
├── bin_bam.sh
├── merge_gff.sh
├── combine_vcf.sh
├── util.py
├── breakdancer.sh
├── cnvnator.sh
├── sjm.py
├── gatk_realn.sh
├── pindel.sh
├── gatk_recal.sh
├── vqsr_indel.sh
├── vqsr_snp.sh
├── annotate.py
├── gatk_vc.sh
└── hugeseq
├── .DS_Store
├── LICENSE
├── RELEASENOTES
├── modulefiles
└── hugeseq
│ └── 2.0
└── README
/bin/nop.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash -eu
2 | echo "nothing to be done!"
3 |
--------------------------------------------------------------------------------
/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/StanfordBioinformatics/HugeSeq/HEAD/.DS_Store
--------------------------------------------------------------------------------
/bin/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/StanfordBioinformatics/HugeSeq/HEAD/bin/.DS_Store
--------------------------------------------------------------------------------
/bin/hugeseq_mod.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | module load hugeseq/2.0
4 | export TMP=$1
5 | echo $TMP
6 | shift
7 | export LOGFILE=$1
8 | echo $LOGFILE
9 | shift
10 |
11 | $*
12 |
--------------------------------------------------------------------------------
/bin/remove_bam.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | echo "*** SAM/BAM Removel ***"
4 |
5 | for i in $*
6 | do
7 | if [ -z "${i/*.bam/}" -o -z "${i/*.sam/}" ]
8 | then
9 | echo ">> Removing SAM/BAM file: $i"
10 | rm -f $i $i.bai
11 | fi
12 | done
13 |
14 | echo "*** Finished SAM/BAM Removal ***"
15 |
--------------------------------------------------------------------------------
/bin/prep.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | if [ $# -lt 2 ]
4 | then
5 | echo "Usage: $0 "
6 | exit 1
7 | fi
8 |
9 | i=`cd \`dirname $1\`; pwd`/`basename $1`
10 | l=`cd \`dirname $2\`; pwd`/`basename $2`
11 |
12 | echo ">> Creating link to input sequence file"
13 | echo "-- Input: $i"
14 | echo "-- Link : $l"
15 |
16 | if [ ! -e $l ]
17 | then
18 | ln -sf $i $l
19 | fi
20 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Product Name:
2 | HugeSeq v2.0
3 |
4 | Description:
5 | An integrated pipeline for detecting and annotating genetic variations using high-throughput genome sequencing.
6 |
7 | Copyright:
8 | Stanford Center for Genomics and Personalized Medicine (SCGPM), Stanford School of Medicine, Stanford, California.
9 |
10 | Download:
11 | https://github.com/StanfordBioinformatics/HugeSeq
12 |
13 | License:
14 | This work is licensed under the Creative Commons Attribution-NonCommercial 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/3.0/.
--------------------------------------------------------------------------------
/bin/clean_nodup.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash -eu
2 |
3 | echo "*** Removing duplicates ***"
4 |
5 | if [ $# -lt 2 ]
6 | then
7 | echo "Usage: $0 [remove, default: true]"
8 | exit 1
9 | fi
10 |
11 | rmdup="true"
12 | if [ $# -gt 2 ]
13 | then
14 | rmdup=$3
15 | fi
16 |
17 | f=`cd \`dirname $1\`; pwd`/`basename $1`
18 | o=`cd \`dirname $2\`; pwd`/`basename $2`
19 |
20 | echo ">>> Marking duplicates"
21 | java -Xms5g -Xmx5g -jar $PICARD/MarkDuplicates.jar \
22 | TMP_DIR=$TMP \
23 | I=${f} \
24 | O=${o} \
25 | M=${o/.bam/.metrics} \
26 | VALIDATION_STRINGENCY=SILENT \
27 | ASSUME_SORTED=true \
28 | REMOVE_DUPLICATES=$rmdup
29 |
30 | echo "*** Finished removing duplicates ***"
31 |
--------------------------------------------------------------------------------
/bin/breakseq.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash -eu
2 |
3 | echo "*** Calling SV using BreakSeq: $BREAKSEQ ***"
4 |
5 | if [ $# -lt 2 ]
6 | then
7 | echo "Usage: $0