Skip to content
This repository has been archived by the owner on Mar 19, 2019. It is now read-only.

Is REF_PATH/REF_CACHE used for reading CRAM? #68

Open
keiranmraine opened this issue Mar 10, 2018 · 1 comment
Open

Is REF_PATH/REF_CACHE used for reading CRAM? #68

keiranmraine opened this issue Mar 10, 2018 · 1 comment

Comments

@keiranmraine
Copy link

In the readme you indicate the REF_PATH/REF_CACHE variables are used for cram output.

https://github.com/gt1/biobambam2#bamsormadup-and-cram-output

Can you clarify if they are used when reading CRAM as well? When receiving data from others in CRAM it would be helpful if we didn't need to request the reference when it can be auto discovered from ENA.

@EvanTheB
Copy link
Contributor

Just my observation:
io_lib (aka scramble) is used for reading CRAM, it checks for REF_CACHE and REF_PATH: https://github.com/jkbonfield/io_lib/blob/d4db6015ba8b6ec78e95895242b2d34b15dfa83b/io_lib/cram_io.c#L2781

There is some code in biobambam + libmaus reference these environment variables, but I think they are just for error messages.

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

No branches or pull requests

2 participants