New to picard and trying to run HSmetrics on Ubuntu 12.0.4 using a BAM file. I am trying to get the predicted off-target reads. Thanks.
Unconfigured Ad
Collapse
X
-
How to use the command: http://picard.sourceforge.net/comman...ulateHsMetrics
Or is there an error that you have run into?
Provide specifics for relevant help.
-
picard HSmetrics
So to run the command:
trying to calculate the predicted off-target reads on the Bed file I converted to a BAM using Bedtools. Is this BAM aligned if not how do I align it. I have the hg19 fasta or is there a better way? Thanks.Code:CalculateHsMetrics TARGET_INTERVALS=epilepsy.bam
Comment
-
The .bam file is aligned, I think by definition. You can run the program with something like this:
java -jar Tools/picard-tools-1.92/CalculateHsMetrics.jar BI=target_regions.bed TI=target_regions.bed I=epilepsy.bam O=epilepsy.CalculateHSmetrics R=/pathTohg19/hg19.fa
Comment
-
picard
Do the three files need to be in a folder and where do I put this folder? Do I cd into a directory? The picard-tools is in /usr/bin, but in order to see it I have to run ls /usr/bin. Also, is there a command to find out the version of picard-tools that is installed? Thanks
Code:java -jar Tools/picard-tools-1.92/CalculateHsMetrics.jar BI=target_regions.bed TI=target_regions.bed I=epilepsy.bam O=epilepsy.CalculateHSmetrics R=/pathTohg19/hg19.fa
Comment
-
picard HSmetrics
Unable to access jarfile Tools/picard-tools-1.72/CalculateHsMetrics.jar. Thanks.Code:dnascopev@ubuntu:~/picardtools-1.72$ java -jar Tools/picard-tools-1.72/CalculateHsMetrics.jar BI=target_regions.bed TI=target_regions.bed I=epilepsy.bam O=epilepsy.CalculateHSmetrics R=/picardtools-1.72/hg19_fasta.txt
Comment
-
Don't use the code example posted by Heisman as is. It probably refers to a path that exists on Heisman's system. Do you actually have that directory on your machine?
I thought you had installed picard-tools from Ubuntu repository using "apt-get" yesterday.
Comment
-
Picard tools from Ubuntu is an older version (i.e. v. 1.48 I think).
Give this command a try:
If you get a file not found error then alternate version would be (assuming all these files are in the directory where you are running this command from)Code:$ picard-tools CalculateHsMetrics BI=target_regions.bed TI=target_regions.bed I=epilepsy.bam O=epilepsy.CalculateHSmetrics R=/picardtools-1.72/hg19_fasta.txt
Code:$ picard-tools CalculateHsMetrics BI=./target_regions.bed TI=./target_regions.bed I=./epilepsy.bam O=./epilepsy.CalculateHSmetrics R=/picardtools-1.72/hg19_fasta.txt
Comment
-
picard HSmetrics
Code:picard-tools CalculateHsMetrics BI=target_regions.bed TI=target_regions.bed I=epilepsy.bam O=epilepsy.CalculateHSmetrics R=/picardtools-1.72/hg19_fasta.txt
ERROR: Unrecognized option: RCode:picard-tools CalculateHsMetrics BI=./target_regions.bed TI=./target_regions.bed I=./epilepsy.bam O=./epilepsy.CalculateHSmetrics R=/picardtools-1.72/hg19_fasta.txt
all three files are in the same directory (picardtools-1.72) Thank you.
Comment
Latest Articles
Collapse
-
by SEQadmin2
Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?
Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating...-
Channel: Articles
10-14-2026, 09:55 AM -
-
by SEQadmin2
Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.
We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing...-
Channel: Articles
-
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, 10-15-2026, 10:52 AM
|
0 responses
17 views
0 reactions
|
Last Post
by SEQadmin2
10-15-2026, 10:52 AM
|
||
|
Started by SEQadmin2, 10-14-2026, 05:39 AM
|
0 responses
25 views
0 reactions
|
Last Post
by SEQadmin2
10-14-2026, 05:39 AM
|
||
|
Started by SEQadmin2, 10-13-2026, 09:56 AM
|
0 responses
22 views
0 reactions
|
Last Post
by SEQadmin2
10-13-2026, 09:56 AM
|
||
|
Started by SEQadmin2, 10-09-2026, 11:14 AM
|
0 responses
27 views
0 reactions
|
Last Post
by SEQadmin2
10-09-2026, 11:14 AM
|
Comment