Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bwa_index seems to contain a symbolic link #275

Open
ialbert opened this issue Aug 10, 2022 · 1 comment
Open

bwa_index seems to contain a symbolic link #275

ialbert opened this issue Aug 10, 2022 · 1 comment

Comments

@ialbert
Copy link

ialbert commented Aug 10, 2022

After performing a

refgenie pull hg19/bwa_index

bwa did not map any reads. I started troubleshooting, and I believe the bwa_index tarfile contains a soft link. Here is what I see:

ls -l /Users/ialbert/refs/data/baa91c8f6e2780cfd8fd1040ff37f51c379947a2a4820d6c/bwa_index/default/

prints:

lrwxr-xr-x 1 ialbert staff 172B Aug 10 13:05 baa91c8f6e2780cfd8fd1040ff37f51c379947a2a4820d6c.fa -> /project/shefflab/deploy/rg.databio.org_full/genomes/data/baa91c8f6e2780cfd8fd1040ff37f51c379947a2a4820d6c/fasta/default/baa91c8f6e2780cfd8fd1040ff37f51c379947a2a4820d6c.fa

Note that it links to a file location:

/project/shefflab/deploy/rg.databio.org_full/genomes/data/...
@martinaryee
Copy link

martinaryee commented Mar 21, 2023

I ran into the same issue and temporarily fixed it by manually overwriting the symlink with a new one that points to the local FASTA from the hg19/fasta resource:

cd ~/refgenie/alias/hg19/bwa_index/default/
ln -sf ../../../../data/baa91c8f6e2780cfd8fd1040ff37f51c379947a2a4820d6c/fasta/default/baa91c8f6e2780cfd8fd1040ff37f51c379947a2a4820d6c.fa .

My concern is that I've now significantly reduced some of the reproducibility benefits...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants