-
Notifications
You must be signed in to change notification settings - Fork 1
4. Creation of Mapping Targets
George Pacheco edited this page Oct 16, 2022
·
1 revision
We created several
.bed
files aiming to look at our data in different ways:
$SCRIPTS/appz/p5-bpwrapper/bin/bioseq --restrict-coord EcoT22I ~/data/Pigeons/Reference/DanishTumbler_Dovetail_ReRun.fasta > ~/data/Pigeons/Reference/PBGP_FinalRun.EcoT22I.bed
awk 'BEGIN{cnt=0;OFS="\t"} {print $1,$2,$2,"RS_FPGP_"cnt"p\t0\t+";print $1,$3,$3,"RS_FPGP_"cnt++"m\t0\t-"}' ~/data/Pigeons/Reference/PBGP_FinalRun.EcoT22I.bed | slopBed -s -l 0 -r 91 -g ~/data/Pigeons/Reference/DanishTumbler_Dovetail_ReRun.fasta.fai | sortBed > ~/data/Pigeons/Reference/PBGP_FinalRun.EcoT22I_Extended.bed
Further modifies the .bed
file created above so it can be used when calculating coverage taking into account overlapping regions:
bedtools merge -i ~/data/Pigeons/Reference/PBGP_FinalRun.EcoT22I_Extended.bed -c 4 -o distinct > ~/data/Pigeons/Reference/PBGP_FinalRun.EcoT22I_Extended_Merged.bed
awk '{print $1"\t"($2+1)"\t"$3}' ~/data/Pigeons/Reference/PBGP_FinalRun.EcoT22I_Extended_Merged.bed > ~/data/Pigeons/Reference/PBGP_FinalRun.EcoT22I_Extended_Merged.pos
cat ~/data/Pigeons/Reference/PBGP_FinalRun.EcoT22I_Extended_Merged.pos | awk '{sum+=($3-$2)*100/1111661097} END {print sum"%"}'
- 1. Data Access
- 2. Sequencing Quality Check
- 3. Demultiplexing
- 4. Creation of Mapping Targets
- 5. Filtering For Chimeric Reads
- 6. GBS Sexing
- 7. Read Processing & Mapping
- 8. Running Stats & Filtering of Bad Samples
- 9. Filtering of Possible Paralogs
- 10. Merging of Duplicate Cases
- 11. Investigation of Filtering of Possible Paralogs
- 12. Creation of Specific Datasets
- 13. Loci Information
- 14. Heterozygosity Calculation
- 15. Population Genetics Statistics
- 16. Phylogenetic Reconstruction
- 17. Multidimensional Scaling
- 18. Estimation of Individual Ancestries
- 19. Inference of Population Splits
- 20. Measuring of Linkage Disequilibrium
- 21. GWAS