### Install RNAEditingIndexer with configure.sh and make Source: https://github.com/a2iediting/rnaeditingindexer/blob/master/README.md Run these commands from the RNAEditingIndexer directory to configure the installation environment and build the tool. The configure.sh script tests required programs and aborts if any test fails except for bamUtils. Installation downloads built-in genomes and tables by default, requiring about 12G of disk space. ```bash #change working dir to the installtion dir cd ./RNAEditingIndexer #configure installtion environmental variables . ./configure.sh make ``` -------------------------------- ### Full Docker run command examples Source: https://github.com/a2iediting/rnaeditingindexer/blob/master/Docs/Docker.README.md Two complete examples of running the RNAEditingIndex tool inside a Docker container. Example 1 uses default resources; Example 2 adds a custom regions file with --rb. Both include user permissions and volume mounts. ```bash # Example 1: docker run \ -u $(id -u ${USER}):$(id -g ${USER})\ -v /the_path/to_your_bams:/data/some_dir_inside:ro -v /the_path/to_your_output_dir:/data/some_other_path:rw\ your_docker_rep_name/a_name_such_as_a2i_editing_index:a_tag RNAEditingIndex -d /data/some_dir_inside\ -l /the_path/to_your_output_dir/logs_dir -o /the_path/to_your_output_dir/cmpileups\ -os /the_path/to_your_output_dir/summary_dir\ --genome hg38 ``` ```bash # Example 2: docker run \ -u $(id -u ${USER}):$(id -g ${USER})\ -v /the_path/to_your_bams:/data/some_dir_inside:ro -v /a_path_to_resources:/data/my_resources\ -v /the_path/to_your_output_dir:/data/some_other_path:rw\ your_docker_rep_name/a_name_such_as_a2i_editing_index:a_tag RNAEditingIndex -d /data/some_dir_inside\ -l /the_path/to_your_output_dir/logs_dir -o /the_path/to_your_output_dir/cmpileups\ -os /the_path/to_your_output_dir/summary_dir\ --genome hg38 --rb /data/my_resources/my_custom_regions_file.bed.gz ``` -------------------------------- ### Volume mount example for Docker run Source: https://github.com/a2iediting/rnaeditingindexer/blob/master/Docs/Docker.README.md Add this to your Docker run command to bind local directories to container paths. Use 'ro' for read-only access and 'rw' for read/write (e.g., output directory). ```bash -v /the_path/to_your_bams:/data/some_dir_inside:ro -v /the_path/to_your_output_dir:/data/some_other_path:rw ``` -------------------------------- ### Run RNAEditingIndex test with sample BAM and annotations Source: https://github.com/a2iediting/rnaeditingindexer/blob/master/README.md Command-line invocation for a test run of RNAEditingIndex. It specifies input BAM, output directories, genome build, annotation files, and flags for verbose, stranded, and paired-end processing. Typical runtime is within 10 minutes, with reference results in /TestResources/CompareTo. ```bash <_InstallPath_>/RNAEditingIndex -d <_InstallPath_>/TestResources/BAMs -f _sampled_with_0.1.Aligned.sortedByCoord.out.bam.AluChr1Only.bam -l <_your wanted logs dir_> -o <_wanted cmpileup output dir_> -os <_wanted summery dir_> --genome hg38 -rb <_InstallPath_>/TestResources/AnnotationAndRegions/ucscHg38Alu.OnlyChr1.bed.gz --refseq <_InstallPath_>/TestResources/AnnotationAndRegions/ucscHg38RefSeqCurated.OnlyChr1.bed.gz --snps <_InstallPath_>/TestResources/AnnotationAndRegions/ucscHg38CommonGenomicSNPs150.OnlyChr1.bed.gz --genes_expression <_InstallPath_>/TestResources/AnnotationAndRegions/ucscHg38GTExGeneExpression.OnlyChr1.bed.gz --verbose --stranded --paired ``` -------------------------------- ### Run RNAEditingIndex with required parameters Source: https://github.com/a2iediting/rnaeditingindexer/blob/master/README.md Command-line invocation for a simple run. Replace placeholders with actual paths and use --genome to select a built-in genome. The program recursively searches the input BAM directory and creates flag files in the logging directory; delete flags for samples you want to re-run. ```bash _InstallPath_/RNAEditingIndex -d _BAMs diretory_ -f Aligned.sortedByCoord.out.bam. -l _logs directory_ -o _cmpileup output directory_ -os _summery files directory_ --genome hg38 ``` -------------------------------- ### Build the Docker image Source: https://github.com/a2iediting/rnaeditingindexer/blob/master/Docs/Docker.README.md Run this command from your Git directory to build the Docker image. It downloads dependencies and information tables (14G of data), which may take some time. Adjust the tag and repository name as needed. ```bash cd /your_git_dir # ***Note*** this will download the needed dependencies *AND* information tables (14G of data) # this may take some time. docker image build -t your_docker_rep_name/a_name_such_as_a2i_editing_index:a_tag . ``` -------------------------------- ### Set user permissions in Docker run Source: https://github.com/a2iediting/rnaeditingindexer/blob/master/Docs/Docker.README.md Add this to your Docker run command to run the container with your regular user permissions instead of root. Some operating systems may require adjustments. ```bash -u $(id -u ${USER}):$(id -g ${USER}) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.