Unconfigured Ad
Collapse
X
-
Your comment was very useful, but just for reference or for future readers, I believe you meant the following command to create a ref index:Originally posted by me_myself_andI View Post1. test if the reference index (refall/allRef.fa.fai in your case) exists and if it doesn't or if it's of size zero, recreate it with 'samtools index'.
samtools faidx refall/allRef.fa
Leave a comment:
-
Hi, Andreas
I would like to thank you for your very useful information here. I got my similar problem fixed according to your suggestions.
Actually, I have used the same dictionary for other commands of GATK successfully before. So, at first, i feel very confused why it can be used for some command but not others. Following your suggestion, I check my .dict and .fai files again, and i found their size is 0. Then i just deleted them. And type in my command. We donot need to use samtools or picard to generate these two files. The new version of GATK can generate itself. But i donot know why after running through a command, these two files turn to 0 size and we need to generate them again. That is weird. But my problem is solved. Thanks again!
Leave a comment:
-
I think you might have to create the dict file manually depending on the GATK version. I see this happening every now and then as well. The extra-complication is that if (my version of) GATK can't read the dict file it will also create an empty reference index file. What works for me is the following:
Before running GATK:
1. test if the reference index (refall/allRef.fa.fai in your case) exists and if it doesn't or if it's of size zero, recreate it with 'samtools faidx'.
2. Also test wether the reference dictionary exists (refall/allRef.fa.dict in your case) and if it doesn't or if it's of size zero recreate it with Picard's CreateSequenceDictionary.
Andreas
EDIT: As pointed out by dGho 'samtools index' was meant to be 'samtools faidx'Last edited by me_myself_andI; 01-23-2014, 05:35 PM. Reason: corrected mistake: use of wrong subcommand
Leave a comment:
-
Have you used that same reference dictionary for other commands with the GATK successfully?
Leave a comment:
-
GATK: Failed to load reference dictionary
Hi,
When I use DepthOfCoverage of GATK, the error is 'Failed to load reference dictionary' .
I can't get why.
My command as below:
$java -jar GenomeAnalysisTK.jar \ -T DepthOfCoverage \ -R refall/allRef.fa \ -I mapping/DNAnew.sorted.bam \ -o mapping/dcDNA.targetCoverage
ThanksTags: None
Latest Articles
Collapse
-
by SEQadmin2
When the Human Genome Project declared the human genome finished in 2003, portions of the sequence were still missing, including many of its most repetitive and structurally complex regions.1 Still, for the next two decades, researchers analyzed their sequencing data against the single linear reference that came out of this effort. Released in 2013 as GRCh38, that reference has powered countless discoveries, but it has gaps and cannot capture the genetic diversity of the world’s...-
Channel: Articles
11-24-2026, 07:04 AM -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, Yesterday, 11:10 AM
|
0 responses
12 views
0 reactions
|
Last Post
by SEQadmin2
Yesterday, 11:10 AM
|
||
|
Single-Nucleus Sequencing Links Type 2 Diabetes Risk Variants to Specific Muscle Cell Types
by SEQadmin2
Started by SEQadmin2, 12-01-2026, 11:06 AM
|
0 responses
21 views
0 reactions
|
Last Post
by SEQadmin2
12-01-2026, 11:06 AM
|
||
|
Started by SEQadmin2, 11-23-2026, 11:11 AM
|
0 responses
58 views
0 reactions
|
Last Post
by SEQadmin2
11-23-2026, 11:11 AM
|
||
|
Started by SEQadmin2, 11-17-2026, 06:27 AM
|
0 responses
55 views
0 reactions
|
Last Post
by SEQadmin2
11-17-2026, 06:27 AM
|
Leave a comment: