Skip to content

AnnotSV BioConda Environment: Reference Issues For GRCh38 #255

@yr542

Description

@yr542

I used the commands to create a reference for AnnotSV:

wget http://ftp.ensembl.org/pub/release-
111/gtf/homo_sapiens/Homo_sapiens.GRCh38.111.chr.gtf.gz
wget http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/gtfToGenePred
chmod +x gtfToGenePred
gunzip Homo_sapiens.GRCh38.111.chr.gtf.gz
./gtfToGenePred -genePredExt -geneNameAsName2 -includeVersion \
Homo_sapiens.GRCh38.111.chr.gtf refGene.txt
for i in 1 10 11 12 13 14 15 16 17 18 19 2 20 21 22 3 4 5 6 7 8 9 M MT X Y;do \
awk -v chr=$i '$2 ==chr {print
$2"\t"$4"\t"$5"\t"$3"\t"$12"\t"$1"\t"$6"\t"$7"\t"$9"\t"$10}' \
refGene.txt | sed 's/^MT/M/' | sort -k1,1 -k2,2n -k3,3n >>
refGene.sorted.tmp.tmp.bed; done
grep -v "none" refGene.sorted.tmp.tmp.bed > refGene.sorted.tmp.bed
rm gtfToGenePred Homo_sapiens.GRCh38.111.chr.gtf refGene.txt
refGene.sorted.tmp.tmp.bedhttp://ftp.ensembl.org/pub/release-111/gtf/homo_sapiens/Homo_sapiens.GRCh38.111.chr.gtf.gzhttp://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/gtfToGenePred

but AnnotSV would not accept it saying:

...checking the annotation data sources (September 05 2024 - 13:23)
############################################################################
"" file doesn't exist
Please check your install - Exit with error.
############################################################################

My commands for AnnotSV in both cases:

AnnotSV -SVinputFile "path/to/my/vcf/file" \
        -outputDir "/full/path/to/my/output/directory" \
        -genomeBuild GRCh38 \
        -annotationsDir "/the/full/path/to/my/reference/directory"

I also tried the work around using INSTALL_annotations.shbut I do not believe the annotations are for Ensembl?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions