From Genome Analysis Wiki
Jump to navigationJump to search
810 bytes added
, 18:28, 3 January 2014
Line 8: |
Line 8: |
| = Usage = | | = Usage = |
| | | |
| + | ./bam splitBam [-v] -i <inputBAMFile> -o <outPrefix> [-L logFile] |
| + | |
| + | |
| + | = Parameters = |
| <pre> | | <pre> |
− | Usage : ./bam splitBAM [-v] -i <inputBAMFile> -o <outPrefix> [-L logFile]
| + | Required arguments: |
| + | -i/--in [inputBAMFile] : Original BAM file containing readGroup info |
| + | -o/--out [outPrefix] : prefix of output bam files of [outprefix].[RGID].bam |
| + | Optional arguments: |
| + | -L/--log [logFile] : log file name. default is listFile.log |
| + | -v/--verbose : turn on verbose mode |
| + | -n/--noeof : turn off the check for an EOF block at the end of a bam file |
| </pre> | | </pre> |
| + | {{PhoneHomeParamDesc}} |
| + | |
| + | == Required Parameters == |
| + | {{InBAMInputFile}} |
| | | |
| + | === Output File Basename (<code>--out</code>) === |
| + | Use <code>--out</code> followed by the base output filename (no extension) to specify the BAM basename to use for the output files. |
| | | |
− | = Parameters = | + | The read group name and <code>.bam</code> will be appended to the specified basename. |
− | Required arguments:
| + | |
− | -i/--in [inputBAMFile] : Original BAM file containing readGroup info
| + | == Optional Parameters == |
− | -o/--out [outPrefix] : prefix of output bam files of [outprefix].[RGID].bam
| + | |
− | Optional arguments:
| + | === Specify Log Filename (<code>--log</code>) === |
− | -L/--log [logFile] : log file name. default is listFile.log
| + | Use <code>--log</code> followed by the log filename to specify the log filename. Default is the output file basename with a <code>.log</code> extension |
− | -v/--verbose : turn on verbose mode
| + | |
− | </pre>
| + | === Verbose (<code>--verbose</code>) === |
| + | Use <code>--verbose</code> to turn on verbose mode. |
| + | |
| + | {{noeofBGZFParameter}} |
| + | {{PhoneHomeParameters}} |
| + | |
| + | = Return Value = |
| + | * 0: Success. |
| + | * non-0: Failure. |
| | | |
− | [[Category:BamUtil|splitChromosome]] | + | [[Category:BamUtil|splitBam]] |
| [[Category:BAM Software]] | | [[Category:BAM Software]] |
| [[Category:Software]] | | [[Category:Software]] |