Tag: getfasta

organizing a Bed file for bedtools getfasta

organizing a Bed file for bedtools getfasta 0 I am trying to use bedtools getfasta on some bed files, but the issue is that the peaks bed file columns are mixed up such that the first column with the chromosome names contains the peak location as well for some of…

Continue Reading organizing a Bed file for bedtools getfasta

bedtools getfasta concatenating sequences

bedtools getfasta concatenating sequences 0 Hi, I have a bed file containing exons of the genes. the name field is specified with name of the gene like (ENSG***). when I run bedtools getfasta I get the sequences of each exon separately. is there a standard way in order to concatenate…

Continue Reading bedtools getfasta concatenating sequences

Exon coordinates and sequence

I did it like that: 1- Download refGene.txt.gz and hg19.fasta from the UCSC goldenpath. ( note: convert hg19.2bit to hg19.fa using twoBitToFa ) 2- Create a bed file with exon coordiniate using my awk script // to_transcript.awk BEGIN { OFS =”t” } { name=$2 name2=$13 sens = $4 ==”+” ?…

Continue Reading Exon coordinates and sequence

extract entire header from BED file to FASTA

extract entire header from BED file to FASTA 1 Hi, Is there any way one can extract the entire header from a BED file while using bedtools getfasta command and write it in the FASTA output ? Have tried using bedtools getfasta -fi hg19.fa -bed file.bed -fo test.fasta -fullHeader but…

Continue Reading extract entire header from BED file to FASTA