modified: pixi.toml
[GalaxyCodeBases.git] / BioInfo / BS-Seq / bwa-meth / compare / cmp-bis2.sh
blob627f74796f1b3e0c024ed11842b7de9c9be3fcfe
1 <<DONE
2 # get alignments from bis2
3 samtools view -f2 results/bis2-noerrorsim.bam | cut -f1 | uniq > bis2-noerror.txt
4 # get alignments from bwa-meth that are not in bis2
5 samtools view -f2 results/bwa-noerrorsim.bam | awk '$5 > 20' | cut -f 1 \
6 | uniq | grep -vFf bis2-noerror.txt | sort -u > bwa-uniq.txt
9 exit;
10 DONE
12 python src/extract-read.py "10001_chr6:125453407-125453496" \
13 data/noerrorsim_R1.fastq.gz \
14 data/noerrorsim_R2.fastq.gz
17 bowtie2 -q -N 1 --score-min L,-0.4,-0.5 --reorder --ignore-quals --no-mixed \
18 --maxins 600 -x \
19 /data/Schwartz/brentp/mm10/ref/Bisulfite_Genome/CT_conversion/BS_CT \
20 -1 o_R1.fq -2 o_R2.fq -q | grep -v "^@"
22 bowtie2 -q -N 1 --score-min L,-0.4,-0.5 --reorder --ignore-quals --no-mixed \
23 --maxins 600 -x \
24 /data/Schwartz/brentp/mm10/ref/Bisulfite_Genome/GA_conversion/BS_GA \
25 -1 o_R1.fq -2 o_R2.fq -q | grep -v "^@"