Skip to content

Commit 77b1741

Browse files
committed
add scripts to download HIV data FASTQs
This commit includes the script for downloading the FASTQ files from theBosque et al, 2017 HIV samples. The `.gitignore` file is also updated appropriately.
1 parent f2873a9 commit 77b1741

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

paper/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
run.setup.err
2+
run.setup.out
13
input/hg19.fa*
24
input/sacCer3.fa*
35
db/
@@ -11,6 +13,9 @@ ENCODEdata-eGFP/logs/*.out-*
1113
ENCODEdata-eGFP/logs/*.err-*
1214
ENCODEdata-eGFP/results/FASTQ
1315
ENCODEdata-eGFP/results/ID
16+
HIV_samples/logs/*.err-*
17+
HIV_samples/logs/*.out-*
18+
HIV_samples/results/FASTQ
1419
SyntheticDeletion/synthetic_genome/
1520
SyntheticDeletion/logs/*.err-*
1621
SyntheticDeletion/logs/*.out-*
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/bin/bash
2+
#PBS -l nodes=1:ppn=8
3+
#PBS -l pmem=32gb
4+
#PBS -l walltime=03:00:00
5+
#PBS -A open
6+
#PBS -o logs/download.data.log.out
7+
#PBS -e logs/download.data.log.err
8+
9+
# Requires
10+
# parallel fastq dump v2.8.0
11+
12+
WRK=/path/to/GenoPipe/paper/HIV_samples
13+
cd $WRK
14+
15+
module load anaconda3
16+
source activate ~/work/myconda/genopipe/
17+
18+
[ -d results/FASTQ ] || mkdir -p results/FASTQ
19+
[ -d logs ] || mkdir logs
20+
21+
parallel-fastq-dump --gzip --split-files -t 4 -O results/FASTQ -s SRR3812124
22+
parallel-fastq-dump --gzip --split-files -t 4 -O results/FASTQ -s SRR3812125
23+
parallel-fastq-dump --gzip --split-files -t 4 -O results/FASTQ -s SRR3812126
24+
parallel-fastq-dump --gzip --split-files -t 4 -O results/FASTQ -s SRR3812127
25+
parallel-fastq-dump --gzip --split-files -t 4 -O results/FASTQ -s SRR3812128
26+
parallel-fastq-dump --gzip --split-files -t 4 -O results/FASTQ -s SRR3812129
27+
mv *.fastq.gz results/FASTQ/

0 commit comments

Comments
 (0)