Entering edit mode
19 months ago
bestone
▴
30
Hello guys, I try to download gatk4 to my Mac but I couldn't download it. it gives this error:
conda env create -n gatk4 -f gatkcondaenv.yml
Collecting package metadata (repodata.json): failed
UnavailableInvalidChannel: HTTP 404 NOT FOUND for channel biconda <https://conda.anaconda.org/biconda>
The channel is not accessible or is invalid.
You will need to adjust your conda configuration to proceed.
Use `conda config --show channels` to view your configuration's current state,
and use `conda config --show-sources` to view config file locations
Could you pls help me with this issue?
bioconda
, notbiconda
hello thank you for your reply. I run this code:
I am still getting this error. I couldn't figure it out
Have you tried to run the two commands
conda
is suggesting. See what you get withconda config --show channels
. Looks like the wordbiconda
may still be in your.condarc
file that will need to be taken out.When I run gatk on terminal it gives this code is it work?
Yes it is working. You will need to run something like
gatk --help
to actually see useful in-line help,Thank you so much for helping. I tried to run. I got this error. Could you pls help me with that too:( I am sorry i asked so many questions but I have to figure it out.
gatk --java-options "-Xmx4g" HaplotypeCaller \ -R one_chromosome.fasta \ -I input.bam \ -O output.vcf Using GATK jar /Users/uguremre/opt/anaconda3/envs/gatk/share/gatk4-4.4.0.0-0/gatk-package-4.4.0.0-local.jar Running: java -Dsamjdk.use_async_io_read_samtools=false -Dsamjdk.use_async_io_write_samtools=true -Dsamjdk.use_async_io_write_tribble=false -Dsamjdk.compression_level=2 -Xmx4g -jar /Users/uguremre/opt/anaconda3/envs/gatk/share/gatk4-4.4.0.0-0/gatk-package-4.4.0.0-local.jar HaplotypeCaller -R one_chromosome.fasta -I input.bam -O output.vcf 19:10:35.064 INFO NativeLibraryLoader - Loading libgkl_compression.dylib from jar:file:/Users/uguremre/opt/anaconda3/envs/gatk/share/gatk4-4.4.0.0-0/gatk-package-4.4.0.0-local.jar!/com/intel/gkl/native/libgkl_compression.dylib 19:10:35.639 INFO HaplotypeCaller - ------------------------------------------------------------ 19:10:35.643 INFO HaplotypeCaller - The Genome Analysis Toolkit (GATK) v4.4.0.0 19:10:35.643 INFO HaplotypeCaller - For support and documentation go to https://software.broadinstitute.org/gatk/ 19:10:35.643 INFO HaplotypeCaller - Executing as uguremre@Macs-MacBook-Pro.local on Mac OS X v13.2.1 x86_64 19:10:35.643 INFO HaplotypeCaller - Java runtime: OpenJDK 64-Bit Server VM v17.0.3+7-LTS 19:10:35.643 INFO HaplotypeCaller - Start Date/Time: April 14, 2023 at 7:10:35 PM TRT 19:10:35.644 INFO HaplotypeCaller - ------------------------------------------------------------ 19:10:35.644 INFO HaplotypeCaller - ------------------------------------------------------------ 19:10:35.644 INFO HaplotypeCaller - HTSJDK Version: 3.0.5 19:10:35.644 INFO HaplotypeCaller - Picard Version: 3.0.0 19:10:35.645 INFO HaplotypeCaller - Built for Spark Version: 3.3.1 19:10:35.645 INFO HaplotypeCaller - HTSJDK Defaults.COMPRESSION_LEVEL : 2 19:10:35.645 INFO HaplotypeCaller - HTSJDK Defaults.USE_ASYNC_IO_READ_FOR_SAMTOOLS : false 19:10:35.645 INFO HaplotypeCaller - HTSJDK Defaults.USE_ASYNC_IO_WRITE_FOR_SAMTOOLS : true 19:10:35.646 INFO HaplotypeCaller - HTSJDK Defaults.USE_ASYNC_IO_WRITE_FOR_TRIBBLE : false 19:10:35.646 INFO HaplotypeCaller - Deflater: IntelDeflater 19:10:35.646 INFO HaplotypeCaller - Inflater: IntelInflater 19:10:35.647 INFO HaplotypeCaller - GCS max retries/reopens: 20 19:10:35.647 INFO HaplotypeCaller - Requester pays: disabled 19:10:35.647 INFO HaplotypeCaller - Initializing engine 19:10:35.651 INFO HaplotypeCaller - Shutting down engine [April 14, 2023 at 7:10:35 PM TRT] org.broadinstitute.hellbender.tools.walkers.haplotypecaller.HaplotypeCaller done. Elapsed time: 0.01 minutes. Runtime.totalMemory()=104857600
A USER ERROR has occurred: Fasta index file file:///Users/uguremre/gatk-4.4.0.0/one_chromosome.fasta.fai for reference file:///Users/uguremre/gatk-4.4.0.0/one_chromosome.fasta does not exist. Please see http://gatkforums.broadinstitute.org/discussion/1601/how-can-i-prepare-a-fasta-file-to-use-as-reference for help creating it.
Set the system property GATK_STACKTRACE_ON_USER_EXCEPTION (--java-options '-DGATK_STACKTRACE_ON_USER_EXCEPTION=true') to print the stack trace.