Running and Verifying PASA
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to add the GMAP environment variable:
export PATH=/path/to/GMAP/Install/bin:$PATH
- Run the following commands to modify the configuration file:
- Open the configuration file.
cp /path/to/PASA/PASApipeline-pasa-v2.4.1/pasa_conf/pasa.CONFIG.template /path/to/PASA/PASApipeline-pasa-v2.4.1/pasa_conf/conf.txt vim /path/to/PASA/PASApipeline-pasa-v2.4.1/pasa_conf/conf.txt
- Press i to enter the insert mode and modify the file as follows:
MYSQLSERVER=localhost MYSQL_RO_USER=test MYSQL_RO_PASSWORD=123456 MYSQL_RW_USER=pasa MYSQL_RW_PASSWORD=123456
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open the configuration file.
- Run the following command to go to the directory where the test case is stored:
cd /path/to/PASA/PASApipeline-pasa-v2.4.1/sample_data
- Run the following commands to modify the configuration file:
cp /path/to/PASA/PASApipeline-pasa-v2.4.1/pasa_conf/pasa.alignAssembly.Template.txt alignAssembly.config vi alignAssembly.config DATABASE=sample_data
Enter :wq! to save the change and exit.
- Run the following commands to run the test case:
gzip -d genome_sample.fasta.gz { time Launch_PASA_pipeline.pl -c alignAssembly.config -C -R -g genome_sample.fasta -t all_transcripts.fasta.clean -T -u all_transcripts.fasta -f FL_accs.txt --ALIGNERS blat,gmap --CPU 96; } 2>&1 |tee PASA.logView the PASA.log file. If Finished is recorded in the log file, the PASA process ends properly.
Figure 1 shows an example of the running result.
Parent topic: PASA 2.4.1 Porting Guide (CentOS 7.6)
