https://github.com/supermaxiste/remappingassemblies
We would like to improve our assemblies by mapping them to another (almost) chromosome-level assembly.
https://github.com/supermaxiste/remappingassemblies
Last synced: about 2 months ago
JSON representation
We would like to improve our assemblies by mapping them to another (almost) chromosome-level assembly.
- Host: GitHub
- URL: https://github.com/supermaxiste/remappingassemblies
- Owner: supermaxiste
- Created: 2020-07-29T12:32:12.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-02T07:41:31.000Z (about 4 years ago)
- Last Synced: 2025-02-10T06:12:14.794Z (3 months ago)
- Language: Shell
- Size: 51.7 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Improving our assemblies
Since a couple of years, many shortcomings of our assemblies became clearer. Once of the biggest issues concerns spatial information, mainly caused by the huge number of scaffolds and no idea about their actual position along chromosomes. Because of that we'll try to use a chromosome-level assembly to reorder our assemblies accordingly. Given that we have no clue about accuracy, we will try three different mappers: `minimap2`, `mummer` and `lastal`.
# Before starting
1) Unzip JGI assembly with `gzip -d assemblies/Alyrata_384_v1_only1-8.fa.gz`
2) Add _A. halleri_ and _A. lyrata_ assemblies in `assemblies` folder. You can download them [here](https://www.ebi.ac.uk/ena/browser/view/GCA_900205625.1) and [here](https://www.ebi.ac.uk/ena/browser/view/GCA_900078215.1). Please rename the two assemblies to `Ahal_v2_2.fa` and `Alyr_v2_2.fa`. If you prefer other names, please modify all scripts in `scripts/` accordingly
3) Install [Conda or miniconda3](https://docs.conda.io/projects/conda/en/latest/user-guide/install/) and run `conda create env -f envs/mappers.yaml -n mappers` to create a Conda environment with (almost) everything we need.
4) Clone the `RagTag` github repository: `git clone https://github.com/malonge/RagTag.git`
5) Activate `mappers` via `conda activate mappers` and install `RagTag` via `python setup.py install` (within the `RagTag` folder)# To start
First activate `mappers` (if you didn't already) via `conda activate mappers`, then to run all analyses please stay on the `RemappingAssemblies/` folder and use:
```
sh scripts/minimap.sh
sh scripts/mummer.sh
sh scripts/lastal.sh
```
# ResultsIn the `results` folder, for each method and each assembly, there is a `txt` file with different scores for each contig of our assembly. Another `agp` file provides information about the inferred location in the JGI assembly.