# HG changeset patch # User devteam # Date 1393364236 18000 # Node ID 813fcb9201f14e1f6b7c51c06a31b7ddb9bf1a45 # Parent 069428662d9cdae8e88cbaf2e653135a24875d9c Deleted selected files diff -r 069428662d9c -r 813fcb9201f1 generic_outformat_wrapper.sh --- a/generic_outformat_wrapper.sh Tue Feb 25 01:11:18 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -#!/bin/bash -eval java -Xmx2G -jar $JAVA_JAR_PATH/$1.jar O=$2.$3 ${*:4} 2>&1 -mv $2.$3 $2 diff -r 069428662d9c -r 813fcb9201f1 picard_FilterSamReads.xml --- a/picard_FilterSamReads.xml Tue Feb 25 01:11:18 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,83 +0,0 @@ - -Produces a new SAM or BAM file by including or excluding aligned reads or a list of reads names supplied in the READ_LIST_FILE from the INPUT SAM or BAM file. -picard - - generic_outformat_wrapper.sh FilterSamReads $output1 $outformat - FILTER="${conditionfilter.Filter}" - #if str( $READ_LIST_FILE ): - READ_LIST_FILE="${READ_LIST_FILE}" - #end if - #if str( $SORT_ORDER ): - SORT_ORDER="${SORT_ORDER}" - #end if - #if str( $WRITE_READS_FILES ): - WRITE_READS_FILES="${WRITE_READS_FILES}" - #end if - #if str( $OUTPUT ): - OUTPUT="${OUTPUT}" - #end if - - VALIDATION_STRINGENCY=LENIENT - QUIET=True - TMP_DIR="${__new_file_path__}" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Picard documentation says: - - -FilterSamReads - -Produces a new SAM or BAM file by including or excluding aligned reads or a list of reads names supplied in the READ_LIST_FILE from the INPUT SAM or BAM file. - -Option Description -INPUT=File The SAM or BAM file that will be filtered. Required. -FILTER=Filter Filter. Required. Possible values: {includeAligned [OUTPUT SAM/BAM will contain aligned reads only. INPUT SAM/BAM must be in queryname SortOrder. (Note that *both* first and second of paired reads must be aligned to be included in the OUTPUT SAM or BAM)], excludeAligned [OUTPUT SAM/BAM will contain un-mapped reads only. INPUT SAM/BAM must be in queryname SortOrder. (Note that *both* first and second of pair must be aligned to be excluded from the OUTPUT SAM or BAM)], includeReadList [OUTPUT SAM/BAM will contain reads that are supplied in the READ_LIST_FILE file], excludeReadList [OUTPUT bam will contain reads that are *not* supplied in the READ_LIST_FILE file]} -READ_LIST_FILE=File Read List File containing reads that will be included or excluded from the OUTPUT SAM or BAM file. Default value: null. -SORT_ORDER=SortOrder SortOrder of the OUTPUT SAM or BAM file, otherwise use the SortOrder of the INPUT file. Default value: null. Possible values: {unsorted, queryname, coordinate} -WRITE_READS_FILES=Boolean Create .reads files (for debugging purposes) Default value: true. This option can be set to 'null' to clear the default value. Possible values: {true, false} -OUTPUT=File SAM or BAM file to write read excluded results to Required. - - - -