Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
extract_uniprot_XML
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Karen DRUART
extract_uniprot_XML
Commits
cb33d6ec
Commit
cb33d6ec
authored
3 years ago
by
Karen DRUART
Browse files
Options
Downloads
Patches
Plain Diff
changing the header
parent
503d527a
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
extract_XML_subset.py
+2
-1
2 additions, 1 deletion
extract_XML_subset.py
with
2 additions
and
1 deletion
extract_XML_subset.py
+
2
−
1
View file @
cb33d6ec
#!/usr/bin/python3
#!/usr/bin/python3
# extract XML sequences from a subset fasta file
# extract XML sequences from a subset fasta file
# usage python3 ./extract_XML_subset.py file.fasta file.XML subset.XML
# usage from a fasta file ./extract_XML_subset.py -x ../Milk/uniprot-proteome_UP000009136.xml -f All-Accessions.fasta -o output
# usage from a list of accession ./extract_XML_subset.py -x ../Milk/uniprot-proteome_UP000009136.xml -l All-Accessions.txt -o output
# created Jan 22; KD
# created Jan 22; KD
import
re
import
re
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment