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

Can't find the vcf_stats file(MergeVcfWideStats.merged_bed_file), how to generate it? #606

Open
jingydz opened this issue Oct 8, 2023 · 1 comment
Labels
question Further information is requested

Comments

@jingydz
Copy link

jingydz commented Oct 8, 2023

Bug Report

$ Rscript plot_sv_vcf_distribs.R -N $( cat 4388.nyuwa.after.change.lst | sort | uniq | wc -l ) -S SV_colors.txt nvwaCHBCHS.4388.genotype.vcffilter.vcf.gz.gz.stats plotQC_vcfwide_output/
Error in read.table(INFILE, comment.char = "", sep = "\t", header = T, :
more columns than column names
Execution halted

Affected module(s) or script(s)

plot_sv_vcf_distribs.R

Description

I want to display the length distribution of SV, and I found the specific code as follows:

Plot VCF-wide distributions

/opt/sv-pipeline/scripts/vcf_qc/plot_sv_vcf_distribs.R
-N $( cat ~{samples_list} | sort | uniq | wc -l )
-S /opt/sv-pipeline/scripts/vcf_qc/SV_colors.txt
~{vcf_stats}
plotQC_vcfwide_output/

Prep outputs

tar -czvf ~{prefix}.plotQC_vcfwide_output.tar.gz
plotQC_vcfwide_output

Question

But I'm curious what file the 'vcf_stats' should be? The source code shows 'vcf_stats=MergeVcfWideStats.merged_bed_file' How did you obtain this file?

@epiercehoffman
Copy link
Collaborator

The file is generated by a previous task, MergeVcfWideStats. We recommend running the entire workflow, MainVcfQc, in order to generate all required files in an automated way. If you are trying to run the scripts manually you'd need to run all the previous tasks from the workflow as well.

@mwalker174 mwalker174 added the question Further information is requested label Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants