bedtools2
bedtools2 copied to clipboard
Question about bedtools tag
Hi all!
Is there any documentation detailing the bedtools tag command?
I'm curious regarding:
- Is there any built-in way to store the output? Something akin to the -o option in samtools view. I'm wary of using ">" to redirect the output of/to BAM files.
- I'm doing some small tests with files that I know will have "tagged" reads, so inputs and outputs have the same number of reads. For a larger file, in which all reads may not be tagged, does "tag" outputs the tagged reads only, or will it output all reads? If its the latter case, is there any option to keep tagged reads only?
Best regards!