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

sga index output unexpectedly placed in working directory #69

Open
marcelm opened this issue Mar 12, 2014 · 2 comments
Open

sga index output unexpectedly placed in working directory #69

marcelm opened this issue Mar 12, 2014 · 2 comments

Comments

@marcelm
Copy link

marcelm commented Mar 12, 2014

When running

sga index --no-reverse directory/file.fastq

I would have expected the index files that are created to be directory/file.bwt and directory/file.sai, but they are actually put into the working directory as file.bwt and file.sai. This can be worked-around by using the -p option, but is still unexpected behavior that makes sga index a little harder to use in automated workflows.

@jts
Copy link
Owner

jts commented Mar 12, 2014

This was an issue I considered but ultimately decided to strip the leading directories when generating on the output name. I'm not sure that I made the right decision. I agree its more intuitive to leave the directory intact. This would be a large change to the behaviour as the subsequent programs (correct, overlap, etc) look in the current working directory for the index. I'm going to think this over for a few days.

@mmokrejs
Copy link

No don't it is a good idea to force all output to cwd. I agree with @marcelm .

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

3 participants