|
From: Petr D. <pd...@sa...> - 2017-11-28 11:38:52
|
Hi Jialu, you can stream the file to be sorted, like this: cat file.vcf | vcf-sort > out.vcf Check also the help message vcf-sort -h Best, Petr On Tue, 2017-11-21 at 15:59 -0600, Jialu Yan wrote: > Hi everyone, > > I'm new to vcftools and I'm sorry if this is a stupid question. I > typed vcf-sort into the terminal in my home directory (just this > command), and it said 'sort -k1,1d -k2,2n', then I terminated this > command using ^C. I was wondering if this will change my files? And > what does 'vcf-sort' command do if there's no vcf file following the > 'vcf-sort' command? I was a little worried. > > Thank you very much! > > Best regards, > Jialu > ------------------------------------------------------------------- > ----------- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Vcftools-help mailing list > Vcf...@li... > https://lists.sourceforge.net/lists/listinfo/vcftools-help -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. |