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!

Get notifications!


You can opt in to receive email notifications, for example when your questions get answered or when there are new announcements, by following the instructions given here.

Did you remember to?


1. Search using the upper-right search box, e.g. using the error message.
2. Try the latest version of tools.
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.

Did we ask for a bug report?


Then follow instructions in Article#1894.

Formatting tip!


Wrap blocks of code, error messages and BAM/VCF snippets--especially content with hashes (#)--with lines with three backticks ( ``` ) each to make a code block as demonstrated here.

Jump to another community
Picard 2.9.4 is now available. Download and read release notes here.
GATK 3.7 is here! Be sure to read the Version Highlights and optionally the full Release Notes.

Picard SamFormatConverter failed to load ngs-sdk library

SvyatoslavSidorovSvyatoslavSidorov St. Petersburg, RussiaMember

Dear GATK team,

Recently I had to use Picard SamFormatConverter on a server that has to Interner connection. The utility did produce some BAM file out of my SAM input, but at the very beginning it threw an exception:

picard.sam.SamFormatConverter INPUT=/dev/stdin OUTPUT=/home/ssidorov/precisionfda/bam/NA12878-Garv an-Vial1_R1/NA12878-Garvan-Vial1_R1_L5_pe.bam VALIDATION_STRINGENCY=LENIENT VERBOSITY=INFO QUIET=false COMPRESSION_LEVEL=5 MAX _RECORDS_IN_RAM=500000 CREATE_INDEX=false CREATE_MD5_FILE=false GA4GH_CLIENT_SECRETS=client_secrets.json java.net.UnknownHostException: trace.ncbi.nlm.nih.gov java.net.UnknownHostException: trace.ncbi.nlm.nih.gov java.net.UnknownHostException: trace.ncbi.nlm.nih.gov Failed to load ngs-sdk library java.net.UnknownHostException: trace.ncbi.nlm.nih.gov java.net.UnknownHostException: trace.ncbi.nlm.nih.gov Cannot download library: -2 Failed to download ngs-sdk from NCBI

Apparently, it tried to download this library but failed due to the lack of the Internet connection. Then it proceeded with the conversion and finished as usual:

INFO 2016-04-21 18:02:09 SRAAccession SRA is not supported. Will not be able to read from SRA INFO 2016-04-21 18:02:37 SamFormatConverter Processed 1,000,000 records. Elapsed time: 00:00:27s. Time for last 1,000,000: 27s. Last read position: chr9:81,401,810 INFO 2016-04-21 18:03:03 SamFormatConverter Processed 2,000,000 records. Elapsed time: 00:00:53s. Time for last 1,000,000: 26s. Last read position: chr4:186,653,252 [...] INFO 2016-04-22 00:49:51 SamFormatConverter Processed 906,000,000 records. Elapsed time: 06:47:41s. Time for last 1,000,000: 26s. Last read position: chr21:45,276,622 [Fri Apr 22 00:49:54 MSK 2016] picard.sam.SamFormatConverter done. Elapsed time: 410.09 minutes. Runtime.totalMemory()=1512570880

Does this expection mean that the whole conversion went wrong, or actually it didn't influece the conversion process?

Best Answer

Answers

Sign In or Register to comment.