# HG changeset patch # User devteam # Date 1393300566 18000 # Node ID bd86ab3d004c15ed356fa60e08f815eb48ad92ed # Parent e18ad84f747a203d7460ad666f4976f9a74a6e5a Deleted selected files diff -r e18ad84f747a -r bd86ab3d004c fastq2sam_wrapper.sh --- a/fastq2sam_wrapper.sh Mon Feb 24 17:27:59 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -#!/bin/bash - -if [ "$1" == "sam" ] -then - output=$2.sam -else - output=$2 -fi - -java -XX:DefaultMaxRAMFraction=1 -XX:+UseParallelGC -jar "$JAVA_JAR_PATH/FastqToSam.jar" SAMPLE_NAME="$3" READ_GROUP_NAME="$4" OUTPUT=$output ${*:5} - -if [ "$1" == "sam" ] -then - mv $2.sam $2 -fi diff -r e18ad84f747a -r bd86ab3d004c picard_FastqToSam.xml --- a/picard_FastqToSam.xml Mon Feb 24 17:27:59 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,154 +0,0 @@ - - creates an unaligned BAM or SAM file - picard - - - fastq2sam_wrapper.sh - "${outputtype}" - "${output_bam}" - "${sample_name}" - "${read_group_name}" - FASTQ="${input_fastq1}" - #if str( $input_fastq2) != "None": - FASTQ2="${input_fastq2}" - #end if - QUALITY_FORMAT="${ dict( fastqsanger='Standard', fastqcssanger='Standard', fastqillumina='Illumina', fastqsolexa='Solexa' )[ $input_fastq1.ext ] }" ##Solexa, Illumina, Standard - #if $param_type.param_type_selector == "advanced": - #if str( $param_type.library_name ) != "": - LIBRARY_NAME="${param_type.library_name}" - #end if - #if str( $param_type.platform_unit ) != "": - PLATFORM_UNIT="${param_type.platform_unit}" - #end if - #if str( $param_type.platform ) != "": - PLATFORM="${param_type.platform}" - #end if - #if str( $param_type.sequencing_center ) != "": - SEQUENCING_CENTER="${param_type.sequencing_center}" - #end if - #if str( $param_type.predicted_insert_size ) != "": - PREDICTED_INSERT_SIZE="${param_type.predicted_insert_size}" - #end if - #if str( $param_type.description.value ) != "": - DESCRIPTION="${param_type.description}" - #end if - #if str( $param_type.run_date ) != "": - RUN_DATE="${param_type.run_date}" - #end if - #if str( $param_type.min_q ) != "": - MIN_Q="${param_type.min_q}" - #end if - #if str( $param_type.max_q ) != "": - MAX_Q="${param_type.max_q}" - #end if - SORT_ORDER="${param_type.sort_order}" - #else: - SORT_ORDER=coordinate ##unsorted, queryname, coordinate; always use coordinate - #end if - 2>&1 - || echo "Error running Picard FastqToSAM" >&2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -**What it does** - -Picard: FastqToSam converts FASTQ files to unaligned BAM files. - ------- - -Please cite the website "http://picard.sourceforge.net". - ------- - - -**Input formats** - -FastqToSam accepts FASTQ input files (note: the Fastq-sanger file format does not work with this Picard tool). If using paired-end data, you should select two FASTQ files. - ------- - -**Outputs** - -The output is in BAM or in SAM format, see http://samtools.sourceforge.net for more details. - -------- - -**FastqToSam settings** - -This is list of FastqToSam options:: - - READ_GROUP_NAME=String Read group name Default value: A. This option can be set to 'null' to clear the default value. - SAMPLE_NAME=String Sample name to insert into the read group header Required. - LIBRARY_NAME=String The library name to place into the LB attribute in the read group header Default value: null. - PLATFORM_UNIT=String The platform unit (often run_barcode.lane) to insert into the read group header Default value: null. - PLATFORM=String The platform type (e.g. illumina, solid) to insert into the read group header Default value: null. - SEQUENCING_CENTER=String The sequencing center from which the data originated Default value: null. - PREDICTED_INSERT_SIZE=Integer Predicted median insert size, to insert into the read group header Default value: null. - DESCRIPTION=String Inserted into the read group header Default value: null. - -