Skip to content

Commit 631d018

Browse files
committed
Removed test_data directory
1 parent 0d10ec9 commit 631d018

File tree

4 files changed

+26
-8
lines changed

4 files changed

+26
-8
lines changed

bin/uppmax_make_test_data.sh

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#!/bin/bash
2+
3+
module load bioinfo-tools
4+
module load samtools
5+
6+
set -x
7+
8+
CHR="1 2"
9+
FN="1-2"
10+
11+
BASEDIR=/proj/a2009002/webexport/opendata/HiSeqX_CEPH/CEP-1-7/03-BAM
12+
BASEFILE=CEP-1-7.clean.dedup.recal
13+
14+
OUT="$BASEFILE.chr$FN"
15+
16+
if [ ! -f $OUT.bam ]; then
17+
samtools view -bh "$BASEDIR/$BASEFILE.bam" $CHR > $OUT.bam
18+
fi
19+
20+
if [ ! -f $OUT.bam.bai ]; then
21+
samtools index $OUT.bam
22+
fi
23+
24+
if [ ! -f $OUT.fq.gz ]; then
25+
samtools bam2fq $OUT.bam | gzip - > $OUT.fq.gz
26+
fi
-246 KB
Binary file not shown.

test_data/sample.bam

Whitespace-only changes.

test_data/uppmax_make_test_data.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)