Entering edit mode
4.4 years ago
c.e.chong
▴
60
Hi all,
I need to create a bed file from my fasta files (from de novo assembled Metagenomic samples). I want the contig name in one column, then the start position and end position.
Does anyone have any advice on how to do this?
Thanks in advance!
By start position and end position, do you mean 1 and length(sequence) for each contig? You should be able to use bioawk to get that information.
I don't want the length of the contig just the bp number where they start and end
Where is that information stored in the FASTA file?
I’m not sure, that’s why I’m asking if it’s possible to do this as I was told this was the file I needed!
I’m not clear on what you mean by 1 and length(sequence)?
Thanks
There lies the problem. I think you need to spend a little more time understanding the problem. Talk to the person who told you this and ask them for more information.
Thanks for your help I have a bio python script to do this now.
Perhaps this would have helped with the names and lengths somewhat faster. Then adapt to BED format