Skip to content

Commit

Permalink
Change regex to handle new name format for GRCh38.p2
Browse files Browse the repository at this point in the history
  • Loading branch information
DerrickWood committed Apr 3, 2015
1 parent 11a205f commit feb4397
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v0.10.6-beta:
* fixed overflow bug in command line parsing
* fixed GRCh38.p2 bug in human genome downloads

v0.10.5-beta:
* fix bug in GRCh38 download to handle multi-fasta files
* add --header-line and --intermediate-ranks options to kraken-mpa-report
Expand Down
2 changes: 1 addition & 1 deletion scripts/download_genomic_library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ case "$1" in
for directory in $directories
do
wget --spider --no-remove-listing $FTP_SERVER/genomes/H_sapiens/$directory/
file=$(perl -nle '/^-/ and /\b(hs_ref_GRCh\w+\.fa\.gz)\s*$/ and print $1' .listing)
file=$(perl -nle '/^-/ and /\b(hs_ref_GRCh\S+\.fa\.gz)\s*$/ and print $1' .listing)
[ -z "$file" ] && exit 1
rm .listing
wget $FTP_SERVER/genomes/H_sapiens/$directory/$file
Expand Down

0 comments on commit feb4397

Please sign in to comment.