In [21]:
!ls /Volumes/Monarch/tmp/
In [16]:
cd /Volumes/Monarch/tmp/
In [25]:
!samtools sort zr1394_1_cleaned_all_bismark_bt2.bam
In [26]:
!/Applications/bedtools2/bin/bedtools genomecov \
-ibam zr1394_1_cleaned_all_bismark_bt2_sorted.bam \
-bg > zr1394_1_cleaned_all_bismark_bt2.bedgraph
In [29]:
!tail /Volumes/Monarch/tmp/zr1394_1_cleaned_all_bismark_bt2_sorted.sam
In [28]:
!head zr1394_1_cleaned_all_bismark_bt2_sorted.bam
In [6]:
cd /Volumes/Monarch/tmp/
In [7]:
!curl http://owl.fish.washington.edu/halfshell/working-directory/16-10-29/Ostrea_lurida-Scaff-10k.fa \
-o Ostrea_lurida-Scaff-10k.fa
In [8]:
!samtools view -bT Ostrea_lurida-Scaff-10k.fa \
zr1394_1_cleaned_all_bismark_bt2_sorted.sam \
> SRzr1394_1_cleaned_all_bismark_bt2.bam
In [9]:
!/Applications/bedtools2/bin/bedtools genomecov \
-ibam SRzr1394_1_cleaned_all_bismark_bt2.bam \
-bg > SRzr1394_1_cleaned_all_bismark_bt2.bedgraph
In [10]:
!head SRzr1394_1_cleaned_all_bismark_bt2.bedgraph
In [12]:
!diff /Volumes/Monarch/tmp/SRzr1394_1_cleaned_all_bismark_bt2.bam \
/Volumes/Monarch/tmp/zr1394_1_cleaned_all_bismark_bt2_sorted.bam
In [21]:
!python /Volumes/air_clone/Applications/bsmap-2.74/methratio.py \
-d Ostrea_lurida-Scaff-10k.fa \
-u -z -g \
-o methratio_out_.txt \
-s /Applications/samtools-1.2 \
zr1394_1_cleaned_all_bismark_bt2_sorted.sam
In [17]:
!python /Volumes/air_clone/Applications/bsmap-2.74/methratio.py -help
In [ ]: