Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request input: BLAST script for Mox #470

Closed
grace-ac opened this issue Nov 6, 2018 · 5 comments
Closed

Request input: BLAST script for Mox #470

grace-ac opened this issue Nov 6, 2018 · 5 comments
Labels

Comments

@grace-ac
Copy link
Contributor

grace-ac commented Nov 6, 2018

Script

#!/bin/bash
## Job Name
#SBATCH --job-name=20181106_Cbairdi_blast_01
## Allocation Definition 
#SBATCH --account=srlab
#SBATCH --partition=srlab
## Resources
## Nodes 
#SBATCH --nodes=1   
## Walltime (days-hours:minutes:seconds format)
#SBATCH --time=90:30:00
## Memory per node
#SBATCH --mem=500G
##turn on e-mail notification
#SBATCH --mail-type=ALL
#SBATCH --mail-user=graceac9@uw.edu
## Specify the working directory for this job
#SBATCH --workdir=/gscratch/srlab/graceac9/analyses

# Load Python Mox module for Python module availability

module load intel-python3_2017


/gscratch/srlab/programs/ \ #need to find where blast lives on mox
--blastn \
--query Trinity.fasta \ #OR do I have to rsync query.fa from owl/scaphapoda/grace/Crab-project/fasta_files/11012018_query_library01/query.fa
--db http://owl.fish.washington.edu/scaphapoda/grace/Crab-project/blastdb/uniprot_sprot \
--max_target_seqs 1 \
--outfmt 6 \
--num_threads 8 \
--out 1106-cbairdiblast-sprot.tab
--CPU 28
@sr320
Copy link
Member

sr320 commented Nov 6, 2018

https://d.pr/v/IEuCjx

@grace-ac
Copy link
Contributor Author

grace-ac commented Nov 6, 2018

changes made:
screen shot 2018-11-06 at 2 07 37 pm

@kubu4
Copy link
Contributor

kubu4 commented Nov 6, 2018

Double-check your path to the blastn program.

Also, check the blastn documentation (call blastn -h from the proper directory to get a quick help guide) for how to format your arguments (i.e. db, and query are arguments).

@grace-ac
Copy link
Contributor Author

grace-ac commented Nov 6, 2018

ah! correct path is : /gscratch/srlab/programs/ncbi-blast-2.6.0+/bin/blastn

@grace-ac grace-ac closed this as completed Nov 6, 2018
@grace-ac grace-ac reopened this Nov 7, 2018
@grace-ac
Copy link
Contributor Author

grace-ac commented Nov 7, 2018

job failed.

@grace-ac grace-ac closed this as completed Nov 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants