bcftools isec tries to create a directory called README.txt inside target directory
0
0
Entering edit mode
6.0 years ago

I am running bcftools isec on two bcftools compressed vcf files (vcf.gz) with root permission. However, bcftools (1.5-17-g4f134df-dirty) isec tries to create a directory called README.txt inside the target directory.

bcftools isec test1.vcf.gz test2.vcf.gz -p MyDir -Oz -o MyOut.vcf.gz

The notification I recieve is:

MyDir/README.txt: Is a directory

I would like a quick fix, without having to reinstall bcftools.

Thanks in advance!

software error bcftools isec • 1.5k views
ADD COMMENT
0
Entering edit mode

what is the output of

ls -la MyDir

?

ADD REPLY
0
Entering edit mode
[username2@cloud vcf]$ ls -la MyDir
total 2
drwxr-xr-x 1 u username1 0 Apr 16 16:24 .
drwxrwxr-- 1 u username1 0 Jan  1  1970 ..
drwxr-xr-x 1 username1 admins 0 Apr 16 16:25 README.txt

[username2@cloud vcf]$ ls -la MyDir/README.txt/
total 1
drwxr-xr-x 1 username1 admins 0 Apr 16 16:25 .
drwxr-xr-x 1 username1 admins 0 Apr 16 16:24 ..
ADD REPLY
0
Entering edit mode

can you

rmdir MyDir/README.txt

and try again ?

ADD REPLY

Login before adding your answer.

Traffic: 1486 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