Command name |
input |
output |
bedtools bamtobed -i chr10.1_sorted.bam > chr10.1_sorted.bed |
bam file with coordinates |
bed file with coordinates |
bedtools intersect -u -a gencode.genes.bed -b chr10.1_sorted.bed > int.bed |
gencode.genes.bed (genes mapping file), chr10.1_sorted.bed (sorted bed file with coordinates) |
intersection of genes mapping file and sorted bed file with coordinates |
bedtools coverage -counts -b gencode.genes.bed -a int.bed > cov.bed |
intersection of genes mapping file and sorted bed file with coordinates |
bed file with coverage |
Command name |
input |
output |
bedtools bamtofastq -i chr10.1_sorted.bam -fq chr10.1_sorted.fastq |
.bam file with alignments |
fastq file with reads |
bedtools getfasta -fi chr10.fasta -bed gene.bed > gene.fasta |
.fasta file with chromosome sequence, .bed file with gene coordinates |
gene sequence |
bedtools makewindows -g chr10_mw.genome -w 1000000 |
.genome file with chromosome length (135534747), chunk size |
number of intervals (136), coordinates of intervals |
bedtools cluster -i chr10.1_sorted.bed |
.bed file with gene coordinates |
number of clusters (22) |
bedtools slop -i gene.bed -g chr10_mw.genome -l 0 -r 1000 |
.bed file with gene coordinates, .genome file with chromosome length, length of the addition |
slopped gene coordinates |
bedtools slop -i gene.bed -g chr10_mw.bed -b 1000 |
.bed file with gene coordinates, .genome file with chromosome length, length of the addition |
slopped gene coordinates |
bedtools slop -i gene.bed -g chr10_mw.bed -l 500 -r -500 |
.bed file with gene coordinates, .genome file with chromosome length, length of the addition |
shifted gene coordinates |
bedtools complement -i chr10.1_sorted.bed -g chr10_mw.genome |
.bed file with gene coordinates, .genome file with chromosome length |
coordinates of the parts, that are not overlapped by .bed file |
bedtools genomecov -ibam chr10.1_sorted.bam -bg |
.bam file with alignments |
interval coordinates with coverage depth |