Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gonzalo S Nido
wgbs-pipeline
Commits
b16035ec
Commit
b16035ec
authored
Aug 06, 2020
by
Gonzalo S Nido
Browse files
Minor cosmetic fixes
parent
d1ae404e
Changes
2
Hide whitespace changes
Inline
Side-by-side
apps/generate_bs_indices.sh
View file @
b16035ec
...
...
@@ -44,7 +44,7 @@ N_proc=`expr $( grep -c processor /proc/cpuinfo ) / 2`
# 1) Obtain GRCh38 human genome from ENCODE
echo
"1/8 - Downloading GRCh38 reference..."
wget
-o
wget.log
--show-progress
-O
${
grch38_fasta
}
.gz
${
GRCH38_url
}
wget
--show-progress
-O
${
grch38_fasta
}
.gz
${
GRCH38_url
}
echo
" Decompressing GRCh38 reference..."
gunzip
-f
${
grch38_fasta
}
.gz
...
...
@@ -52,7 +52,7 @@ gunzip -f ${grch38_fasta}.gz
# 2) Obtain Lambda genome
echo
"2/8 - Downloading Lambda genome..."
wget
-a
wget.log
--show-progress
-O
${
lambda_fasta
}
.gz
${
LAMBDA_url
}
wget
--show-progress
-O
${
lambda_fasta
}
.gz
${
LAMBDA_url
}
echo
" Decompressing Lambda reference..."
gunzip
-f
${
lambda_fasta
}
.gz
...
...
wgbs-pipeline.sh
View file @
b16035ec
...
...
@@ -40,8 +40,8 @@ set -e
# Ensure reference files/indices are there, download and index otherwise
if
[[
!
-s
${
b38_ref
}
/Bisulfite_Genome/GA_conversion/genome_mfa.GA_conversion.fa
]]
;
then
echo
"Reference files not found. Downloading and indexing..."
bash
${
generate_bs_indices
}
${
ref_dir
}
echo
"Reference files not found. Downloading and indexing...
(THIS SHOULD TAKE A WHILE)
"
bash
${
generate_bs_indices
}
${
ref_dir
}
>
${
ref_dir
}
.stdout.log 2>
${
ref_dir
}
.stderr.log
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment