Changes between Version 3 and Version 4 of SOPs/qc_shortReads


Ignore:
Timestamp:
09/11/13 15:12:20 (11 years ago)
Author:
gbell
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SOPs/qc_shortReads

    v3 v4  
    2727  * If reads reads are removed, get reads/mates after QC'ing that are //perfect// pairs:
    2828
    29  {{{
    30     bsub “perl /nfs/BaRC_Public/BaRC_code/Perl/cmpfastq/cmpfastq.pl s_8_1_sequence.txt s_8_2_sequence.txt”
    31 }}}
    32 
    33   * '''Paired-End Insert Size''': If paired-end insert size or distance is unknown or need to be verified, it can be extracted from a BAM/SAM file after running Bowtie.
    34 
    35  {{{
    36     # Run bowtie
    37     bowtie -S /nfs/genomes/mouse_gp_jul_07/bowtie/mm9 -1 s_1_1_sequence.txt -2 s_1_2_sequence.txt -n 1 -p 2 -I 0 -X 500 >| s_1_bowtie.sam
     29{{{
     30   bsub “perl /nfs/BaRC_Public/BaRC_code/Perl/cmpfastq/cmpfastq.pl s_8_1_sequence.txt s_8_2_sequence.txt”
     31}}}
     32
     33  * '''Paired-End Insert Size''': If paired-end insert size or distance is unknown or need to be verified, it can be extracted from a BAM/SAM file after running Bowtie.  See the [[http://barcwiki.wi.mit.edu/wiki/SOPs/mapping|mapping SOP]] for more details.
     34
     35{{{
     36   # Map with bowtie (or another mapper)
     37   bowtie -S /nfs/genomes/mouse_gp_jul_07/bowtie/mm9 -1 s_1_1_sequence.txt -2 s_1_2_sequence.txt -n 1 -p 2 -I 0 -X 500 >| s_1_bowtie.sam
    3838}}}
    3939
     
    6161  * QC a single file using ShortRead
    6262
    63  {{{
     63{{{
    6464   library("ShortRead")
    65     # load the data
    66     sr <- readFastq("s1_sequence.txt")
    67     # create a qa object from the ShortRead object
    68     qa <- qa( sr, lane="character" )
    69     # create an html report in the qa directory
    70     report(qa, dest="my_qa")
    71 
    72   * QC all *.txt fastq files in a directory using ShortRead
    73 
    74     library("ShortRead")
    75     qaSummary <- qa(".", pattern="*.txt", type="fastq")
    76     #create an html report in the qa directory
    77     report(qaSummary, dest="myQC_dir") 
     65   # load the data
     66   sr <- readFastq("s1_sequence.txt")
     67   # create a qa object from the ShortRead object
     68   qa <- qa( sr, lane="character" )
     69   # create an html report in the qa directory
     70   report(qa, dest="my_qa")
     71}}}
     72
     73  * QC all *.txt fastq files in a directory using ShortRead.
     74
     75{{{
     76   library("ShortRead")
     77   qaSummary <- qa(".", pattern="*.txt", type="fastq")
     78   #create an html report in the qa directory
     79   report(qaSummary, dest="myQC_dir") 
    7880}}}
    7981
     
    8385 
    8486{{{
    85   # sample commands:
     87   # Sample commands:
    8688   # quality_stats: Sampl Solexa reads file: s_1_1_sequence.txt
    8789   fastx_quality_stats -i s_1_1_sequence.txt -o s_1_1_sequence.stats