Skip to content

Commit

Permalink
Fix bio input index
Browse files Browse the repository at this point in the history
  • Loading branch information
angelhof committed May 22, 2022
1 parent 84c942a commit c88ff4c
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions evaluation/benchmarks/dependency_untangling/input/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,17 +96,18 @@ setup_dataset() {
wget http://pac-n4.csail.mit.edu:81/pash_data/100G.txt
# download the Genome loc file
wget http://pac-n4.csail.mit.edu:81/pash_data/Gene_locs.txt
# start downloading the real dataset
# start downloading the real dataset
IN_NAME=$PASH_TOP/evaluation/benchmarks/dependency_untangling/input/bio/100G.txt
cat ${IN_NAME} |while read s_line;
do
echo ${IN_NAME}
sample=$(echo $s_line |cut -d " " -f 2);
if [[ ! -f $sample ]]; then
pop=$(echo $s_line |cut -f 1 -d " ");
link=$(echo $s_line |cut -f 3 -d " ");
wget -O "$sample".bam "$link"; ##this part can be adjusted maybe
fi
done;
do
echo ${IN_NAME}
sample=$(echo $s_line |cut -d " " -f 2);
if [[ ! -f $sample ]]; then
pop=$(echo $s_line |cut -f 1 -d " ");
link=$(echo $s_line |cut -f 3 -d " ");
wget -O "$sample".bam "$link"; ##this part can be adjusted maybe
fi
done;
fi
echo "Genome data downloaded"
fi
Expand Down

0 comments on commit c88ff4c

Please sign in to comment.