hi I want to create a bed file from bowtie-inspect summary and the TopHat output file with the bed extension, so a new bed-format file is generated that defines a 5-base-pair window around each junction of the slots(In the SNP discovery workflow): (this command)
cat Analysis/tophat/junctions.bed | Analysis/RNA-seq/bed_to_juncs | flankBed -g genome_size.txt -b 1 | slopBed -g geenome_size.txt -b 5 > window.bed
but I got this error:
ERROR: chrom "1" not found in genome file. Exiting.
Traceback (most recent call last):
File "Analysis/RNA-seq/bed_to_juncs", line 69, in <module>
sys.exit(main())
File "Analysis/RNA-seq/bed_to_juncs", line 59, in main
print "%s\t%d\t%d\t%s\t%s" % (chromosome, left_pos, right_pos, orientation, counts)
IOError: [Errno 32] Broken pipe
whats the problem?
Please use the formatting bar (especially the
code
option) to present your post better. You can use backticks for inline code (`text` becomestext
), or select a chunk of text and use the highlighted button to format it as a code block. I've done it for you this time.This a head of my genome file:
What should I do now?
please help me.
It's pretty ironic that you replied to my "Please use code formatting" comment with text that is unformatted. Please put in more effort so we don't have to clean up your content while trying to help you.