Skip to content

Commit

Permalink
Use samtools to index bzgipped chromosome file
Browse files Browse the repository at this point in the history
  • Loading branch information
kimrutherford committed Jan 28, 2025
1 parent b3e8d92 commit 05cb0f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion etc/load-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,8 @@ zstd -9q --rm $CURRENT_BUILD_DIR/api_maps.sqlite3

mkdir $CURRENT_BUILD_DIR/fasta/bgzip_chromosomes
cp -r $CURRENT_BUILD_DIR/fasta/chromosomes/Schizosaccharomyces_pombe_all_chromosomes.fa $CURRENT_BUILD_DIR/fasta/bgzip_chromosomes
bgzip -i -l 9 $CURRENT_BUILD_DIR/fasta/chromosomes/Schizosaccharomyces_pombe_all_chromosomes.fa
bgzip -l 9 $CURRENT_BUILD_DIR/fasta/chromosomes/Schizosaccharomyces_pombe_all_chromosomes.fa
samtools faidx $CURRENT_BUILD_DIR/fasta/chromosomes/Schizosaccharomyces_pombe_all_chromosomes.fa

find $CURRENT_BUILD_DIR/fasta/ -name '*.fa' | xargs gzip -9

Expand Down

0 comments on commit 05cb0f0

Please sign in to comment.