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

Feature request: Add option for reference to cluster_identifier #27

Open
nvnieuwk opened this issue Sep 6, 2022 · 2 comments
Open

Feature request: Add option for reference to cluster_identifier #27

nvnieuwk opened this issue Sep 6, 2022 · 2 comments

Comments

@nvnieuwk
Copy link

nvnieuwk commented Sep 6, 2022

Hi,

Is it possible to add the option to specify the reference file in cluster_identifier? I'm trying to run it using a CRAM file and the tool looks for the reference but can't find it automatically.

Or do you know of a way I can specify this myself?

Thanks
-Nicolas

@nvnieuwk
Copy link
Author

nvnieuwk commented Sep 6, 2022

Adding this before executing cluster_identifier worked for me:

wget https://raw.githubusercontent.com/samtools/samtools/master/misc/seq_cache_populate.pl 
perl seq_cache_populate.pl -root ./md5_ref $fasta 
export REF_PATH=`pwd`/md5_ref/%2s/%2s/%s

@nvnieuwk nvnieuwk closed this as completed Sep 6, 2022
@nvnieuwk nvnieuwk reopened this Sep 7, 2022
@nvnieuwk
Copy link
Author

nvnieuwk commented Sep 7, 2022

This seems like a bit of a sketchy work around though. It would still be nice if you could add a --reference argument to the tool. Thanks!

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

1 participant