gravatar for curious

2 hours ago by

I have been trying to subset a vcf by ids stored in a variable, is this even possible

IFS=
ids=$(bcftools query -f '%IDn' my.vcf)
bcftools view -i "[email protected]${ids}" my_other_vcf

error I get: -bash: /usr/local/bin/bcftools: Argument list too long`

what am I missing here? I realize this is probably more of a bash question sorry

link

modified 2 hours ago

written
2 hours ago
by

curious450



Source link