Entering edit mode
2.3 years ago
X
•
0
Hi all,
I've been trying to run this command:
bcftools view --threads 40 --samples-file /home/j/jle/jasminl/scratch/analysis/ID.txt -Oz -o /home/j/jle/jasminl/scratch/analysis/JC.vcf.gz
Where ID.txt is a file containing the ID I want to use to extract samples from the JC.vcf.gz file. However, I have been running into this error:
Failed to open -: unknown file type
Is this a common problem? What might be causing it?
Thank you.
what's the version of bcftools ? otherwise I suspect there is a invisible character somewhere in your command. You shoud re-write it from scractch .
I tried rewriting it from scratch, but the same is occurring. The modules I have currently loaded onto my shell script is:
module load gcc/8.3.0 module load bcftools/1.8 module load samtools/1.13
Please let me know your thoughts, thank you.
run
bcftools view
only, look at the available options and look if this old version of bcftools contains the options you wanted.