The current GATK version is 3.7-0
Examples: Monday, today, last week, Mar 26, 3/26/04

#### Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

#### ☞ Did you remember to?

1. Search using the upper-right search box, e.g. using the error message.
3. Include tool and Java versions.
4. Tell us whether you are following GATK Best Practices.
5. Include relevant details, e.g. platform, DNA- or RNA-Seq, WES (+capture kit) or WGS (PCR-free or PCR+), paired- or single-end, read length, expected average coverage, somatic data, etc.
6. For tool errors, include the error stacktrace as well as the exact command.
7. For format issues, include the result of running ValidateSamFile for BAMs or ValidateVariants for VCFs.
8. For weird results, include an illustrative example, e.g. attach IGV screenshots according to Article#5484.
9. For a seeming variant that is uncalled, include results of following Article#1235.

#### ☞ Formatting tip!

Surround blocks of code, error messages and BAM/VCF snippets--especially content with hashes (#)--with lines with three backticks ( ` ) each to make a code block.
GATK 3.7 is here! Be sure to read the Version Highlights and optionally the full Release Notes.

# GATK 2.7.4 -> PrintReads -> MESSAGE: Argument with name 'ds' isn't defined

Member Posts: 2

Hello,

I ran PrintReads with option -ds and got the error message showed in the title. Looking into docs, I see that there are other options for downsampling under CommandLineGATK like downsample to coverage, downsample to fraction, downsampling type. Am I right to think that the previous option -ds is equivalent to -dfrac combined with -dt ALL_READS?

Best regards,
Jacek

Tagged:

Hi @Jacek,

The downsampling arguments are -dt, -dcov and -dfrac. There is no combined version. Where did you see a downsampling argument named -ds? If you saw it in a doc somewhere please let me know and I will fix that mistake.

Geraldine Van der Auwera, PhD

• Member Posts: 2

Hmm, I saw that on the PrintReads documentation web page but, strangely, can't find it right now. I'll get back if I notice it again.

Could you please, however, explain how to use -dt. I thought it might be combined with either -dcov or -dfrac.

• United KingdomMember Posts: 404 ✭✭✭

@Geraldine_VdAuwera --downsample_coverage / -ds also worked for me previously (2.4 or 2.5). I think @jacek might have seen it here: