Loading...
Loading...
Compare original and translation side by side
uvuvuv.env.envNCBI_API_KEY.envENV_FILE.envprintf "Enter NCBI API key (typing hidden): " && read -s key && echo && echo "NCBI_API_KEY=$key" >> "ENV_FILE" && echo "Saved."dotenv.envcatgrepechoprintenvos.environ.getuvuvuv.env.envNCBI_API_KEYprintf "Enter NCBI API key (typing hidden): " && read -s key && echo && echo "NCBI_API_KEY=$key" >> "ENV_FILE" && echo "Saved."dotenv.envcatgrepechoprintenvos.environ.getNCBI_API_KEYNCBI_API_KEYfetch-proteinfetch-nucleotidecds-translatesearchelinkgene-proteinlocus-proteinpubmed-proteinspatent-searchorganism-lengthfetch-proteinfetch-nucleotidecds-translatesearchelinkgene-proteinlocus-proteinpubmed-proteinspatent-searchorganism-lengthscripts/ncbi_fetch.py--output FILEscripts/ncbi_fetch.py--output FILEuv run scripts/ncbi_fetch.py fetch-protein XP_022033624 -o /tmp/result.json
uv run scripts/ncbi_fetch.py fetch-protein NP_001234567 ABC12345.1uv run scripts/ncbi_fetch.py fetch-protein XP_022033624 -o /tmp/result.json
uv run scripts/ncbi_fetch.py fetch-protein NP_001234567 ABC12345.1uv run scripts/ncbi_fetch.py fetch-nucleotide MK034466 -o /tmp/result.jsonuv run scripts/ncbi_fetch.py fetch-nucleotide MK034466 -o /tmp/result.jsonfasta_cds_aauv run scripts/ncbi_fetch.py cds-translate MK034466 -o /tmp/result.json
uv run scripts/ncbi_fetch.py cds-translate HQ662330 --target-length 1043is_genomic: truefasta_cds_aauv run scripts/ncbi_fetch.py cds-translate MK034466 -o /tmp/result.json
uv run scripts/ncbi_fetch.py cds-translate HQ662330 --target-length 1043is_genomic: trueundefinedundefinedundefinedundefineduv run scripts/ncbi_fetch.py elink 24896089 --dbfrom pubmed --db protein \
--fetch-sequences -o /tmp/linked.jsonuv run scripts/ncbi_fetch.py elink 24896089 --dbfrom pubmed --db protein \
--fetch-sequences -o /tmp/linked.json[Gene Name][Organism]uv run scripts/ncbi_fetch.py gene-protein WRR4B --organism "Arabidopsis thaliana"
uv run scripts/ncbi_fetch.py gene-protein Pikh-2 --organism "Oryza sativa" \
--target-length 1043 -o /tmp/result.json[Gene Name][Organism]uv run scripts/ncbi_fetch.py gene-protein WRR4B --organism "Arabidopsis thaliana"
uv run scripts/ncbi_fetch.py gene-protein Pikh-2 --organism "Oryza sativa" \
--target-length 1043 -o /tmp/result.jsonuv run scripts/ncbi_fetch.py locus-protein At1g56540 --organism "Arabidopsis thaliana"
uv run scripts/ncbi_fetch.py locus-protein Niben101Scf02422g02015.1 \
--organism "Nicotiana benthamiana" -o /tmp/result.jsonuv run scripts/ncbi_fetch.py locus-protein At1g56540 --organism "Arabidopsis thaliana"
uv run scripts/ncbi_fetch.py locus-protein Niben101Scf02422g02015.1 \
--organism "Nicotiana benthamiana" -o /tmp/result.jsonuv run scripts/ncbi_fetch.py pubmed-proteins 30692254 --identifier WRR4B
uv run scripts/ncbi_fetch.py pubmed-proteins 24896089 --identifier "K2" \
-o /tmp/result.jsonuv run scripts/ncbi_fetch.py pubmed-proteins 30692254 --identifier WRR4B
uv run scripts/ncbi_fetch.py pubmed-proteins 24896089 --identifier "K2" \
-o /tmp/result.jsonbash uv run scripts/ncbi_fetch.py patent-search --patent-number US10123456 -o /tmp/patent.jsonpatent[Properties]bash uv run scripts/ncbi_fetch.py patent-search --keywords WRR4B Albugo --organism "Arabidopsis thaliana" -o /tmp/patent.json[!IMPORTANT] Patent convention: In molecular biology patents, SEQ ID NO: 1 is typically the DNA sequence and SEQ ID NO: 2 is the primary protein. Higher SEQ ID NOs are variants or related sequences. Prefer Sequence 2 when selecting the primary protein of interest.
uv run scripts/ncbi_fetch.py patent-search --patent-number US10123456 -o /tmp/patent.jsonpatent[Properties]uv run scripts/ncbi_fetch.py patent-search --keywords WRR4B Albugo --organism "Arabidopsis thaliana" -o /tmp/patent.json[!IMPORTANT] 专利惯例:在分子生物学专利中,SEQ ID NO:1通常是DNA序列,SEQ ID NO:2是主要蛋白质序列。编号更高的SEQ ID NO是变体或相关序列。选择目标主要蛋白质时优先考虑Sequence 2。
[SLEN]uv run scripts/ncbi_fetch.py organism-length \
--organism "Arabidopsis thaliana" --length 1048 --retmax 50 \
-o /tmp/result.json[!NOTE] This often returns multiple candidates. Use the JSON output headers to identify the correct protein.
[SLEN]uv run scripts/ncbi_fetch.py organism-length \
--organism "Arabidopsis thaliana" --length 1048 --retmax 50 \
-o /tmp/result.json[!NOTE] 此方法通常会返回多个候选结果。使用JSON输出的标题信息识别正确的蛋白质。
fetch-proteincds-translatepubmed-proteinslocus-proteingene-proteinpatent-searchorganism-lengthfetch-proteincds-translatepubmed-proteinslocus-proteingene-proteinpatent-searchorganism-lengthresultssequencelengthheadertarget_lengthresultssequencelengthheadertarget_lengthXP_NP_AAAAZZMKMNHQENSGENSTENSPensembl-databaseQPOuniprot-databaseXP_NP_AAAAZZMKMNHQENSGENSTENSPensembl-databaseQPOuniprot-database