Skip to content
This repository has been archived by the owner on Jan 27, 2020. It is now read-only.

Create Ascat loci file for GRCh38 #357

Closed
malinlarsson opened this issue May 16, 2017 · 4 comments
Closed

Create Ascat loci file for GRCh38 #357

malinlarsson opened this issue May 16, 2017 · 4 comments

Comments

@malinlarsson
Copy link
Collaborator

I have started this but need to test it before uploading.

@malinlarsson malinlarsson self-assigned this May 16, 2017
@malinlarsson
Copy link
Collaborator Author

I have created a new loci file for Ascat in GRCh38 coordinates. I used liftOver at the UCSC genome browser to just convert the coordinates in the GRCh37 loci file. Most SNPs were successfully converted, about 6000 out of ~3200000 failed and that should not have a big impact on the Ascat results.
The new loci file for GRCh38 is temporarily stored in /sw/data/uppnex/ToolBox/ReferenceAssemblies/hg38make/bundle/2.8/1000G_phase3_GRCh38_maf0.3.loci
It would be great if someone with write permission to /sw/data/uppnex/ToolBox/hg38bundle could move it there. @marcelm could you move the file there?
Also perhaps it should be included in the web export @maxulysse? Could you do that?

I have updated the documentation about Ascat, but it has to be updated again when the loci file is in place in /sw/data/uppnex/ToolBox/hg38bundle.

@szilvajuhos
Copy link
Collaborator

@malinlarsson it is read-only, could you please make it chmod 644 at least please?

@malinlarsson
Copy link
Collaborator Author

Ascat as it is now (in /bin/ascat.r) doesn't work if the chromosome name has "chr" in it. The chromosomes are hard coded in this file to chrs = c(1:22,“X”,“Y”).
To use Ascat with the LogR and BAF files that are currently generated we need to remove the "chr" in chromsome names. Could be done like this:
sed 's/chr//g' idsamplenormal.BAF > idsamplenormal_new.BAF
sed 's/chr//g' idsamplenormal.LogR > idsamplenormal_new.LogR
sed 's/chr//g' idsampletumor.BAF > idsampletumor_new.BAF
sed 's/chr//g' idsampletumor.LogR > idsampletumor_new.LogR
and then feed in the new files to run_ascat.r

maxulysse added a commit that referenced this issue Oct 18, 2017
Fixing #357 also better speedseq filter for FreeBayes
@ewels
Copy link
Member

ewels commented Nov 23, 2017

This is now done! 🎉

@ewels ewels closed this as completed Nov 23, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants