`Hi
I trying to detect copy number variation using varscan:
the command that i used is
samtools mpileup -q 1 -f Reference.fa k_output_bowtie2.bam | java -jar VarScan.v2.3.9.jar copynumber varscan_S14 --mpileup 1
i get the following error:
[mpileup] 1 samples in 1 input files
<mpileup> Set max per-file depth to 8000
[bam_pileup_core] the input is not sorted (reads out of order)
[bam_plp_destroy] memory leak: 1. Continue anyway.
Min coverage: 10
Min avg qual: 15
P-value thresh: 0.01
Reading input from STDIN
Reading mpileup input...
Parsing Exception on line:
NC_007196.1 2373565 A 1 ^9, 1
6
even when i input the sorted bam file
samtools mpileup -q 1 -f Reference.fa k14_output_bowtie2_sorted.bam |java -jar VarScan.v2.3.9.jar copynumber v1 --mpileup 1
i get an error :
[mpileup] 1 samples in 1 input files
<mpileup> Set max per-file depth to 8000
Min coverage: 10
Min avg qual: 15
P-value thresh: 0.01
Reading input from STDIN
Reading mpileup input...
Error: Invalid format or not enough samples in mpileup: NC_007194.1 80 C 0
Could anyone guide me where i am going wrong .
Please use the formatting bar (especially the
code
option) to present your post better. I've done it for you this time.thank you. I appreciate it. I will keep it in mind for the future.