Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

samtools faidx replaces fasta file with symlink pointing to itself #88

Open
samuell opened this issue May 18, 2016 · 0 comments · May be fixed by #91
Open

samtools faidx replaces fasta file with symlink pointing to itself #88

samuell opened this issue May 18, 2016 · 0 comments · May be fixed by #91

Comments

@samuell
Copy link
Contributor

samuell commented May 18, 2016

At least when running samtools-faidx without docker, the input fasta (.fa) file is replaced with a symlink pointing to itself:

[samuel 002-resequencing]$ ll *fa
lrwxrwxrwx 1 samuel samuel 98 maj 18 20:43 Homo_sapiens.GRCh37.75.dna.chromosome.17.fa -> /home/samuel/code/bils/cwl-evaluation/002-resequencing/Homo_sapiens.GRCh37.75.dna.chromosome.17.fa

The problem is solved (at least for me), when uncommenting the .fai part on line 34 in samtools-faidx.cwl, so as to let samtools faidx only return the newly created .fai file.

samuell added a commit to NBISweden/workflows that referenced this issue May 18, 2016
samuell added a commit to NBISweden/workflows that referenced this issue May 23, 2016
samuell added a commit to NBISweden/workflows that referenced this issue May 23, 2016
samuell added a commit to NBISweden/workflows that referenced this issue May 23, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant