Hi,
I am using fedora. I have a merged.gtf by cuffdif that I am going to convert to bed because I need something like below (the first row of a bed file) that I have after mapping with bowtie2 and downstream tool to bed
YAL001C 0 31 SRR1944914.13670510 42 +
but here I used tophat and cufflinks and now I have a gtf that is the first row of my gtf file
1 Cufflinks exon 3631 3913 . + . gene_id "XLOC_000001"; transcript_id "TCONS_00000001"; exon_number "1"; gene_name "NAC001"; oId "AT1G01010.1"; nearest_ref "AT1G01010.1"; class_code "="; tss_id
I used this command to convert to bed format but I got error
[izadi@lbox161 bin]$ gtf2bed < merged.gtf | sort-bed - > file.bed
Segmentation fault
[izadi@lbox161 bin]$
Thank you for your help
First, why do you need sort-bed if gtf2bed already sorts the output?
Second, if you get an error, break apart your multiple commands and find out which one is giving you the error.
but i used only one command then how i can break that apart?
see |.
Fereshteh, as noted in my comment, the pre-compiled binaries may not work on all Linux systems. You can compile and install by hand with a few commands - instructions are posted here.