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

cnvkit batch - generate target_bed in output_dir if given #940

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pontushojer
Copy link

Hi!

Small edit here.

I noticed that the target BED generated by cnvkit.py batch was created in the working directory, NOT the specified output directory. This PR add some logic to fix this.

For context I am running cnvkit batch in WGS mode using only a FASTA while specifying an output directory, this is the command:

cnvkit.py batch path/to/my.cram -n -m wgs -f path/to/genome.fa -d output

This generates a target BED based on the FASTA, but despite giving an output directory this BED (genome.bed in this case) was generated in the current directory.

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

Successfully merging this pull request may close these issues.

1 participant