I've used the `bwa64` that came with the standalone version but I'm still getting the error. I've tried placing the files in a `db` folder within the working directory and have also tried placing them in `~/db` but I still get the same error.
```
# Downloading
for i in {1..22} X Y; do wget
ftp://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/000/001/405/GCF_000001405.39_GRCh38.p13/GCF_000001405.39_GRCh38.p13_assembly_structure/Primary_Assembly/assembled_chromosomes/FASTA/chr$i.fna.gz# Extract and Join
for i in {1..22} X Y; do gzip -dvc chr$i.fna.gz >> hs_ref_GRCh37_p13.fa; rm chr$i.fna.gz; done
# Splitting by long repeats of ambiguous base N
cat hs_ref_GRCh37_p13.fa | perl -p -e 's/N\n/N/' | perl -p -e 's/^N+//;s/N+$//;s/N{200,}/\n>split\n/' >hs_ref_GRCh37_p13_split.fa; rm hs_ref_GRCh37_p13.fa
# Filtering sequences
perl ~/bin/prinseq-lite-0.20.4/
prinseq-lite.pl -log -verbose -fasta hs_ref_GRCh37_p13_split.fa -min_len 200 -ns_max_p 10 -derep 12345 -out_good hs_ref_GRCh37_p13_split_prinseq -seq_id hs_ref_GRCh37_p13_$
# Creating the database
~/bin/deconseq-standalone-0.4.3/bwa64 index -p hs_ref_GRCh37_p13 -a bwtsw hs_ref_GRCh37_p13_split_prinseq.fasta >bwa.log 2>&1 &
```
I now have 8 files:
-rw-r--r-- 1 moldach mtgraovac 9116 May 12 13:47 hs_ref_GRCh37_p13.amb
-rw-r--r-- 1 moldach mtgraovac 17732 May 12 13:47 hs_ref_GRCh37_p13.ann
-rw-r--r-- 1 moldach mtgraovac 1099384668 May 12 14:23 hs_ref_GRCh37_p13.bwt
-rw-r--r-- 1 moldach mtgraovac 732923081 May 12 13:47 hs_ref_GRCh37_p13.pac
-rw-r--r-- 1 moldach mtgraovac 1099384668 May 12 14:23 hs_ref_GRCh37_p13.rbwt
-rw-r--r-- 1 moldach mtgraovac 732923081 May 12 13:47 hs_ref_GRCh37_p13.rpac
-rw-r--r-- 1 moldach mtgraovac 366461564 May 12 14:35 hs_ref_GRCh37_p13.rsa
-rw-r--r-- 1 moldach mtgraovac 366461564 May 12 14:29 hs_ref_GRCh37_p13.sa
I get the error:
(base) [moldach@synergy deconseq]$ perl /home/moldach/bin/deconseq-standalone-0.4.3/
deconseq.pl -f CG00010F_R1.fastq -dbs hsref
ERROR: cannot find all database files for database "hsref" in dir "db/".
Try 'deconseq -h' for more information.
Exit program.
I assume DeconSeq is looking somewhere else for my files, but where?