To make this program work, you need to create a folder that contains the following files:
- A reference genome file, in the format .fa
- A copy of the reference genome with the following format .fai
- A file in the format .bed that conatins information about Poly-A sites.
This program takes in 5 inputs.
-
The first parameter is the location of the reference Genome on the hard drive; which should be specfied as a string.
FOR Example:
"/home/reynaldo/Documents/hg19_ref_genome_nonrandom_sorted.fa" -
The second parameter is the location of the Poly-A sites file on the hard drive; which should be specified as a string.
Example:
"/home/reynaldo/Documents/GSM747470_human_brain.sites.clustered.hg19.bed" -
The third parameter is an integer that will represent how much bases you want to extract.
-
The forth parameter is the lenth of the polyA tail you would like to append. Note: If you don't want a polyA tail, you can make this parameter 0.
-
The fifth parameter is the name and location of the output file; which should be sprecified as a string.
Example:
"/home/reynaldo/Desktop/outputFileName"