SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to convert a SNP.txt to a bed file or get a SNP.bed from samtools? Ling Bioinformatics 7 04-02-2015 06:17 AM
Updated How to convert .txt file to .bed .GFF or .BAR file format, forevermark4 Bioinformatics 2 06-30-2014 05:02 AM
TopHat file.bam file.bed join Trudy Bioinformatics 1 05-21-2013 11:59 AM
Is there a BED file format validator? Does a BED file have to be sorted position? LauraSmith Bioinformatics 3 05-21-2013 11:54 AM
Converting Dindel VCF file to GATK BED file MolecularToast Bioinformatics 2 09-24-2011 06:38 PM

Reply
 
Thread Tools
Old 06-02-2012, 06:54 AM   #1
lifetech01
Junior Member
 
Location: US

Join Date: May 2012
Posts: 1
Default target region file for samtools (.bed file)

Hello,

I just started to use samtools to call SNPs on some target regions for crop wheat, should I sort the .bed file by chromosomes and start and end Or samtools accept unsorted .bed file so that chr has to be in order, as well as start and end positions from small to large?

eg, my bed file looks like:
chr1 2345 34565
chr1 3455 65421
chr1 23455 23299

thank you,
lifetech01
lifetech01 is offline   Reply With Quote
Old 07-09-2014, 03:59 PM   #2
arcolombo698
Senior Member
 
Location: Los Angeles

Join Date: Nov 2013
Posts: 142
Default

you can first sort and index your bam file. then why not use bed tools to create a bed file from your sorted bam file?
arcolombo698 is offline   Reply With Quote
Reply

Tags
bedfile, samtools

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 09:25 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO