This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Strange Vcf File Issue

Hi all, I have installed Ubuntu on my PC as dual boot. I have an external drive formatted in NTFS that i want to share between the Ubuntu and Windows

The problem is i am executing shell script on Ubuntu something like this

@ubuntu > bash myscript.sh > myfile.vcf

The issues are

Instead of my file having extension of .vcf it has an extension of vcf_

Second, when i try to open this file in Windows, i can see the file in Windows Explorer but i get message that states "File Not found" when i try to open it.

I am assigning permissions to myscript.sh as follows: chmod +x myscript.sh

Can anyone help with this?

Thanks in advance. A

vcf script

I think this question is really not appropriate for this forum. Anyway: a) did you check the output of your script? type: cat myfile.vcf_ b) you can rename the file: mv myfile.vcf_ myfile.vcf c) Windows cannot define the file type or name because the underscore

What you have there is a Windows issue, not a VCF issue. It's not at all clear from the question how that underscore could appear.

there is data and correct data in the VCF file. the _ is added on the ubuntu side as all the processing is done there.

This is not a bioinformatics question, it is a question about sharing files between 2 operating systems. You may find http://superuser.com/ more appropriate

0 answers

No answers yet.

Log in to answer this question.