bcftools mpileup error
0
0
Entering edit mode
17 months ago
kat.bi • 0

Hi, I'm trying to submit a variant calling job using bcftools mpileup into the HPC server like:

bsub -q prod -P gfap-anno-test -J gfap-anno-test -R "rusage[mem=9000,scr=5000] span[hosts=1]" -n 5 bcftools mpileup -Ou -f sample_dedupl.bam | bcftools call -mv -Ob -o out_sample.bcf

It throws an error - Failed to read from standard input: unknown file type

But when I executed this command in CLI itself for one sample, it started processing without any error.

Please suggest the solution or the issue associated with it.

bcftools variant-calling wgs • 607 views
ADD COMMENT
0
Entering edit mode

I don't know bsub but i would single-quote all the string 'bcftools mpileup -Ou -f sample_dedupl.bam | bcftools call -mv -Ob -o out_sample.bcf'

ADD REPLY
0
Entering edit mode

You meant the quote is required or the part with quote you posted alone will work?

ADD REPLY
1
Entering edit mode

The quote is required

ADD REPLY

Login before adding your answer.

Traffic: 2580 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6