Entering edit mode
7.5 years ago
mra8187
▴
20
Dear all i am trying to use bedtools to snp filtering by get the error . what's wrong ?
my script is :
cat '/media/mra/4A3B44B64CA65A93/SNP/DATA/drone-larvae/SRR1571716/Trimmomatic/tophat_out/junctions.bed' \
| bed_to_juncs | flankBed -g '/home/mra/Downloads/genome_size.txt' -b 1 \
| slopBed -g '/home/mra/Downloads/genome_size.txt' -b 5 \
> '/media/mra/4A3B44B64CA65A93/SNP/DATA/drone-larvae/SRR1571716/Trimmomatic/tophat_out/window.bed'
error is :
Warning: malformed line 1, missing columns
track name=junctions description="TopHat junctions"
ERROR: chrom "1" not found in genome file. Exiting.
Traceback (most recent call last):
File "/home/mra/miniconda3/bin/bed_to_juncs", line 69, in <module>
sys.exit(main())
File "/home/mra/miniconda3/bin/bed_to_juncs", line 59, in main
print("%s\t%d\t%d\t%s\t%s" % (chromosome, left_pos, right_pos, orientation, counts))
BrokenPipeError: [Errno 32] Broken pipe
thanks for your help .... very thanks ..........