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

How to pipe deovo trio with samtool mpileup? #59

Open
snijesh opened this issue Jan 13, 2021 · 1 comment
Open

How to pipe deovo trio with samtool mpileup? #59

snijesh opened this issue Jan 13, 2021 · 1 comment

Comments

@snijesh
Copy link

snijesh commented Jan 13, 2021

Running trios pipeline

#Create a three-sample mpileup
samtools mpileup -B -q 1 \
-f ref.fasta \
dad.bam mom.bam child.bam >trio.mpileup

#Run VarScan trio
varscan trio trio.mpileup trio.mpileup.output \
      --min-coverage 10 --min-var-freq 0.20 --p-value 0.05 \ 
      -adj-var-freq 0.05 -adj-p-value 0.15

Is it fine to pipe the command as follows:
samtools mpileup -B -q 1 -f ref.fasta dad.bam mom.bam child.bam | varscan trio - trio.mpileup.output --min-coverage 10 --min-var-freq 0.20 --p-value 0.05 -adj-var-freq 0.05 -adj-p-value 0.15

@mkohailan
Copy link

I tried it before and it worked for me

samtools mpileup -B -q 1 -f ref Father.bam Mother.bam Child.bam | java -jar VarScan.v2.3.9.jar trio --output-vcf output_file

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

2 participants