Thanks for all the replies, actually using -g Homo_sapiens_assembly38.fasta the output is the same error.
chr1 248956422 112 100 101
chr2 242193529 251446211 100 101
chr3 198295559 496061788 100 101
chr4 190214555 696340415 100 101
chr5 181538259 888457250 100 101
chr6 170805979 1071811004 100 101
chr7 159345973 1244325155 100 101
chr8 145138636 1405264700 100 101
chr9 138394717 1551854835 100 101
chr10 133797422 1691633613 100 101
The file genome file actually follows the format required.
Hi,
Please try:
Kevin
A bedtools genome file, as used with
-g, is a tab-delimited table giving chromosome names and lengths, and the desired order of the chromosomes. Only the first two columns are used, so a .fai file is suitable. The FASTA file itself is not suitable.Indeed, Sir, it is not expected a FASTA
You are using a version of bedtools prior to 2.29. More recent versions have changes in the way the
-gfile is read and more detailed error messages, so I'd suggest you try the current version to shed some light on this.