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

Where could I find extract_fasta? #1

Open
LorenaDerezanin opened this issue May 15, 2018 · 3 comments
Open

Where could I find extract_fasta? #1

LorenaDerezanin opened this issue May 15, 2018 · 3 comments

Comments

@LorenaDerezanin
Copy link

LorenaDerezanin commented May 15, 2018

Hello Lex,
I'm adjusting your Gene_mining.slurm script from S19_genome_mining_and_gene_identification/scripts
to mine mammal immune genes but I got stuck at the extract_fasta step.
I assume this command merges all the unitig reads(containing predicted ORFs) with the same prefix in the file name, but I was wondering how it merges unitig IDs.
Is extract_fasta a part of some particular package or you maybe have it stuck somewhere?
I would appreciate a lot if you could share that piece of code.

Thank you!
Lorena

@lexnederbragt
Copy link
Member

I hope @mmatschiner can answer this one...

@mmatschiner
Copy link
Collaborator

No, but @martinmalmstrom might?

@LorenaDerezanin
Copy link
Author

LorenaDerezanin commented May 30, 2018

Hi again gents,

it seems it's been awhile since you've been working on this script :D
so I wanted to suggest a somewhat easier solution if you don't mind,
and that is to please send me an example of the output file in the following step if possible:

    for f in ORFs/*; do \
	    extract_fasta $f \
	    >> ${f%_splitted_utg_reads_???}"_merged_ORFs" \
	    ; done
    cd ORFs
    mkdir ORFs_FASTA
    mv *_ORFs ORFs_FASTA
    echo "6) Utg-ORFs predicted and parsed" \
	   >> ~/Progressreports_2015/Progress_$FISH

so I could perhaps reconstruct the extract_fasta command and write it on my own based on one of the output files with the "_merged_ORFs" suffix.

Thank you for your effort!
Lorena

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants