Hi Guys, Just a quick question. Its more of a Bash question rather than Bioinformatics, with Bedtools in question.
pipe the bedtools I/O.
Here's a general scenario :
sed 1d fileA.bed | intersectBed -a stdin -b peaks.bed | intersectBed -u -a stdin -b fileB.bed
Now, the problem is
fileB is also having a head, which is reported as an error by intersectBed (makes sense, non-integer start).
How can I remove the first line or the head of the fileB on the fly in the pipe.