Hello, thanks for your reply and for kindly directing me to your GitHub page. Unfortunately I've tried installing cnv_facets via conda prior to this and it has taken a very long time at solving environment.
snp-pileup-wrapper.R is in my current directory. I've also ensured that the script is executable:
chmod a+x snp-pileup-wrapper.R
./snp-pileup-wrapper.R --foo --bar --snp-pileup-path ~/mut_analysis/variant-calling/facets_cnv/ --vcf-file ~/mut_analysis/hg38/annotations/dbsnp_146.hg38.vcf.gz --normal-bam ~/bam/006_normal/006_normal.clean.bam --tumor-bam ~/bam/006_met/006_met.clean.bam --output-prefix 006_met__006_normal
usage: ./snp-pileup-wrapper.R [-h] [-v] [-sp SNP_PILEUP_PATH] -vcf VCF_FILE -n NORMAL_BAM -t TUMOR_BAM -o OUTPUT_PREFIX [-p PSEUDO_SNPS] [-d MAX_DEPTH] ./snp-pileup-wrapper.R: error: unrecognized arguments: --foo --bar
I am probably inputting the incorrect commands at this point.
Do you have R installed (and
argparselibrary)?Thanks for your response. Yes I have R and argparse package installed.
Using your suggested command outputs the error:
I have write and execute permissions to this directory.
Your command line must have an incorrect option. Can you provide your command line (obfuscate any real names if you want).
This is the code I ran: