Light1992

Codice Allineamento FASTA corretto

Jul 12th, 2021
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. cd /home/genomica/DATA/GENOLICS/RUN/GENOLICS_R_Leccino_Confronti
  2. cp index* /home/genomica/DATA/GENOLICS/Sonde_FARGA
  3.  
  4. #Librerie da importare
  5. library(Rsubread)
  6.  
  7. ##Individuazione file da utilizzare per l'allineamento a Leccino
  8. fastqPath_R1 <- list.files("//home/genomica/DATA/GENOLICS/Sonde_FARGA", pattern="fasta$", full=TRUE)
  9.  
  10. ##Creazione dei .BAM di allineamento
  11. align(index="index", maxMismatches=1, readfile1=fastqPath_R1, input_format="FASTA", output_format="BAM")
  12.  
  13. samtools sort SondeFASTA.fasta.subread.BAM > SondeFASTA.sorted.BAM
  14. samtools index SondeFASTA.sorted.BAM
  15. bamCoverage -b SondeFASTA.sorted.BAM --normalizeUsing RPKM -o SondeFASTA.bw --verbose --numberOfProcessors max/2 --binSize 1
Advertisement
Add Comment
Please, Sign In to add comment