I am trying to use Homer's scanMotifGenomeWide.pl, and need to convert my bed file to a bigbed file.
scanMotifGenomeWide.pl /scratch/ATACseq/FASTQ_ATAC_43955/sortedbams/picard/motifs/eye-motifs/homerMotifs.all.motifs /scratch/ATACseq/FASTQ_ATAC_43955/pfluv-genome/pfluv-genome.fa -bed > scanned-eye-motifsites.bed
sort -k1,1 -k2,2n scanned-eye-motifsites.bed > scanned-eye-motifsites.sorted.bed
However, when I try:
bedToBigBed scanned-eye-motifsites.sorted.bed /scratch/ATACseq/FASTQ_ATAC_43955/pfluv-genome/pfluv-genome.sizes scanned-eye-motifs.bigBed
I get the following error:
Expecting number field 2 line 1 of scanned-eye-motifsites.sorted.bed, got Perca
Expecting number field 2 line 1 of scanned-liver-motifsites.sorted.bed, got Perca
Expecting number field 2 line 1 of scanned-spleen-motifsites.sorted.bed, got Perca
Here is what I see when I try to use the head command on the bed file made from the sort step:
CM020909.1 Perca fluviatilis chromosome 1, whole genome shotgun sequence 4 11 17-TTCTTTTT 6.933043 +
CM020909.1 Perca fluviatilis chromosome 1, whole genome shotgun sequence 9 16 17-TTCTTTTT 6.933043 +
CM020909.1 Perca fluviatilis chromosome 1, whole genome shotgun sequence 10 21 13-TTTTTTTTTTTT 11.062214 +
CM020909.1 Perca fluviatilis chromosome 1, whole genome shotgun sequence 12 21 18-TTTTTTTTTT 9.703866 +
CM020909.1 Perca fluviatilis chromosome 1, whole genome shotgun sequence 14 21 17-TTCTTTTT 7.368553 +
CM020909.1 Perca fluviatilis chromosome 1, whole genome shotgun sequence 27 38 10-AGAGAGTGTGTG 3.916992 +
CM020909.1 Perca fluviatilis chromosome 1, whole genome shotgun sequence 29 38 12-AGAGTGTGTG 6.055752 +
CM020909.1 Perca fluviatilis chromosome 1, whole genome shotgun sequence 31 38 5-CACTCACT 5.516073 -
CM020909.1 Perca fluviatilis chromosome 1, whole genome shotgun sequence 47 56 12-AGAGTGTGTG 6.055752 +
CM020909.1 Perca fluviatilis chromosome 1, whole genome shotgun sequence 49 56 5-CACTCACT 5.516073 -
Any insights would be really appreciated. Thank you in advance!
homer
software-error
ucsc