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

VCF file #224

Open
zainabae opened this issue Jul 9, 2024 · 7 comments
Open

VCF file #224

zainabae opened this issue Jul 9, 2024 · 7 comments

Comments

@zainabae
Copy link

zainabae commented Jul 9, 2024

Hello, is there any way to get a vcf file for the merged and filtered regions, instead of xlsx file?

@arpanda
Copy link
Member

arpanda commented Jul 10, 2024

Hi,
Currently, there is no option for VCF-formatted output for merged results.

Thank you,
Arijit

@thedam
Copy link

thedam commented Aug 23, 2024

how to obtain output vcf file using a single command like:
cnvpytor -root file.pytor -call 1000 10000 100000
?

@zainabae
Copy link
Author

how to obtain output vcf file using a single command like:

cnvpytor -root file.pytor -call 1000 10000 100000

?

In -view mode, you can set the output file type as vcf file


> cnvpytor -root file.pytor -view 100000 
set Q0_range 0 0.5
set size_range 100000 inf
set p_range 0 0.00001
set print_filename output.vcf
print calls

@thedam
Copy link

thedam commented Aug 23, 2024

I need to use it in pipeline, so I'd like to have somthing like this:
cnvpytor -root file.pytor -call 1000 10000 100000 -output output.vcf

@arpanda
Copy link
Member

arpanda commented Aug 23, 2024

HI @thedam ,
Here are several approaches that can be followed to integrate into a pipeline. Below are some examples:

> echo "rdstat" | cnvpytor -root file.pytor -view 100000 -o prefix.png

> cnvpytor -root file.pytor -view 100000 <<ENDL
set Q0_range 0 0.5
set size_range 100000 inf
set p_range 0 0.00001
set print_filename output.vcf
print calls
ENDL

> cnvpytor -root file.pytor -view 100000 < script.spytor

-Arijit

@thedam
Copy link

thedam commented Aug 26, 2024

Hi @arpanda, thanks, it works for me.

so to obtain vcf files for 1000, 10000, 100000 I have to run it three times (changing the values in bold) and then marge three vcf files?

cnvpytor -root file.pytor -view 100000 <<ENDL
set Q0_range 0 0.5
set size_range 100000 inf
set p_range 0 0.00001
set print_filename output.vcf
print calls
ENDL

@arpanda
Copy link
Member

arpanda commented Aug 26, 2024

I would suggest to prepare separate output files. In view mode, the bin_size parameter can also be updated. Here is an example.

cnvpytor -root file.pytor -view 100000 <<ENDL
set Q0_range 0 0.5
set size_range 100000 inf
set p_range 0 0.00001
set print_filename output_100k.vcf
print calls

set bin_size 10000
set print_filename output_10k.vcf
print calls
ENDL

-Arijit

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