| 55 | }}} |
| 56 | {{{ |
| 57 | # calculate insert size with CollectInsertSizeMetrics function from picard ( http://picard.sourceforge.net ) |
| 58 | # I=File Input SAM or BAM file. Required. |
| 59 | # O=File File to write the output to. Required |
| 60 | # R=File Reference sequence fasta |
| 61 | # H=File File to write insert size histogram chart to Required. |
| 62 | # output: CollectInsertSizeMetrics.txt: values for -r and --mate-std-dev cna be found in this text file |
| 63 | # CollectInsertSizeMetrics_hist.pdf: graphic representation of the insert |
| 64 | bsub java -jar /usr/local/share/picard-tools/CollectInsertSizeMetrics.jar I=foo.bam O=CollectInsertSizeMetrics.txt H=CollectInsertSizeMetrics_hist.pdf R=/nfs/genomes/mouse_gp_jul_07_no_random/fasta_whole_genome/mouse_all_no_random.fa |