<#2174 add small bowtie2 index for tests> Pull req...
# test-data
g
#2174 add small bowtie2 index for tests Pull request opened by emmanuel-tan Reason for adding this file While working on this issue, I needed a bowtie2 index for some testing. I built an index based on a very small subset of the SortMeRNA ribo database that can be found in the
nf-core/rnaseq
repo under
assets/rrna-db-defaults.txt
. This was created using the following steps: # 1. Download the gzipped database curl -L -o smr_v4.3_fast_db.fasta.gz https://github.com/sortmerna/sortmerna/releases/download/v4.3.7/smr_v4.3_fast_db.fasta.gz # 2. Extract it gunzip -k smr_v4.3_fast_db.fasta.gz # 3. Truncate it to keep only the first 5 reference sequences awk '/^>/ {n++} n>5 {exit} {print}' smr_v4.3_fast_db.fasta > truncated_rrna_db.fasta # 4. Build bowtie2 index mkdir -p bowtie2_test_rrna_index bowtie2-build truncated_rrna_db.fasta bowtie2_test_rrna_index/rRNA_index # 5. Zip bowtie2 index tar -czvf bowtie2_rrna_index.tar.gz -C bowtie2_test_rrna_index . nf-core/test-datasets
Review on #2174 add small bowtie2 index for tests Review approved by pinin4fjords on emmanuel-tan's pull request Sorry for the delay, looks good nf-core/test-datasets