Changes between Version 1 and Version 2 of PipelineCommands
- Timestamp:
- Jan 25, 2011 9:56:12 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PipelineCommands
v1 v2 35 35 java -jar -Xmx3g /tools/picard-tools-1.32/BuildBamIndex.jar \ INPUT=/output/filename.b37_1kg.sorted.bam \ OUTPUT=/output/filename.b37_1kg.sorted.bam.bai \ VALIDATION_STRINGENCY=LENIENT \ TMP_DIR=/local 36 36 }}} 37 '''L6. Calculate QC metrics on alignment using Picard''' (~3.5h )37 '''L6. Calculate QC metrics on alignment using Picard''' (~3.5h, excluding coverage - currently not working) 38 38 39 39 This Step is currently updated as: … … 55 55 java -jar -Xmx3g /tools/picard-tools-1.32/CalculateHsMetricsWholeGenome.jar \ INPUT=/output/filename.b37_1kg.sorted.bam \ OUTPUT=/output/filename.b37_1kg.HsMetrics \ BAIT_INTERVALS=/resources//hg19/intervals/GoNL.interval_list \ TARGET_INTERVALS=/resources//hg19/intervals/GoNL.interval_list \ VALIDATION_STRINGENCY=LENIENT \ TMP_DIR=/local 56 56 }}} 57 '''L7. Mark duplicates after alignment''' 57 '''L7. Mark duplicates after alignment''' (~2.5h) 58 58 59 59 {{{ 60 60 java -Xmx4g -jar /tools/picard-tools-1.32/MarkDuplicates.jar \ INPUT=/output/filename.b37_1kg.sorted.bam \ OUTPUT=/output/filename.b37_1kg.dedup.bam \ METRICS_FILE=/output/filename.b37_1kg.dedup.metrics \ REMOVE_DUPLICATES=false ASSUME_SORTED=true VALIDATION_STRINGENCY=LENIENT \ TMP_DIR=/local 61 61 }}} 62 '''L8. Realignment using knowns only''' 62 '''L8. Realignment using knowns only''' (~2.5h) 63 63 64 64 {{{ 65 65 java -Djava.io.tmpdir=/local -Xmx8g -jar \ /tools/Sting/dist/GenomeAnalysisTK.jar -l INFO -T IndelRealigner \ -U ALLOW_UNINDEXED_BAM -I /output/filename.b37_1kg.dedup.bam \ -targetIntervals /resources//hg19/intervals/realign_intervals_hg19_b37_1kg.intervals \ -R /resources//hg19/indices/b37_1kg.fa \ -D /resources//hg19/dbsnp/dbsnp_129_b37_b37_1kg.rod \ -[B:indels,VCF B:indels,VCF] /resources//hg19/indels/1kg.pilot_release.merged.indels.sites./hg19.b37_1kg.vcf \ -o /output/filename.b37_1kg.realigned.bam -knownsOnly -LOD 0.4 -compress 0 66 66 }}} 67 '''L9. Fix mates after realignment''' 67 '''L9. Fix mates after realignment''' (~2h) 68 68 69 69 {{{ 70 70 java -jar -Xmx6g /tools/picard-tools-1.32/FixMateInformation.jar \ INPUT=/output/filename.b37_1kg.realigned.bam \ OUTPUT=/output/filename.b37_1kg.matefixed.bam \ SORT_ORDER=coordinate VALIDATION_STRINGENCY=SILENT TMP_DIR=/local 71 71 }}} 72 '''L10. Calculate covariates before realignment ''' 72 '''L10. Calculate covariates before realignment ''' (~12h - Note that this should be improved using more cores. In test at the moment) 73 73 74 74 {{{ 75 75 java -jar -Xmx2g /tools/Sting/dist/GenomeAnalysisTK.jar -l INFO \ -T CountCovariates -U ALLOW_UNINDEXED_BAM \ -R /resources//hg19/indices/b37_1kg.fa \ --DBSNP /resources//hg19/dbsnp/dbsnp_129_b37_b37_1kg.rod \ -I /output/filename.b37_1kg.matefixed.bam \ -cov ReadGroupcovariate -cov QualityScoreCovariate -cov CycleCovariate -cov DinucCovariate \ -recalFile /output/filename.b37_1kg.matefixed.covariate_table.csv 76 76 }}} 77 '''L11. Recalibrate mate fixed and realigned alignment''' 77 '''L11. Recalibrate mate fixed and realigned alignment''' (~5h) 78 78 79 79 {{{ 80 80 java -jar -Xmx4g /tools/Sting/dist/GenomeAnalysisTK.jar -l INFO \ -T TableRecalibration -U ALLOW_UNINDEXED_BAM \ -R /resources//hg19/indices/b37_1kg.fa -I /output/filename.b37_1kg.matefixed.bam \ --recal_file /output/filename.b37_1kg.matefixed.covariate_table.csv \ --out /output/filename.b37_1kg.recal.bam 81 81 }}} 82 '''L12. Sort and index recalibrated alignment''' 82 '''L12. Sort and index recalibrated alignment''' (~5h) 83 83 84 84 {{{ … … 87 87 java -jar -Xmx3g /tools/picard-tools-1.32/BuildBamIndex.jar \ INPUT=/output/filename.b37_1kg.recal.sorted.bam \ OUTPUT=/output/filename.b37_1kg.recal.sorted.bam.bai \ VALIDATION_STRINGENCY=LENIENT \ TMP_DIR=/local 88 88 }}} 89 '''L13. Calculate covariates after realignment and recalibration''' 89 '''L13. Calculate covariates after realignment and recalibration''' (~12h Note that this should be improved using more cores. In test at the moment) 90 90 91 91 {{{ 92 92 java -jar -Xmx2g /tools/Sting/dist/GenomeAnalysisTK.jar -l INFO \ -T CountCovariates -U ALLOW_UNINDEXED_BAM \ -R /resources//hg19/indices/b37_1kg.fa \ --DBSNP /resources//hg19/dbsnp/dbsnp_129_b37_b37_1kg.rod \ -I /output/filename.b37_1kg.recal.sorted.bam \ -cov ReadGroupcovariate -cov QualityScoreCovariate -cov CycleCovariate -cov DinucCovariate \ -recalFile /output/filename.b37_1kg.recal.covariate_table.csv 93 93 }}} 94 '''L14. Analyze covariates before and after''' 94 '''L14. Analyze covariates before and after''' (Currently not working) 95 95 96 96 {{{